CVE-2026-74407 in Linuxinfo

Summary

by MITRE • 08/15/2026

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

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 08/15/2026

The vulnerability described represents a critical race condition in the Linux kernel's ath11k wireless driver implementation that can lead to kernel crashes during system reboot operations. This flaw specifically impacts PCI/MHI-based wireless devices, where the interaction between the shutdown sequence and firmware crash recovery mechanisms creates a scenario where multiple concurrent operations attempt to manipulate the same hardware resources. The issue manifests as a NULL pointer dereference within the MHI (Modem Handover Interface) teardown path during DMA context deallocation, fundamentally compromising system stability during critical operations.

The technical root cause stems from the asynchronous execution of two distinct operational flows within the wireless subsystem. During normal operation, the MHI RDDM (Remote Debug Data Manager) callback mechanism orchestrates firmware crash recovery by queuing reset_work items that execute device power cycling through ath11k_hif_power_down() and ath11k_hif_power_up() functions. Meanwhile, system shutdown operations proceed independently through the ath11k_pci_shutdown() function chain, which ultimately calls ath11k_pci_power_down() to deinitialize the MHI interface and free associated DMA resources. This parallel execution creates a timing window where shutdown procedures can overlap with active SSR recovery operations, leading to resource contention and memory corruption.

The operational impact of this vulnerability extends beyond simple system instability to potentially compromise the integrity of the entire kernel runtime environment. When a reboot occurs during an active firmware crash recovery sequence, the concurrent execution of MHI teardown operations and DMA resource deallocation results in the NULL pointer dereference that terminates kernel execution. This represents a particularly dangerous condition because it can occur during critical system maintenance or emergency shutdown scenarios, potentially leading to data loss or system compromise. The vulnerability is specifically confined to PCI/MHI-based devices, with AHB-based ath11k implementations unaffected due to their different SSR flow characteristics.

The proposed fix implements several key mitigation strategies that address the core race condition through proper synchronization and resource management. The solution involves canceling SSR-related work items before initiating PCI shutdown procedures, which prevents new recovery operations from being queued during teardown. Additionally, the implementation marks the device as unregistering to prevent further interaction with the recovery mechanism, while serializing the RDDM callback path that checks and queues reset_work items. This approach ensures proper ordering of operations by preventing new SSR work from being scheduled once the teardown process has begun, while also ensuring any in-flight recovery work completes before device power-down occurs. The fix aligns with established security practices for resource management and concurrent operation handling, effectively eliminating the possibility of double-free or race condition scenarios during system shutdown.

This vulnerability demonstrates a classic example of improper synchronization in kernel-level device drivers, where the lack of proper mutual exclusion mechanisms between system shutdown operations and firmware recovery flows creates exploitable conditions. The flaw relates to CWE-362 (Concurrent Execution using Shared Resource with Unprotected Critical Section) and can be mapped to ATT&CK technique T1547.001 (Registry Run Keys/Startup Folder) in scenarios where system stability is compromised during boot/shutdown cycles, though the primary concern here is kernel-level resource management rather than persistence mechanisms. The fix ensures proper ordering through kernel workqueue management and device state tracking, providing a robust solution that maintains both system reliability and hardware compatibility across different wireless device configurations.

The testing validation confirms the effectiveness of this mitigation approach on WCN6855 hardware revision 2.1, demonstrating that the PCI/MHI specific implementation properly handles the race condition scenario while maintaining normal device operation under typical conditions. This vulnerability highlights the importance of considering all possible execution paths and timing relationships in kernel driver development, particularly when dealing with asynchronous operations and shared hardware resources. The solution maintains backward compatibility while providing enhanced stability for system shutdown scenarios that previously risked kernel panic conditions.

Responsible

Linux

Reservation

08/15/2026

Disclosure

08/15/2026

Moderation

accepted

CPE

ready

EPSS

0.00155

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!