Local privilege escalation via AF_UNIX out-of-band message race
Published Jun 10, 2024 · Updated Aug 5, 2026
Race condition in the Linux kernel's AF_UNIX subsystem allows local users to escalate privileges or crash the host. __unix_gc() clears unix_sk(sk)->oob_skb without locking while queue_oob() can replace it concurrently, corrupting socket-buffer state. Unprivileged access to AF_UNIX socketpairs and MSG_OOB is sufficient; successful exploitation can expose or modify kernel memory, while an unsuccessful attempt can panic the system.
Summary
What happened
Race condition in the Linux kernel's AF_UNIX subsystem allows local users to escalate privileges or crash the host. __unix_gc() clears unix_sk(sk)->oob_skb without locking while queue_oob() can replace it concurrently, corrupting socket-buffer state. Unprivileged access to AF_UNIX socketpairs and MSG_OOB is sufficient; successful exploitation can expose or modify kernel memory, while an unsuccessful attempt can panic the system.
The record
- CVE
- CVE-2024-36972
- Published
- Jun 10, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1068, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 10, 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=1279f9d9dec2d7462823a18c29ad61359e0a007d <4708f49add84a57ce0ccc7bf9a6269845c631cc3
- Affected versionversion=1279f9d9dec2d7462823a18c29ad61359e0a007d <9841991a446c87f90f66f4b9fee6fe934c1336a2
- Affected versionversion=4fe505c63aa3273135a57597fda761e9aecc7668 <518a994aa0b87d96f1bc6678a7035df5d1fcd7a1
- Affected versionversion=5.15.149 <5.15.161
- Affected versionversion=6.1.78 <6.1.93
- Affected versionversion=6.6.17 <6.6.33
- Affected versionversion=6.7.5 <6.8
- Affected versionversion=6.8
- Affected versionversion=82ae47c5c3a6b27fdc0f9e83c1499cb439c56140
- Affected versionversion=b74aa9ce13d02b7fd37c5325b99854f91b9b4276 <d59ae9314b97e01c76a4171472441e55721ba636
- Affected versionversion=e0e09186d8821ad59806115d347ea32efa43ca4b <4bf6964451c3cb411fbaa1ae8b214b3d97a59bf1
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