Skip to contentSkip to conversation

CVE-2025-38317: wifi: ath12k: Fix buffer overflow in debugfs

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 10, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: Fix buffer overflow in debugfs

If the user tries to write more than 32 bytes then it results in memory corruption. Fortunately, this is debugfs so it's limited to root users.

The Linux kernel CVE team has assigned CVE-2025-38317 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit 3f73c24f28b317f22df7870c25ff82f1d625c6c2 and fixed in 6.12.34 with commit 0c57aa8ef94cffc5c2d68230e19329a03e71a94f
	Issue introduced in 6.11 with commit 3f73c24f28b317f22df7870c25ff82f1d625c6c2 and fixed in 6.15.3 with commit 8c4a200d03574bfcbf54fdb7ba5968b58ad2e0b3
	Issue introduced in 6.11 with commit 3f73c24f28b317f22df7870c25ff82f1d625c6c2 and fixed in 6.16-rc1 with commit 8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce

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-2025-38317

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/debugfs_htt_stats.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/0c57aa8ef94cffc5c2d68230e19329a03e71a94f
	https://git.kernel.org/stable/c/8c4a200d03574bfcbf54fdb7ba5968b58ad2e0b3
	https://git.kernel.org/stable/c/8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce