CVE-2026-23135: wifi: ath12k: fix dma_free_coherent() pointer
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix dma_free_coherent() pointer
dma_alloc_coherent() allocates a DMA mapped buffer and stores the addresses in XXX_unaligned fields. Those should be reused when freeing the buffer rather than the aligned addresses.
The Linux kernel CVE team has assigned CVE-2026-23135 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.6.122 with commit 36e0bc5e8b282564906fca636c4ebc99814de4e7 Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.12.68 with commit 24585a13c41ea7253ee59aac74441fb570f5824a Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.18.8 with commit 4846b32be324f4dd3653f38a3f69c049543d52ae Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.19 with commit bb97131fbf9b708dd9616ac2bdc793ad102b5c48
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23135
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/ath/ath12k/ce.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/36e0bc5e8b282564906fca636c4ebc99814de4e7 https://git.kernel.org/stable/c/24585a13c41ea7253ee59aac74441fb570f5824a https://git.kernel.org/stable/c/4846b32be324f4dd3653f38a3f69c049543d52ae https://git.kernel.org/stable/c/bb97131fbf9b708dd9616ac2bdc793ad102b5c48