CVE-2025-21884
published high CVSS 3.1 · 7.8net: better track kernel sockets lifetime
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0cafd77dcd032d1687efaba5598cf07bce85997f to < 2668e038800b946d269f96ec1b258c01930a242c · 0cafd77dcd032d1687efaba5598cf07bce85997f to < 4ceb0bd4ffd009821b585ce6a8033b12b59fb5fb · 0cafd77dcd032d1687efaba5598cf07bce85997f to < c31a732fac46b00b95b78fcc9c37cb48dd6f2e0c · 0cafd77dcd032d1687efaba5598cf07bce85997f to < 5c70eb5c593d64d93b178905da215a9fd288a4b5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.43 through 6.12.* (unaffected · semver) · 6.13.6 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-984 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-994 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: net: better track kernel sockets lifetime While kernel sockets are dismantled during pernet_operations->exit(), their freeing can be delayed by any tx packets still held in qdisc or device queues, due to skb_set_owner_w() prior calls. This then trigger the following warning from ref_tracker_dir_exit() [1] To fix this, make sure that kernel sockets own a reference on net->passive. Add sk_net_refcnt_upgrade() helper, used whenever a kernel socket is converted to a refcounted one. [1] [ 136.263918][ T35] ref_tracker: net notrefcnt@ffff8880638f01e0 has 1/2 users at [ 136.263918][ T35] sk_alloc+0x2b3/0x370 [ 136.263918][ T35] inet6_create+0x6ce/0x10f0 [ 136.263918][ T35] __sock_create+0x4c0/0xa30 [ 136.263918][ T35] inet_ctl_sock_create+0xc2/0x250 [ 136.263918][ T35] igmp6_net_init+0x39/0x390 [ 136.263918][ T35] ops_init+0x31e/0x590 [ 136.263918][ T35] setup_net+0x287/0x9e0 [ 136.263918][ T35] copy_net_ns+0x33f/0x570 [ 136.263918][ T35] create_new_namespaces+0x425/0x7b0 [ 136.263918][ T35] unshare_nsproxy_namespaces+0x124/0x180 [ 136.263918][ T35] ksys_unshare+0x57d/0xa70 [ 136.263918][ T35] __x64_sys_unshare+0x38/0x40 [ 136.263918][ T35] do_syscall_64+0xf3/0x230 [ 136.263918][ T35] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 136.263918][ T35] [ 136.343488][ T35] ref_tracker: net notrefcnt@ffff8880638f01e0 has 1/2 users at [ 136.343488][ T35] sk_alloc+0x2b3/0x370 [ 136.343488][ T35] inet6_create+0x6ce/0x10f0 [ 136.343488][ T35] __sock_create+0x4c0/0xa30 [ 136.343488][ T35] inet_ctl_sock_create+0xc2/0x250 [ 136.343488][ T35] ndisc_net_init+0xa7/0x2b0 [ 136.343488][ T35] ops_init+0x31e/0x590 [ 136.343488][ T35] setup_net+0x287/0x9e0 [ 136.343488][ T35] copy_net_ns+0x33f/0x570 [ 136.343488][ T35] create_new_namespaces+0x425/0x7b0 [ 136.343488][ T35] unshare_nsproxy_namespaces+0x124/0x180 [ 136.343488][ T35] ksys_unshare+0x57d/0xa70 [ 136.343488][ T35] __x64_sys_unshare+0x38/0x40 [ 136.343488][ T35] do_syscall_64+0xf3/0x230 [ 136.343488][ T35] entry_SYSCALL_64_after_hwframe+0x77/0x7f
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is triggered entirely through local syscalls — `unshare(CLONE_NEWUSER|CLONE_NEWNET)` to create the netns, netlink/rtnetlink to add a device and a delaying qdisc, then namespace exit to run `cleanup_net()`; the syzbot traces show the path rooted at `__x64_sys_unshare`. No remote peer input is required or sufficient to reach it. AC:L - The attacker controls both halves of the window: they configure the device/qdisc that holds the kernel socket's TX skb (e.g. netem delay) and they choose exactly when to destroy the namespace, so the socket reliably outlives `net_passive_dec()`; the syzkaller reproducer hit it repeatably. Namespace churn also lets the attacker groom the freed `net_cachep` object before the deferred `__sk_destruct()` runs. PR:L - An unprivileged local account can create the network namespace and its per-netns kernel sockets via unprivileged user namespaces (`unshare -Urn`), which is enabled by default on mainstream distributions and Android. CAP_NET_ADMIN inside the new netns — granted automatically — is enough to add the device and qdisc needed to delay the kernel socket's skbs. UI:N - The attacking process performs every step itself: create the namespace, configure the delaying queue, trigger MLD/NDISC transmission, and exit. No victim action or cooperating process is needed. S:U - The freed `struct net`/`net->gen` slab objects and the sockets that dereference them all live in the kernel's own security authority. No hypervisor, IOMMU, or sandbox boundary is crossed, so this is standard in-kernel corruption. C:H - The kernel socket retains a completely unreferenced `struct net *`, so after `net_passive_dec()` frees `net->gen` and returns the `struct net` to `net_cachep`, subsequent `sock_net(sk)` dereferences read reallocated slab contents — the same class of defect that produced a KASAN slab-use-after-free read in the companion commit `65161fb544aa`. A use-after-free on a long-lived, attacker-groomable object yields an information-disclosure primitive. I:H - `__sk_destruct()` performs `__netns_tracker_free(sock_net(sk), &sk->ns_tracker, false)` on the dangling pointer, driving `ref_tracker_free()`'s list unlink and counter updates into the freed-and-reallocated `struct net`, which is a write into attacker-groomed memory. Reallocating the freed slot with a fresh namespace also lets the stale socket operate on the wrong `struct net`, corrupting per-netns state and enabling escalation to control-flow hijack. A:H - Use-after-free of `struct net` and its freed `net->gen` array produces oopses and panics even when not weaponized, and the pre-fix condition additionally trips `ref_tracker_dir_exit()`'s WARN with `CONFIG_NET_NS_REFCNT_TRACKER=y` (fatal under `panic_on_warn`). The sequence can be repeated in a loop by an unprivileged user until the box crashes.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0cafd77dcd032d1687efaba5598cf07bce85997f to < 2668e038800b946d269f96ec1b258c01930a242c (affected · git)0cafd77dcd032d1687efaba5598cf07bce85997f to < 4ceb0bd4ffd009821b585ce6a8033b12b59fb5fb (affected · git)0cafd77dcd032d1687efaba5598cf07bce85997f to < c31a732fac46b00b95b78fcc9c37cb48dd6f2e0c (affected · git)0cafd77dcd032d1687efaba5598cf07bce85997f to < 5c70eb5c593d64d93b178905da215a9fd288a4b5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.43 through 6.12.* (unaffected · semver)6.13.6 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
net: better track kernel sockets lifetime
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dd86cb7eecec99d0c5dc2e41e48386d8a56599d2ea9b20d310a22e3da2966645
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record