Local privilege escalation via socket refcount underflow
Published Apr 17, 2024 · Updated Aug 5, 2026
Affected Linux kernel releases allow local users to execute code in the kernel through a TCP/DCCP socket reference-count underflow. __inet_hash_connect() reverses an ehash insertion with sk_nulls_add_node_rcu(), which takes a reference that check_established() never acquired, so the later sock_put() underflows the socket reference count. An unprivileged local process can drive the path through connect(), and exploitation can expose or modify kernel memory, hijack control flow, panic the host, or exhaust memory.
Summary
What happened
Affected Linux kernel releases allow local users to execute code in the kernel through a TCP/DCCP socket reference-count underflow. __inet_hash_connect() reverses an ehash insertion with sk_nulls_add_node_rcu(), which takes a reference that check_established() never acquired, so the later sock_put() underflows the socket reference count. An unprivileged local process can drive the path through connect(), and exploitation can expose or modify kernel memory, hijack control flow, panic the host, or exhaust memory.
The record
- CVE
- CVE-2024-26864
- Published
- Apr 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-200, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 17, 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=334a8348b2df26526f3298848ad6864285592caf <856baaa100cd288d3685eedae9a129c996e7e755
- Affected versionversion=6.1.80 <6.1.83
- Affected versionversion=6.6.19 <6.6.23
- Affected versionversion=66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f <04d9d1fc428ac9f581d55118d67e0cb546701feb
- Affected versionversion=66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f <ad105cde6b261b8b05ec872fe7d1987417d7fe5a
- Affected versionversion=6.7.7 <6.7.11
- Affected versionversion=6.8
- Affected versionversion=729bc77af438a6e67914c97f6f3d3af8f72c0131 <86d9b040421bbd26425f5a3edc226f57ecdecbfe
- Affected versionversion=f8c4a6b850882bc47aaa864b720c7a2ee3102f39 <1b20e61d36f490319d3fbdedd410155232ab5190
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