KUnit test crash via unchecked allocation failure
Published Mar 6, 2025 · Updated May 11, 2026
NULL pointer dereference in Linux kernel cfg80211 test code allows local users to crash a KUnit test after a memory-allocation failure. test_cfg80211_parse_colocated_ap() assigns the result of kunit_kzalloc() to ies, then writes through ies and copies data into it without first checking for NULL. Reachability requires a kernel built with the cfg80211 KUnit test and execution of that test; ordinary Wi-Fi traffic does not invoke the affected test function.
Summary
What happened
NULL pointer dereference in Linux kernel cfg80211 test code allows local users to crash a KUnit test after a memory-allocation failure. test_cfg80211_parse_colocated_ap() assigns the result of kunit_kzalloc() to ies, then writes through ies and copies data into it without first checking for NULL. Reachability requires a kernel built with the cfg80211 KUnit test and execution of that test; ordinary Wi-Fi traffic does not invoke the affected test function.
The record
- CVE
- CVE-2024-58064
- Published
- Mar 6, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 6, 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=45d43937a44c806b8649323b8f5d9f42ae838b0e <0d17d81143f5aa56ee87e60bb1000a2372a0ada8
- Affected versionversion=45d43937a44c806b8649323b8f5d9f42ae838b0e <13c4f7714c6a1ecf748a2f22099447c14fe6ed8c
- Affected versionversion=45d43937a44c806b8649323b8f5d9f42ae838b0e <886271409603956edd09df229dde7442c410a872
- Affected versionversion=6.9
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