{"id":"CVE-2026-139762","state":"PUBLISHED","title":"wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete","description":"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","publishedAt":"2026-11-30T13:37:44.397Z","updatedAt":"2026-11-30T13:37:44.397Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3","versionType":"git"},{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"64419caf3fa5127a9f369adeee20238029bb3070","versionType":"git"},{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"586807b340e4463bdd5bcfe5f91cff2c3c275711","versionType":"git"},{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"1a7bcf5324c8e2de6512eca5b028b6b283181d3f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/ahb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/ahb.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-11-30T13:56:04.579Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139762.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139762","state":"PUBLISHED","datePublished":"2026-11-30T13:37:44.397Z","dateUpdated":"2026-11-30T13:37:44.397Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.951Z"},"containers":{"cna":{"title":"wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3","versionType":"git"},{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"64419caf3fa5127a9f369adeee20238029bb3070","versionType":"git"},{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"586807b340e4463bdd5bcfe5f91cff2c3c275711","versionType":"git"},{"version":"00402f49d26ffe991892bba76ccbdfed26538824","status":"affected","lessThan":"1a7bcf5324c8e2de6512eca5b028b6b283181d3f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/ahb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/ahb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6bd846cdd06f1e7b8a4d6925c2559e5e449e66a3"},{"url":"https://git.kernel.org/stable/c/64419caf3fa5127a9f369adeee20238029bb3070"},{"url":"https://git.kernel.org/stable/c/586807b340e4463bdd5bcfe5f91cff2c3c275711"},{"url":"https://git.kernel.org/stable/c/1a7bcf5324c8e2de6512eca5b028b6b283181d3f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:44.397Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}