# CVE-2026-139762: wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:44.397Z
- Modified: 2026-11-30T14:20:09.020Z
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 00402f49d26ffe991892bba76ccbdfed26538824 before 6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3; from 00402f49d26ffe991892bba76ccbdfed26538824 before 64419caf3fa5127a9f369adeee20238029bb3070; from 00402f49d26ffe991892bba76ccbdfed26538824 before 586807b340e4463bdd5bcfe5f91cff2c3c275711; from 00402f49d26ffe991892bba76ccbdfed26538824 before 1a7bcf5324c8e2de6512eca5b028b6b283181d3f; 5.19 (not affected: before 5.19; from 6.12.120 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3>
- <https://git.kernel.org/stable/c/64419caf3fa5127a9f369adeee20238029bb3070>
- <https://git.kernel.org/stable/c/586807b340e4463bdd5bcfe5f91cff2c3c275711>
- <https://git.kernel.org/stable/c/1a7bcf5324c8e2de6512eca5b028b6b283181d3f>

## Sources

- CVE List: [CVE-2026-139762](https://www.cve.org/CVERecord?id=CVE-2026-139762), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139762](https://nvd.nist.gov/vuln/detail/CVE-2026-139762), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139762 · Whole record: https://cve.day/CVE-2026-139762.json · Rebuilt by cve.day 2026-11-30T14:33:31.017Z
