Local privilege escalation via AF_UNIX skb race
Published May 21, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernels from 5.15 on affected stable branches allows local users to escalate privileges through AF_UNIX urgent data. After unix_stream_read_actor releases the socket lock, another thread can replace and free u->oob_skb before the receiver takes an skb reference, leaving the read path to dereference reclaimed kernel memory. Any unprivileged local user can race recvmsg with MSG_OOB and MSG_PEEK against sendmsg on a controlled socket pair, enabling kernel memory access, code execution, or a kernel crash.
Summary
What happened
Use-after-free in Linux kernels from 5.15 on affected stable branches allows local users to escalate privileges through AF_UNIX urgent data. After unix_stream_read_actor releases the socket lock, another thread can replace and free u->oob_skb before the receiver takes an skb reference, leaving the read path to dereference reclaimed kernel memory. Any unprivileged local user can race recvmsg with MSG_OOB and MSG_PEEK against sendmsg on a controlled socket pair, enabling kernel memory access, code execution, or a kernel crash.
The record
- CVE
- CVE-2023-52772
- Published
- May 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=876c14ad014d0e39c57cbfde53e13d17cdb6d645 <069a3ec329ff43e7869a3d94c62cd03203016bce
- Affected versionversion=876c14ad014d0e39c57cbfde53e13d17cdb6d645 <4b7b492615cf3017190f55444f7016812b66611d
- Affected versionversion=876c14ad014d0e39c57cbfde53e13d17cdb6d645 <75bcfc188abf4fae9c1d5f5dc0a03540be602eef
- Affected versionversion=876c14ad014d0e39c57cbfde53e13d17cdb6d645 <d179189eec426fe4801e4b91efa1889faed12700
- Affected versionversion=876c14ad014d0e39c57cbfde53e13d17cdb6d645 <eae0b295ce16d8c8b4114c3037993191b4bb92f0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo