System crash via recursive sockmap callbacks
Published May 21, 2024 · Updated May 23, 2026
Stack overflow in affected Linux kernel versions allows local users with high privileges to crash the system during BPF sockmap teardown. The sock_map close, destroy, and unhash protocol callbacks can invoke themselves recursively instead of dispatching to the saved underlying socket callbacks, exhausting the kernel stack. Exploitation requires a crafted BPF sockmap socket state and high local privileges; the bounded consequence is a host crash rather than data modification.
Summary
What happened
Stack overflow in affected Linux kernel versions allows local users with high privileges to crash the system during BPF sockmap teardown. The sock_map close, destroy, and unhash protocol callbacks can invoke themselves recursively instead of dispatching to the saved underlying socket callbacks, exhausting the kernel stack. Exploitation requires a crafted BPF sockmap socket state and high local privileges; the bounded consequence is a host crash rather than data modification.
The record
- CVE
- CVE-2023-52735
- Published
- May 21, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-120, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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=0580e47c8895a4d61ee095f086cba1ded7ca5e7f
- Affected versionversion=5.14.19 <5.15
- Affected versionversion=5.15.3 <5.15.95
- Affected versionversion=5.16
- Affected versionversion=c5cc0d23c5414d23438c5024890e367cc5a0e645 <f312367f5246e04df564d341044286e9e37a97ba
- Affected versionversion=c5d2177a72a1659554922728fc407f59950aa929 <5b4a79ba65a1ab479903fff2e604865d229b70a9
- Affected versionversion=c5d2177a72a1659554922728fc407f59950aa929 <7499859881488da97589f3c79cc66fa75748ad49
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