CVE Catalog

CVE-2025-13350

High
Published: Translated: NVD NIST

Summary

The vulnerability in Ubuntu Linux 6.8 (Noble Numbat) kernel stems from an incomplete backport of an AF_UNIX fix, causing the legacy garbage collector to mishandle MSG_OOB sockets. This leads to a use-after-free condition that can be exploited for reliable local privilege escalation (LPE).

Risk Assessment

An attacker with local access can exploit this flaw to escalate privileges, potentially leading to full system compromise. The risk is high because the vulnerability is reliable and affects default Ubuntu installations.

Recommendation

Immediately update the Ubuntu kernel to version 6.8.0-84.84 or later, which includes the fix. If immediate patching is not possible, consider restricting local access to the system.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS