What’s Vulnerable › Vulnerabilities
CVE-2024-58064: wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-06 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap() kunit_kzalloc() may return NULL, dereferencing it without NULL check may lead to NULL dereference. Add a NULL check for ies.
Affected products
- Linux kernel: from 6.9 before 6.12.13; from 6.13 before 6.13.2 — fixed in 6.12.13, 6.13.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.13, 6.13.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0d17d81143f5aa56ee87e60bb1000a2372a0ada8
- https://git.kernel.org/stable/c/13c4f7714c6a1ecf748a2f22099447c14fe6ed8c
- https://git.kernel.org/stable/c/886271409603956edd09df229dde7442c410a872
Get alerted when CVE-2024-58064 or the next vulnerability affects your stack