Skip to content

CVE-2025-37944 wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process

HighCVSS 7.8 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Linux KernelUbuntuDebianCloud Platforms

Description

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

wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process

Currently, ath12k_dp_mon_srng_process uses ath12k_hal_srng_src_get_next_entry
to fetch the next entry from the destination ring. This is incorrect because
ath12k_hal_srng_src_get_next_entry is intended for source rings, not destination
rings. This leads to invalid entry fetches, causing potential data corruption or
crashes due to accessing incorrect memory locations. This happens because the
source ring and destination ring have different handling mechanisms and using
the wrong function results in incorrect pointer arithmetic and ring management.

To fix this issue, replace the call to ath12k_hal_srng_src_get_next_entry with
ath12k_hal_srng_dst_get_next_entry in ath12k_dp_mon_srng_process. This ensures
that the correct function is used for fetching entries from the destination
ring, preventing invalid memory accesses.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 13) < 6.12.25-1 6.12.25-1 Fixed
debian/linux(Debian 14) < 6.12.25-1 6.12.25-1 Fixed
Linux kernel < 6.6.88; < 6.12.25; < 6.13.12; < 6.14.4 +11 more 2c512f2eadabb1e80816116894ffaf7d802a944e, 6.6.88, 6.12.25, 6.13.12, 6.14.4, 6.15, 63fdc4509bcf483e79548de6bc08bf3c8e504bb3, 298f0aea5cb32b5038f991f5db201a0fcbb9a31b, ab7edf42ce800eb34d2f73dd7271b826661a06a5, b6a3b2b2cead103089d3bb7a57d8209bdfa5399d Fixed
Microsoft azure linux < 6.6.92.2-1 6.6.92.2-1 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-100.100 6.8.0-100.100 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1047.51 6.8.0-1047.51 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft azure linux < 6.6.92.2-1 6.6.92.2-1
debian/linux(Debian:13) < 6.12.25-1 6.12.25-1
debian/linux(Debian:14) < 6.12.25-1 6.12.25-1
Linux kernel >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 2c512f2eadabb1e80816116894ffaf7d802a944e 2c512f2eadabb1e80816116894ffaf7d802a944e
Linux kernel >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < ab7edf42ce800eb34d2f73dd7271b826661a06a5 ab7edf42ce800eb34d2f73dd7271b826661a06a5
Linux kernel >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < b6a3b2b2cead103089d3bb7a57d8209bdfa5399d b6a3b2b2cead103089d3bb7a57d8209bdfa5399d
Linux kernel >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 298f0aea5cb32b5038f991f5db201a0fcbb9a31b 298f0aea5cb32b5038f991f5db201a0fcbb9a31b
Linux kernel >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 63fdc4509bcf483e79548de6bc08bf3c8e504bb3 63fdc4509bcf483e79548de6bc08bf3c8e504bb3
Linux kernel = 6.3 No fix listed
Linux kernel < 6.6.88 6.6.88
Linux kernel < 6.12.25 6.12.25
Linux kernel < 6.13.12 6.13.12
Linux kernel < 6.14.4 6.14.4
Linux kernel < 6.15 6.15
ubuntu/linux(Ubuntu:24.04) < 6.8.0-100.100 6.8.0-100.100
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1047.51 6.8.0-1047.51
Linux kernel >= 6.3, < 6.6.88 6.6.88
Linux kernel >= 6.7, < 6.12.25 6.12.25
Linux kernel >= 6.13, < 6.13.12 6.13.12
Linux kernel >= 6.14, < 6.14.4 6.14.4

References