CVE-2026-139762

wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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

Analysis

AI-generated

Technical impact

The ath11k Wi-Fi driver in the Linux kernel can dereference a null pointer when the driver is removed while QMI initialization has not finished. This bug causes a kernel panic that crashes the entire system. The failure occurs during cleanup of uninitialized CE pipes, leading to a stack trace that terminates the kernel with an unexpected fault. The primary impact is a denial of service that renders the affected device unusable until it is rebooted or the driver is reloaded.

Affected Systems

The flaw affects Linux kernel implementations that include the ath11k driver for Qualcomm Atheros 11k family hardware, notably the WCN6750 wireless chip. Any distribution or custom kernel that ships the unpatched ath11k driver, regardless of vendor, is susceptible. Users of embedded or mobile devices running a kernel without the fix are at risk.

Risk and Exploitability

Exploitability is limited to environments where the attacker can control the driver removal or the hardware initialization sequence, typically requiring local or low-privilege access. There is no evidence of remote exploitation vectors. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The CVSS score is not specified, but a kernel crash represents a severe denial‑of‑service impact. Monitoring and prompt patching reduce the likelihood of a successful attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the fix for the ath11k driver, ensuring the call to ath11k_ahb_remove_prepare() is present before removing the driver.
  • After updating, reboot the system to reload the driver and confirm that no kernel panic occurs during initialization or removal.
  • Configure kernel logging (dmesg or journalctl) to alert on any future ath11k_hal_srng_access_begin or related panic messages, and investigate if the issue recurs.

Generated by OpenCVE AI on December 1, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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
Title wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM