Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Reserve space for a string terminator ath12k_write_htt_stats_type() accepts count == size, which fills the zero-initialized buffer without a terminating NUL. sscanf() then reads beyond the buffer. Reject input that leaves no room for the trailing NUL.
Affected products and versions
Linux Linux0c57aa8ef94cffc5c2d68230e19329a03e71a94f – < 823ebb7e6f808af32121babc447b6996b9982e0d · 8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce – < c73014148f3e30c03ba1c6012fe8bca55b41bdfa · 8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce – < 962306ab3a2c21a60d3c72641f9deaf9222619a7 · 8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce – < 13b15eabe2c541b80406166964cdc8ccb5e9c32a · 8c4a200d03574bfcbf54fdb7ba5968b58ad2e0b3 · 6.12.34 – < 6.12.119 · 6.15.3 – < 6.16Fixed in: 823ebb7e6f808af32121babc447b6996b9982e0d · c73014148f3e30c03ba1c6012fe8bca55b41bdfa · 962306ab3a2c21a60d3c72641f9deaf9222619a7 · 13b15eabe2c541b80406166964cdc8ccb5e9c32a · 6.12.119 · 6.16
Linux Linux6.16Fixed in: 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/823ebb7e6f808af32121babc447b6996b9982e0d
- git.kernel.org/stable/c/c73014148f3e30c03ba1c6012fe8bca55b41bdfa
- git.kernel.org/stable/c/962306ab3a2c21a60d3c72641f9deaf9222619a7
- git.kernel.org/stable/c/13b15eabe2c541b80406166964cdc8ccb5e9c32a
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.