wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete
Summary
| CVE | CVE-2026-139762 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:09 UTC |
| Updated | 2026-11-30 14:20:09 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete
On WCN6750, if QMI messages never arrive (for example when qrtr_smd
is not ready), WLAN initialization stops before the device is fully
registered. In this case ATH11K_FLAG_QMI_FAIL is not set because no
QMI event handler is executed.
When the driver is removed, ath11k_ahb_remove() still calls
ath11k_core_deinit(), which eventually triggers
ath11k_ce_cleanup_pipes() on uninitialized CE pipes and results in a
NULL pointer dereference in ath11k_hal_srng_access_begin():
ath11k_hal_srng_access_begin+0x14/0x68 [ath11k]
ath11k_ce_cleanup_pipes+0x184/0x190 [ath11k]
ath11k_pcic_stop+0x24/0x38 [ath11k]
ath11k_core_deinit+0xfc/0x1c0 [ath11k]
ath11k_ahb_remove+0x38/0xa0 [ath11k_ahb]
Fix this by invoking ath11k_ahb_remove_prepare() before the state
check and skipping ath11k_core_deinit() if ATH11K_FLAG_REGISTERED
is not set, core initialization did not complete and CE pipes may
remain uninitialized, making ath11k_core_deinit() unsafe.
Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.2.0.c2-00204-QCAMSLSWPLZ-1 |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 00402f49d26ffe991892bba76ccbdfed26538824 6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 00402f49d26ffe991892bba76ccbdfed26538824 64419caf3fa5127a9f369adeee20238029bb3070 git |
Not specified |
| CNA |
Linux |
Linux |
affected 00402f49d26ffe991892bba76ccbdfed26538824 586807b340e4463bdd5bcfe5f91cff2c3c275711 git |
Not specified |
| CNA |
Linux |
Linux |
affected 00402f49d26ffe991892bba76ccbdfed26538824 1a7bcf5324c8e2de6512eca5b028b6b283181d3f git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.19 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.19 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.120 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/64419caf3fa5127a9f369adeee20238029bb3070 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/586807b340e4463bdd5bcfe5f91cff2c3c275711 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1a7bcf5324c8e2de6512eca5b028b6b283181d3f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.