Impact
In the Linux kernel, the socket flag field sk->sk_flags is altered without holding the socket lock in sock_gettstamp(). This race condition (CWE‑413) allows a concurrent SIOCGSTAMPNS_NEW ioctl and a bind() call to perform read‑modify‑write on the same word, potentially clearing the SOCK_RCU_FREE bit prematurely. The kernel then frees the socket immediately while the UDP receive path still has a reference‑less pointer, resulting in a slab use‑after‑free fault that can lead to kernel memory corruption.
Affected Systems
All Linux kernel builds expose UDP sockets and call sock_gettstamp() without the added socket lock. Any distribution running an unpatched kernel version is within scope, including standard releases and custom derivatives that have not yet incorporated the patch.
Risk and Exploitability
The CVSS score of 7.8 indicates high severity, while the EPSS score of <1% shows a very low but nonzero exploitation probability. The vulnerability is not listed in CISA KEV. The attack vector inferred from the description requires an adversary to race an SIOCGSTAMPNS_NEW ioctl with a bind() on a UDP socket, causing a lost update of the socket flags and a subsequent use‑after‑free that can corrupt kernel memory.
OpenCVE Enrichment
Debian DLA
Debian DSA