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 04ABB38F9A for ; Sun, 19 May 2024 10:12:51 +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=1716113571; cv=none; b=PCuVvCSpmstIy1gYMg+G3MzXovO0S28CWEmXoY9D6fJS/HAvcuQYr/EleVVMMwOPc5ieJWXNWnBTrtIM8pHnLafBdF2wwYYkshgCPMYh6rxJZ7ag07o+cT2Jzm92sHn4GUekltvx/0WAZaVNc1qE2PP8YwWmnemRjlK5WVRy5Sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716113571; c=relaxed/simple; bh=I4Eu94NnI9lU5bF/VrxHebtEBLxhgnPchZKnBSN+ag0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n56ZJlVEvGAfjs86m49PwLqioXTRqk/7hyLJzqHWZpY0gOp1+TjbgamuOZ7aL++XWMHQOgaXvDELtXXECk+xmoWdXF2HzDVXBNj8vFFYDWgD4J8CBX2iMvSO9gtOf3OGZ5zF28aoIkpBOD0y44RcPPjE4IEC6SX74e9g8AQFvIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vDTgrGU7; 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="vDTgrGU7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E78CC32781; Sun, 19 May 2024 10:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716113570; bh=I4Eu94NnI9lU5bF/VrxHebtEBLxhgnPchZKnBSN+ag0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vDTgrGU71Wad29/7jZIqjArPj7PLotg0hcgAeWihxzHA9chGWWkF8qVg+F+HTwOuu ZKW8OHQAvBgvq1fdsQuaC7CdfLO6uNSfZO21dMemRs+XkYiwqhseYjFsBhpI5mT0+8 LLJTHA9oMWGpUPGt5OCBw6tt995JO/S4CKoBw1XE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35946: wifi: rtw89: fix null pointer access when abort scan Date: Sun, 19 May 2024 12:11:40 +0200 Message-ID: <2024051921-CVE-2024-35946-c2c2@gregkh> X-Mailer: git-send-email 2.45.1 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=1779; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I4Eu94NnI9lU5bF/VrxHebtEBLxhgnPchZKnBSN+ag0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeFzy3SKg5VNTbTuqIyb9d+OT7AjP3VteyHSKFGTkq9 tOU2xU6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJrVBgWzD5/MOQqX//K9yHv HCR9E+Z+4bm2nWHBqWb1a1uuChUrT3i6lnulxCQx7jY3AA== 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: rtw89: fix null pointer access when abort scan During cancel scan we might use vif that weren't scanning. Fix this by using the actual scanning vif. The Linux kernel CVE team has assigned CVE-2024-35946 to this issue. Affected and fixed versions =========================== Fixed in 6.6.27 with commit b34d64e9aa55 Fixed in 6.8.6 with commit 4f11c741908d Fixed in 6.9 with commit 7e11a2966f51 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-35946 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/realtek/rtw89/mac80211.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/b34d64e9aa5505e3c84570aed5c757f1839573e8 https://git.kernel.org/stable/c/4f11c741908dab7dd48fa5a986b210d4fc74ca8d https://git.kernel.org/stable/c/7e11a2966f51695c0af0b1f976a32d64dee243b2