Kernel compromise via dangling socket pointer
Published Dec 27, 2024 · Updated Aug 5, 2026
Use-after-free in Linux 2.6.12 through 6.12 allows local users to access freed kernel memory after IPv4 socket creation fails. In inet_create(), sock_init_data() stores the allocated sk object in sock, but a later error frees sk without clearing sock->sk. Low-privileged local code can trigger the failure with socket(), then reuse the stale pointer to disclose kernel data, corrupt memory, or crash the system.
Summary
What happened
Use-after-free in Linux 2.6.12 through 6.12 allows local users to access freed kernel memory after IPv4 socket creation fails. In inet_create(), sock_init_data() stores the allocated sk object in sock, but a later error frees sk without clearing sock->sk. Low-privileged local code can trigger the failure with socket(), then reuse the stale pointer to disclose kernel data, corrupt memory, or crash the system.
The record
- CVE
- CVE-2024-56601
- Published
- Dec 27, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 27, 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <25447c6aaa7235f155292b0c58a067347e8ae891
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2bc34d8c8898ae9fddf4612501aabb22d76c2b2c
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3e8258070b0f2aba66b3ef18883de229674fb288
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <691d6d816f93b2a1008c14178399061466e674ef
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9365fa510c6f82e3aa550a09d0c5c6b44dbc78ff
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b4513cfd3a10c03c660d5d3d26c2e322efbfdd9b
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f8a3f255f7509a209292871715cda03779640c8d
- Affected versionversion=2.6.12
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