CVE-2024-58015: wifi: ath12k: Fix for out-of bound access error
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Fix for out-of bound access error
Selfgen stats are placed in a buffer using printarraytobufindex() function. Array length parameter passed to the function is too big, resulting in possible out-of bound memory error. Decreasing buffer size by one fixes faulty upper bound of passed array.
Discovered in coverity scan, CID 1600742 and CID 1600758
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.16.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 7.2.12-1Fixed in 7.2.15-1 - Compensating control
For the Linux kernel wifi: ath12k selfgen statistics buffer used by print_array_to_buf_index(), decrease the buffer size by one to correct the faulty upper bound and prevent out-of-bounds access.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-58015?
CVE-2024-58015 has a medium severity rating due to the potential out-of-bounds access that could lead to data corruption or crashes.
How do I fix CVE-2024-58015?
To mitigate CVE-2024-58015, ensure your Linux kernel is updated to the latest version where this vulnerability has been patched.
What systems are affected by CVE-2024-58015?
CVE-2024-58015 affects the Linux kernel, specifically versions using the ath12k wireless driver.
Can CVE-2024-58015 be exploited remotely?
Yes, CVE-2024-58015 could potentially be exploited remotely if the vulnerable systems are exposed to untrusted networks.
What precautions should I take regarding CVE-2024-58015?
It is advisable to regularly patch your Linux systems and monitor for any unusual behavior to protect against CVE-2024-58015.