# CVE-2026-68137: net/x25: fix use-after-free in x25\_kill\_by\_neigh()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-26)
- **Published:** 2026-08-10T11:59:00.740Z
- **Modified:** 2026-08-19T17:20:30.880Z

## Who should check

- Anyone running Linux \>= 5c94b6205e87411dbe9dc1ca088eb36b8837fb47, \< db6b04f6d65549bb1c7bc8e64a92e7b7d03be676; \>= 409570a619c1cda2e0fde6018a256b9e3d3ba0ee, \< 5e8a754ac2009a88a7b99ab61eab6296eed360f3; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< c98a454d1a9e1bd09d5fd55a7aa589b199340b88; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 3f4fe26c20c30bd5a2e2583e80685def0b27858c; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 610678d4be94b619c751572e8a58de705592cd07; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 9aabda553184346f74810e2ee1d96920b4612e3f; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 5499e0602d2faafd42c580d25f615903c3fbe11b; dffc859d1d9560da594e4282091781b8d2715f00; 858642789ada1b48630f322e59416ca9fca3e6b7; …
- Anyone running Linux 5.18

## Description

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().

## Affected and fixed versions

- Linux: \>= 5c94b6205e87411dbe9dc1ca088eb36b8837fb47, \< db6b04f6d65549bb1c7bc8e64a92e7b7d03be676; \>= 409570a619c1cda2e0fde6018a256b9e3d3ba0ee, \< 5e8a754ac2009a88a7b99ab61eab6296eed360f3; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< c98a454d1a9e1bd09d5fd55a7aa589b199340b88; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 3f4fe26c20c30bd5a2e2583e80685def0b27858c; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 610678d4be94b619c751572e8a58de705592cd07; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 9aabda553184346f74810e2ee1d96920b4612e3f; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 5499e0602d2faafd42c580d25f615903c3fbe11b; dffc859d1d9560da594e4282091781b8d2715f00; 858642789ada1b48630f322e59416ca9fca3e6b7; … (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68137. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68137.md
Affected: Linux >= 5c94b6205e87411dbe9dc1ca088eb36b8837fb47, < db6b04f6d65549bb1c7bc8e64a92e7b7d03be676; >= 409570a619c1cda2e0fde6018a256b9e3d3ba0ee, < 5e8a754ac2009a88a7b99ab61eab6296eed360f3; >= 7781607938c8371d4c2b243527430241c62e39c2, < c98a454d1a9e1bd09d5fd55a7aa589b199340b88; >= 7781607938c8371d4c2b243…
Fixed in: Linux 5e8a754ac2009a88a7b99ab61eab6296eed360f3, Linux 3f4fe26c20c30bd5a2e2583e80685def0b27858c, Linux 610678d4be94b619c751572e8a58de705592cd07, Linux 9aabda553184346f74810e2ee1d96920b4612e3f, Linux 5499e0602d2faafd42c580d25f615903c3fbe11b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68137 being exploited?

There is no confirmed exploitation: CVE-2026-68137 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68137?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-68137?

Linux \>= 5c94b6205e87411dbe9dc1ca088eb36b8837fb47, \< db6b04f6d65549bb1c7bc8e64a92e7b7d03be676; \>= 409570a619c1cda2e0fde6018a256b9e3d3ba0ee, \< 5e8a754ac2009a88a7b99ab61eab6296eed360f3; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< c98a454d1a9e1bd09d5fd55a7aa589b199340b88; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 3f4fe26c20c30bd5a2e2583e80685def0b27858c; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 610678d4be94b619c751572e8a58de705592cd07; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 9aabda553184346f74810e2ee1d96920b4612e3f; \>= 7781607938c8371d4c2b243527430241c62e39c2, \< 5499e0602d2faafd42c580d25f615903c3fbe11b; dffc859d1d9560da594e4282091781b8d2715f00; 858642789ada1b48630f322e59416ca9fca3e6b7; …; Linux 5.18.

### Is there a fix for CVE-2026-68137?

Yes. Fixed in Linux 5e8a754ac2009a88a7b99ab61eab6296eed360f3, Linux 3f4fe26c20c30bd5a2e2583e80685def0b27858c, Linux 610678d4be94b619c751572e8a58de705592cd07, Linux 9aabda553184346f74810e2ee1d96920b4612e3f, Linux 5499e0602d2faafd42c580d25f615903c3fbe11b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68137?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/db6b04f6d65549bb1c7bc8e64a92e7b7d03be676>
- other: <https://git.kernel.org/stable/c/5e8a754ac2009a88a7b99ab61eab6296eed360f3>
- other: <https://git.kernel.org/stable/c/c98a454d1a9e1bd09d5fd55a7aa589b199340b88>
- other: <https://git.kernel.org/stable/c/3f4fe26c20c30bd5a2e2583e80685def0b27858c>
- other: <https://git.kernel.org/stable/c/610678d4be94b619c751572e8a58de705592cd07>
- other: <https://git.kernel.org/stable/c/ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a>
- other: <https://git.kernel.org/stable/c/9aabda553184346f74810e2ee1d96920b4612e3f>
- other: <https://git.kernel.org/stable/c/5499e0602d2faafd42c580d25f615903c3fbe11b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68137>

HTML: <https://flawdb.com/CVE-2026-68137> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68137>
