Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8407D386435 for ; Sat, 15 Aug 2026 06:39:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775948; cv=none; b=sDjGyZMzDlJiXhTTs1RtetgzhS32VBvL5ovBmB81YTVI4A541tsGlfgP8wytDiMRKf1MHJllqOIU+L335TYD73DGfFwC5uwOzagF3BIDCB3kPnWUT0cEri4I/m5ty2MTqhtfuGMPmlIWIAsEOzaQIhV7ptALaKT7myLcjQTiRWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775948; c=relaxed/simple; bh=CE2EuZjmHhug/MXjbhyqWZs0YSxCMTU6cAT4t5mNmn4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DXoFrLYom65lnb0qTjO5bkNNovQGBBA2e8B5Ke0HwE0QphvQsXqF9EhfXn6l5GCY8F/+C8jhB0dgZBVcYtrhuXNSBZKGRKkAsoppGJmrcnfGyWbYU2LHBOUDGqGS+nnR/qkxL7LENCtLxSb0KRt52Nv3EakT07ZG29JWxpmrDZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xjISCqHW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xjISCqHW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD2C11F000E9; Sat, 15 Aug 2026 06:39:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775947; bh=n8xqnBV0LK5TvMlGisU5+49gNO0UKBewJh5mmA4y+Dc=; h=From:To:Cc:Subject:Date:Reply-To; b=xjISCqHWBS2p8b7Gq3XYXcWPR69ak5XVd5UAeOqL99+WKMqws2tOwoj/74/TWP5oB PvEl9dZyOWv8bXgnvgiNPnaUPr83HN6XnAMBJL8aXl9rOlcC4r5tIRIjXYYfztIwFt jHDTYZ5bNVukceY4m/JR4XevNVmABCdCDuNx04xs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74407: wifi: ath11k: cancel SSR work items during PCI shutdown Date: Sat, 15 Aug 2026 15:12:14 +0900 Message-ID: <2026081510-CVE-2026-74407-57b4@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3329; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xwK8WAvvBExI4cXY4rEu/cq1tD1aGqeDDa4fN3b9aNg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjHJXNBwKnvpmlT4SXCm2cXrhs7kyjFP0XNxeGsc4a N1hy7vUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMRS2SYw+NiXVP8fcfB+9/V lNX9pHNC5zzZxrBgQ05TufYpMwvB1sNMaxzneywP+FEAAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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 The Linux kernel CVE team has assigned CVE-2026-74407 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 13da397f884d9c9a3fb6616206eeb6c6ab097287 and fixed in 7.1.5 with commit 53dd29e8aeb2a1b5f079178551836b85fc6b53df Issue introduced in 5.19 with commit 13da397f884d9c9a3fb6616206eeb6c6ab097287 and fixed in 7.2-rc1 with commit 8c79aac429b583301f387374ff37c59be671df87 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-74407 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/ath/ath11k/mhi.c drivers/net/wireless/ath/ath11k/pci.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/53dd29e8aeb2a1b5f079178551836b85fc6b53df https://git.kernel.org/stable/c/8c79aac429b583301f387374ff37c59be671df87