# CVE-2025-13350: Use-after-free of orphaned AF_UNIX in Ubuntu builds of Linux kernel

- Severity: High 7.1 (CVSS:4.0, scored by canonical) `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-03-05T18:56:03.433Z
- Modified: 2026-06-17T08:33:58.420Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- linux: from 6.8.0-56.58 before 6.8.0-84.84

## References

- <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2121515> (issue-tracking)
- <https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=79cbc2a1d4f61e492ddac5da65b075836675f94d> (patch)
- <http://www.openwall.com/lists/oss-security/2026/03/05/7>

## Sources

- CVE List: [CVE-2025-13350](https://www.cve.org/CVERecord?id=CVE-2025-13350), CVE Terms of Use, modified 2026-03-06
- NVD: [CVE-2025-13350](https://nvd.nist.gov/vuln/detail/CVE-2025-13350), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-13350 · Whole record: https://cve.day/CVE-2025-13350.json · Rebuilt by cve.day 2026-11-25T22:59:11.854Z
