What’s Vulnerable › Vulnerabilities
CVE-2025-13350: Use-after-free of orphaned AF_UNIX in Ubuntu builds of Linux kernel
- Severity: high (CVSS 7.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-05 · updated 2026-06-17
- Weakness: CWE-416
Description
Ubuntu Linux 6.8 GA retains the legacy AF_UNIX garbage collector but backports upstream commit 8594d9b85c07 ("af_unix: Don’t call skb_get() for OOB skb"). When orphaned MSG_OOB sockets hit unix_gc(), the garbage collector still calls kfree_skb() as if OOB SKBs held two references; on Ubuntu Linux 6.8 (Noble Numbat) kernel tree, they have only the queue reference, so the buffer is freed while still reachable and subsequent queue walks dereference freed memory, yielding a reliable local privilege escalation (LPE) caused by a use-after-free (UAF). Ubuntu builds that have already taken the new GC stack from commit 4090fa373f0e, and mainline Linux kernels shipping that infrastructure are unaffected because they no longer execute the legacy collector path. This issue affects Ubuntu Linux from 6.8.0-56.58 before 6.8.0-84.84.
Affected products
- Canonical Ubuntu Linux: from 6.8.0-56.58 before 6.8.0-84.84 — fixed in 6.8.0-84.84
How to fix
Upgrade to a fixed version: Canonical Ubuntu Linux 6.8.0-84.84. Check the vendor advisory for mitigations.
References
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2121515
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=79cbc2a1d4f61e492ddac5da65b075836675f94d
- http://www.openwall.com/lists/oss-security/2026/03/05/7
Get alerted when CVE-2025-13350 or the next vulnerability affects your stack