Kernel crash via first-iovec reuse
Published Jan 11, 2025 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel TUN driver allows local users to crash the kernel through crafted vector writes to a TUN device. The tun_napi_alloc_frags function repeatedly reads the first iovec component instead of advancing across all components, producing a malformed socket buffer that reaches a BUG in __pskb_pull_tail. Low-privilege local access and permission to write to a TUN device are required; successful triggering interrupts the operating system through a kernel crash.
Summary
What happened
NULL pointer dereference in the Linux kernel TUN driver allows local users to crash the kernel through crafted vector writes to a TUN device. The tun_napi_alloc_frags function repeatedly reads the first iovec component instead of advancing across all components, producing a malformed socket buffer that reaches a BUG in __pskb_pull_tail. Low-privilege local access and permission to write to a TUN device are required; successful triggering interrupts the operating system through a kernel crash.
The record
- CVE
- CVE-2024-56372
- Published
- Jan 11, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 11, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 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=6.4
- Affected versionversion=de4f5fed3f231a8ff4790bf52975f847b95b85ea <429fde2d81bcef0ebab002215358955704586457
- Affected versionversion=de4f5fed3f231a8ff4790bf52975f847b95b85ea <4f393ea1e2f9c3b646d00572dd92c48b1869c65f
- Affected versionversion=de4f5fed3f231a8ff4790bf52975f847b95b85ea <efe74dd58a72bd987b158142c904b7ef2ad132e2
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