CVE-2025-37944

wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process

State
Published
Severity
8.8 High
Published
May 20, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before 2c512f2eadabb1e80816116894ffaf7d802a944eAffected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before ab7edf42ce800eb34d2f73dd7271b826661a06a5Affected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before b6a3b2b2cead103089d3bb7a57d8209bdfa5399dAffected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before 298f0aea5cb32b5038f991f5db201a0fcbb9a31bAffected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before 63fdc4509bcf483e79548de6bc08bf3c8e504bb3Affected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.88 through 6.6.*Not affected
  • 6.12.25 through 6.12.*Not affected
  • 6.13.12 through 6.13.*Not affected
  • 6.14.4 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.