CVE-2024-58015 wifi: ath12k: Fix for out-of bound access error

High 7.1 Published Updated

An out-of-bounds access in the ath12k WiFi driver can cause memory corruption, potentially leading to system crashes or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-58015?

CVE-2024-58015 is a high-severity memory corruption vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Weakness: CWE-125

Which versions are affected by CVE-2024-58015?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-58015?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-58015 being exploited?

There is no known exploitation of CVE-2024-58015 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-58015, DEBIAN-CVE-2024-58015, GHSA-wgxf-r68r-7w9h, ROOT-OS-DEBIAN-13-CVE-2024-58015, ROOT-OS-UBUNTU-2204-CVE-2024-58015, ROOT-OS-UBUNTU-2404-CVE-2024-58015 and 1 more.

Is CVE-2024-58015 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free