CVE-2024-58064: wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap()
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: tests: Fix potential NULL dereference in testcfg80211parsecolocatedap()
kunitkzalloc() may return NULL, dereferencing it without NULL check may lead to NULL dereference. Add a NULL check for ies.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.13-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Compensating control
Add a NULL check for `ies` before dereferencing it in `test_cfg80211_parse_colocated_ap()`.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-58064?
CVE-2024-58064 is classified as a vulnerability in the Linux kernel related to potential NULL dereference issues.
How do I fix CVE-2024-58064?
To fix CVE-2024-58064, ensure you are using the latest patched version of the Linux kernel that addresses this vulnerability.
What systems are affected by CVE-2024-58064?
CVE-2024-58064 affects various versions of the Linux kernel that implement cfg80211 features.
What risks are associated with CVE-2024-58064?
Exploitation of CVE-2024-58064 could lead to system crashes or undefined behavior due to the potential NULL dereference.
When was CVE-2024-58064 disclosed?
CVE-2024-58064 was disclosed as part of an update to the Linux kernel addressing several vulnerabilities.