Skip to content

Linux kernel

net/x25: fix use-after-free in x25_kill_by_neigh()

CVE-2026-68137Published 10 Aug 2026, 11:59 UTC

Real-world risk

8.5/ 10High

Patch this week; within 48 h if Internet-facing

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Linux)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
Linux kernelUbiquitous>= 5.10.110, < 5.10.265; >= 5.15.33, < 5.15.216; >= 4.9.311, < 4.10; >= 4.14.276, < 4.15; >= 4.19.238, < 4.20; >= 5.4.189, < 5.5; >= 5.16.19, < 5.17; >= 5.17.2, < 5.18; = 5.18; >= 5.17.2, < 6.1.183; >= 6.2, < 6.6.148; >= 6.7, < 6.12.101; >= 6.13, < 6.18.42; >= 6.19, < 7.1.6; = 7.2; = 7.2; = 7.2; = 7.25.10.265, 5.15.216, 4.10, 4.15, 4.20, 5.5, 5.17, 5.18, 7.2, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6

What to do

Update to a fixed version: 5.10.265, 5.15.216, 4.10, 4.15, 4.20, 5.5, 5.17, 5.18, 7.2, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.5% chance of exploitation in 30 days (percentile 47), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 1 × threat 0.858.500
  4. Rounded to one decimal between 0.1 and 108.5

How the score works

Exploitation and evidence timeline

  1. 10 Aug 2026 Published
  2. 2 Dec 2026 Risk 8.5 (cvss fallback)

Weakness

CWE-416

References

Get alerts for Linux kernel

Free email or text alerts when a vulnerability in Linux kernel reaches risk 8 or higher. Nothing else.