{"id":"CVE-2026-139762","summary":"wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete","details":"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","modified":"2026-11-30T15:02:30.884913720Z","published":"2026-11-30T13:37:44.397Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139762.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a7bcf5324c8e2de6512eca5b028b6b283181d3f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/586807b340e4463bdd5bcfe5f91cff2c3c275711"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64419caf3fa5127a9f369adeee20238029bb3070"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139762.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139762"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"00402f49d26ffe991892bba76ccbdfed26538824"},{"fixed":"6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3"},{"fixed":"64419caf3fa5127a9f369adeee20238029bb3070"},{"fixed":"586807b340e4463bdd5bcfe5f91cff2c3c275711"},{"fixed":"1a7bcf5324c8e2de6512eca5b028b6b283181d3f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139762.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139762.json"}}],"schema_version":"1.9.2"}