{"id":"CVE-2026-139762","aliases":["CVE-2026-139762"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete\n\nOn WCN6750, if QMI messages never arrive (for example when qrtr_smd\nis not ready), WLAN initialization stops before the device is fully\nregistered. In this case ATH11K_FLAG_QMI_FAIL is not set because no\nQMI event handler is executed.\n\nWhen the driver is removed, ath11k_ahb_remove() still calls\nath11k_core_deinit(), which eventually triggers\nath11k_ce_cleanup_pipes() on uninitialized CE pipes and results in a\nNULL pointer dereference in ath11k_hal_srng_access_begin():\n\n  ath11k_hal_srng_access_begin+0x14/0x68 [ath11k]\n  ath11k_ce_cleanup_pipes+0x184/0x190 [ath11k]\n  ath11k_pcic_stop+0x24/0x38 [ath11k]\n  ath11k_core_deinit+0xfc/0x1c0 [ath11k]\n  ath11k_ahb_remove+0x38/0xa0 [ath11k_ahb]\n\nFix this by invoking ath11k_ahb_remove_prepare() before the state\ncheck and skipping ath11k_core_deinit() if ATH11K_FLAG_REGISTERED\nis not set, core initialization did not complete and CE pipes may\nremain uninitialized, making ath11k_core_deinit() unsafe.\n\nTested-on: WCN6750 hw1.0 AHB WLAN.MSL.2.0.c2-00204-QCAMSLSWPLZ-1","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete\n\nOn WCN6750, if QMI messages never arrive (for example when qrtr_smd\nis not ready), WLAN initialization stops before the device is fully\nregistered. In this case ATH11K_FLAG_QMI_FAIL is not set because no\nQMI event handler is executed.\n\nWhen the driver is removed, ath11k_ahb_remove() still calls\nath11k_core_deinit(), which eventually triggers\nath11k_ce_cleanup_pipes() on uninitialized CE pipes and results in a\nNULL pointer dereference in ath11k_hal_srng_access_begin():\n\n  ath11k_hal_srng_access_begin+0x14/0x68 [ath11k]\n  ath11k_ce_cleanup_pipes+0x184/0x190 [ath11k]\n  ath11k_pcic_stop+0x24/0x38 [ath11k]\n  ath11k_core_deinit+0xfc/0x1c0 [ath11k]\n  ath11k_ahb_remove+0x38/0xa0 [ath11k_ahb]\n\nFix this by invoking ath11k_ahb_remove_prepare() before the state\ncheck and skipping ath11k_core_deinit() if ATH11K_FLAG_REGISTERED\nis not set, core initialization did not complete and CE pipes may\nremain uninitialized, making ath11k_core_deinit() unsafe.\n\nTested-on: WCN6750 hw1.0 AHB WLAN.MSL.2.0.c2-00204-QCAMSLSWPLZ-1","source":"cvelist"}],"published":"2026-11-30T13:37:44.397Z","modified":"2026-11-30T14:20:09.020Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"00402f49d26ffe991892bba76ccbdfed26538824","fixed":"6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3","status":"affected"},{"type":"git","introduced":"00402f49d26ffe991892bba76ccbdfed26538824","fixed":"64419caf3fa5127a9f369adeee20238029bb3070","status":"affected"},{"type":"git","introduced":"00402f49d26ffe991892bba76ccbdfed26538824","fixed":"586807b340e4463bdd5bcfe5f91cff2c3c275711","status":"affected"},{"type":"git","introduced":"00402f49d26ffe991892bba76ccbdfed26538824","fixed":"1a7bcf5324c8e2de6512eca5b028b6b283181d3f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.12.120","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64419caf3fa5127a9f369adeee20238029bb3070","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/586807b340e4463bdd5bcfe5f91cff2c3c275711","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a7bcf5324c8e2de6512eca5b028b6b283181d3f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139762","url":"https://www.cve.org/CVERecord?id=CVE-2026-139762","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:44.397Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139762","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139762","licence":"Public domain","modified":"2026-11-30T14:20:09.020Z"}],"updatedAt":"2026-11-30T14:33:31.017Z","epss":{"score":0.00352,"percentile":0.30809,"date":"2026-12-01T12:00:22.000Z"}}