Local privilege escalation via sockmap refcount race
Published Dec 9, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel sockmap handling from 5.13 allows local users to crash the kernel or gain privileges via a receive race. sk_psock_queue_msg places an skb on ingress_msg without first taking another reference, letting recvmsg consume and free it before backlog skb_dequeue uses it. Reachability requires local syscall access and a sockmap-enrolled socket; exploitation can panic the host or elevate a process to kernel privileges.
Summary
What happened
Use-after-free in Linux kernel sockmap handling from 5.13 allows local users to crash the kernel or gain privileges via a receive race. sk_psock_queue_msg places an skb on ingress_msg without first taking another reference, letting recvmsg consume and free it before backlog skb_dequeue uses it. Reachability requires local syscall access and a sockmap-enrolled socket; exploitation can panic the host or elevate a process to kernel privileges.
The record
- CVE
- CVE-2023-53836
- Published
- Dec 9, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 9, 2025CVE 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.13
- Affected versionversion=799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 <65ad600b9bde68d2d28709943ab00b51ca8f0a1d
- Affected versionversion=799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 <923877254f002ae87d441382bb1096d9e773d56d
- Affected versionversion=799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 <a454d84ee20baf7bd7be90721b9821f73c7d23d9
- Affected versionversion=799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 <e6b5e47adb9166e732cdf7e6e034946e3f89f36d
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