CVE Catalog

CVE-2024-58015

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Summary

In the Linux kernel, the wifi ath12k driver has an out-of-bounds access error. The print_array_to_buf_index() function receives an array length parameter that is too large, resulting in a possible out-of-bounds memory error. Decreasing the buffer size by one fixes the faulty upper bound of the passed array.

Risk Assessment

A local attacker or a bug in statistics handling could cause kernel memory corruption, leading to a system crash or potential privilege escalation.

Recommendation

Update the Linux kernel to a version containing the ath12k driver fix. If updating is not possible, restrict use of ath12k Wi-Fi interfaces to trusted environments.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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 print_array_to_buf_index() 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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS