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

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-02-27T02:12:08.046Z
- Modified: 2026-06-17T08:14:28.097Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 8700c4bf8b7ed98037d2acf1eaf770ad6dd431d4; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before eb8c0534713865d190856f10bfc97cf0b88475b1; 6.3 (not affected: before 6.3; from 6.13.3 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.3 before 6.13.3

## References

- <https://git.kernel.org/stable/c/8700c4bf8b7ed98037d2acf1eaf770ad6dd431d4> (patch)
- <https://git.kernel.org/stable/c/eb8c0534713865d190856f10bfc97cf0b88475b1> (patch)

## Sources

- CVE List: [CVE-2024-58015](https://www.cve.org/CVERecord?id=CVE-2024-58015), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-58015](https://nvd.nist.gov/vuln/detail/CVE-2024-58015), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58015 · Whole record: https://cve.day/CVE-2024-58015.json · Rebuilt by cve.day 2026-11-25T22:58:52.105Z
