From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 37183202F9C for ; Wed, 16 Apr 2025 14:14:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744812846; cv=none; b=ckCLtL8MFBWpLTG90+6C5jujwd2lzbu8e1XDTZKQWyYiXSmv7pNm+IGkIn+aJnhVfCZEhmKSbXCgO2JZAjeirGt7gLg9dvbES3bjCmB1uDP8BK1DEFRI5TR30HZWuRX5jUkB8Y92pkYLbUDkWhBXkV6YV+PfXcFlQcg1Yxo7Mtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744812846; c=relaxed/simple; bh=pdyB3GcXcD2k87foBv2mOvQc34yN+8BEyv3aT4OhyoE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r9Wlvexkzk3GRuPt7xr657C9lJSalQ1b5nRhZYIS0sfyEQd/NubA6avVY2Yf5j19nUR0Gpc7M2Ji8LtNjpLfC+2yqQEXC27kiEuEUVDJ10SjomLFTjWXFEQ2l3JKYA3WkSaFlZVfTYu86j6zUdZQHEEShzSATtMO9MG3P4S13ek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=InoAFPVB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="InoAFPVB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4151CC4CEE2; Wed, 16 Apr 2025 14:14:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744812845; bh=pdyB3GcXcD2k87foBv2mOvQc34yN+8BEyv3aT4OhyoE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=InoAFPVBOu3lq1VAGx21G4AhnL4czrtXHz3Q7LZwZgOPx7Uoz41X22iV8SKBLxTsr 9nyb9jl4siE5UQH4+PTsICfs8AoWAAwkOnIcMdlwxFJ3UY7NvBuBp86kfX/o7n3xQC cDWmHp368vdmCKjWW89flDP8ux+UUXfco6nXHWYo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58097: wifi: ath11k: fix RCU stall while reaping monitor destination ring Date: Wed, 16 Apr 2025 16:11:54 +0200 Message-ID: <2025041653-CVE-2024-58097-3fcb@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2689; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pdyB3GcXcD2k87foBv2mOvQc34yN+8BEyv3aT4OhyoE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d63ynWya/UiMba6ha88hsbPHS+4tvDvxZ8bT8/eEP Q11v73i7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJFL9lWLBkY2l+xP90dsb5 /1Z+v269OOTdHUuGBQsa+L8d3hvzUGZGkOU+3vmRS54wngQA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix RCU stall while reaping monitor destination ring While processing the monitor destination ring, MSDUs are reaped from the link descriptor based on the corresponding buf_id. However, sometimes the driver cannot obtain a valid buffer corresponding to the buf_id received from the hardware. This causes an infinite loop in the destination processing, resulting in a kernel crash. kernel log: ath11k_pci 0000:58:00.0: data msdu_pop: invalid buf_id 309 ath11k_pci 0000:58:00.0: data dp_rx_monitor_link_desc_return failed ath11k_pci 0000:58:00.0: data msdu_pop: invalid buf_id 309 ath11k_pci 0000:58:00.0: data dp_rx_monitor_link_desc_return failed Fix this by skipping the problematic buf_id and reaping the next entry, replacing the break with the next MSDU processing. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 The Linux kernel CVE team has assigned CVE-2024-58097 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit d5c65159f2895379e11ca13f62feabe93278985d and fixed in 6.14.2 with commit b4991fc41745645f8050506f5a8578bd11e6b378 Issue introduced in 5.6 with commit d5c65159f2895379e11ca13f62feabe93278985d and fixed in 6.15-rc1 with commit 16c6c35c03ea73054a1f6d3302a4ce4a331b427d 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-2024-58097 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/dp_rx.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/b4991fc41745645f8050506f5a8578bd11e6b378 https://git.kernel.org/stable/c/16c6c35c03ea73054a1f6d3302a4ce4a331b427d