net/x25: fix use-after-free in x25_kill_by_neigh()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
In the Linux kernel, the following vulnerability has been resolved: net/x25: fix use-after-free in x25_kill_by_neigh() x25_kill_by_neigh() walks the global X.25 socket list looking for sockets attached to a terminating neighbour. x25_list_lock protects list membership while the lookup is in progress, but it does not pin a socket's lifetime after the lock is dropped. The function currently drops x25_list_lock before calling lock_sock(s). A concurrent close can run x25_release(), remove the same socket from x25_list, and drop the last socket reference in that window. The neighbour teardown path can then lock or inspect a freed struct sock/struct x25_sock. Take sock_hold(s) while x25_list_lock still proves that the list entry is live, then drop the temporary reference after the socket has been locked, rechecked, and released. Recheck x25_sk(s)->neighbour after lock_sock(), because another path may have disconnected the socket before this path acquired the socket lock. Restart the list walk after each disconnect because the list lock was dropped and the previous iterator state may no longer be valid. A QEMU/KASAN run against origin/master reproduced a slab-use-after-free in x25_kill_by_neigh().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.110 to before 5.10.265; 5.15.33 to before 5.15.216; 4.9.311 to before 4.10; 4.14.276 to before 4.15; 4.19.238 to before 4.20; 5.4.189 to before 5.5; 5.16.19 to before 5.17; 5.17.2 to before 5.18 | 5.10.265, 5.15.216, 4.10, 4.15, 4.20, 5.5, 5.17, 5.18 | Patch available | CNA |
| Linux | Linux | 5.18 and later | 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.110 to before 5.10.265; 5.15.33 to before 5.15.216; 4.9.311 to before 4.10; 4.14.276 to before 4.15; 4.19.238 to before 4.20; 5.4.189 to before 5.5; 5.16.19 to before 5.17; 5.17.2 to before 5.18 Fixed in 5.10.265, 5.15.216, 4.10, 4.15, 4.20, 5.5, 5.17, 5.18 Patch available CNA
- Linux VendorLinux Affected 5.18 and later Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.265, 5.15.216, 4.10, 4.15, 4.20, 5.5, 5.17, 5.18
- Fix · CNA Linux (Linux) Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 8 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux for NVIDIA 26
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-68137
- 2026-10-03 Alias added: GHSA-8pjr-r8qw-rq6v
- 2026-10-14 EPSS moved to the below the 50th percentile
- 2026-11-06 Affected versions changed · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/db6b04f6d65549bb1c7bc8e64a92e7b7d03be676
- https://git.kernel.org/stable/c/5e8a754ac2009a88a7b99ab61eab6296eed360f3
- https://git.kernel.org/stable/c/c98a454d1a9e1bd09d5fd55a7aa589b199340b88
- https://git.kernel.org/stable/c/3f4fe26c20c30bd5a2e2583e80685def0b27858c
- https://git.kernel.org/stable/c/610678d4be94b619c751572e8a58de705592cd07
- https://git.kernel.org/stable/c/ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a
- https://git.kernel.org/stable/c/9aabda553184346f74810e2ee1d96920b4612e3f
- https://git.kernel.org/stable/c/5499e0602d2faafd42c580d25f615903c3fbe11b
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-68137 · CVE Program
- CVE-2026-68137 · NVD
- FIRST EPSS
- GHSA-8pjr-r8qw-rq6v · GitHub Advisory Database · CC BY 4.0
- CVE-2026-68137 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences