wifi: ath11k: cancel SSR work items during PCI shutdown
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f82d42577ee4a191b0ad0f0a3b49fc1935dff845, Kernel 53dd29e8aeb2a1b5f079178551836b85fc6b53df, Kernel 6dd3701facc0cee62d6682e49eed64499f9d0e43 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: cancel SSR work items during PCI shutdown A reboot can crash the kernel if it overlaps with WLAN firmware crash recovery (SSR). The crash is a NULL pointer dereference in the MHI teardown path while freeing DMA-backed MHI contexts. Simplified trace: dma_free_attrs mhi_deinit_dev_ctxt [mhi] ath11k_pci_power_down [ath11k_pci] ath11k_pci_shutdown [ath11k_pci] device_shutdown kernel_restart On the host side, SSR is driven by the MHI RDDM callback, which queues reset_work to perform device recovery. reset_work power-cycles the device by calling ath11k_hif_power_down() followed by ath11k_hif_power_up(). The power-down phase deinitializes MHI and frees DMA resources. Shutdown/reboot runs fully asynchronously with this RDDM-driven SSR recovery flow. As a result, the shutdown path (ath11k_pci_shutdown() -> ath11k_pci_power_down()) can race with the SSR recovery sequence. Fix this by canceling SSR-related work items during PCI shutdown, marking the device as unregistering, and serializing the RDDM callback path that checks and queues reset_work. This ensures that no new SSR recovery work can be queued once teardown has started, and that any in-flight recovery work is fully synchronized before device power-down, preventing MHI teardown and DMA resource freeing from running more than once. Note: This issue only affects PCI/MHI-based devices. AHB-based ath11k devices do not queue reset_work in normal SSR flows. Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04866.5-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=13da397f884d9c9a3fb6616206eeb6c6ab097287 <f82d42577ee4a191b0ad0f0a3b49fc1935dff845, >=13da397f884d9c9a3fb6616206eeb6c6ab097287 <53dd29e8aeb2a1b5f079178551836b85fc6b53df, >=13da397f884d9c9a3fb6616206eeb6c6ab097287 <6dd3701facc0cee62d6682e49eed64499f9d0e43, >=13da397f884d9c9a3fb6616206eeb6c6ab097287 <7630eb217166435e8a6dd501fa4ad304e2264407, >=13da397f884d9c9a3fb6616206eeb6c6ab097287 <8c79aac429b583301f387374ff37c59be671df87, >=13da397f884d9c9a3fb6616206eeb6c6ab097287 <daeb44fb8d700654f37f54d1ee36cd67645d0d34, =5.19 | f82d42577ee4a191b0ad0f0a3b49fc1935dff845, 53dd29e8aeb2a1b5f079178551836b85fc6b53df, 6dd3701facc0cee62d6682e49eed64499f9d0e43, 7630eb217166435e8a6dd501fa4ad304e2264407, 8c79aac429b583301f387374ff37c59be671df87, daeb44fb8d700654f37f54d1ee36cd67645d0d34 |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.19.0 <7.1.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=5.19.0 <6.1.191 | 6.18.53, 7.1.5, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket