wifi: ath12k: fix out-of-bounds access on TX stats arrays
- CVE-2026-143450
- EUVD-2026-145079
Summary
This record describes a fixed flaw in the Linux kernel's ath12k wireless driver. Several transmit statistics arrays, fw_tx_status, tx_wbm_rel_source and tqm_rel_reason, were indexed directly with values read from hardware without checking them against the array sizes. Out-of-range values would write past the end of those arrays and corrupt kernel memory. The fix adds likely() bounds checks before each counter increment, with WARN_ON_ONCE on the out-of-bounds branch for two of the arrays. The record notes it was tested on a QCN9274 PCI WLAN device. No CVSS score or exploitation status is given.
AI summary · verify against the vendor advisory
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix out-of-bounds access on TX stats arrays The fw_tx_status[], tx_wbm_rel_source[], and tqm_rel_reason[] arrays are indexed directly by values read from hardware without bounds checks. Values at or beyond MAX_FW_TX_STATUS, HAL_WBM_REL_SRC_MODULE_MAX, or MAX_TQM_RELEASE_REASON respectively would write past the end of the arrays causing memory corruption. Add likely() bounds checks before incrementing each counter. For tx_wbm_rel_source[] and tqm_rel_reason[], add WARN_ON_ONCE() on the out-of-bounds else branch. For fw_tx_status[], no WARN_ON_ONCE is added since the switch statement that follows already calls ath12k_warn() in its default: branch for unknown values, avoiding a double-warn. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6.r1-00402-QCAHKSWPL_SILICONZ-1
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 6.16 none stated before 6.16: not affected none stated from 6.18.66 up to 6.18.*: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.