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 8EF7F16E88D for ; Fri, 12 Jul 2024 12:28:07 +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=1720787287; cv=none; b=LWjw6AFXE4uq2mOncCF307HZfGJtx1xuZxEUzRAxjO6Qvh5Q0d3TWX+2xM7eIp5GZVl42SPNQP7MztyYz+QdhktJNU58H/jdxEFYeXGF9EJK7a8ClsMgXP+tBndqXF7od6vXxHVQJtDXahFxC3tsKTW7Qo5Vgxb1m09LH3XEp+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787287; c=relaxed/simple; bh=J9w9kCkBk0m7k8SoXcOfmMUUB3idYZIUONCZ8JRtKio=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aCVhV41ucsPHMORitXVMImzyxV8u0LQdLCmIyQyq6IAxJuP5F4YMxuuhQo7uP2kIPTEx4NM4qipYth7l3ivJ7nYR+2XUESPc+vMpim5gn+CSVr9phCRC3uEFm/1J4iUS9Zlm9cx7GOQAZs8RE/GwH+7DBeVeUtm4Y2UX+Algd9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qhnj5fSt; 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="qhnj5fSt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 149C9C32782; Fri, 12 Jul 2024 12:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787287; bh=J9w9kCkBk0m7k8SoXcOfmMUUB3idYZIUONCZ8JRtKio=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qhnj5fSt7MpiEwFflhusiWcj1ALNlmBCvN90b+HRgJbGym0Rw8EmyRhGiwhY+rOwJ 3ZcgHjfSELjf3rDNSPF5QOsL+cKaOJJi68OAItRFyMPj7ypxhW+WKOn6tynsGsU3ta /9rklzYtwPgua5LiIJye+BfKMCdgy57DTUh0CM54= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40921: net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state Date: Fri, 12 Jul 2024 14:27:19 +0200 Message-ID: <2024071213-CVE-2024-40921-b535@gregkh> X-Mailer: git-send-email 2.45.2 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=2353; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J9w9kCkBk0m7k8SoXcOfmMUUB3idYZIUONCZ8JRtKio=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTFRXfavjet/O2NuJf+4V3ill0XL9dzPGYOkGlWqGoM 5rJz607YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLV7xhmswkeaHcMkBV9Ml/M X7Ms7dJffQ9ThgUnf8/rXK2fK+rpULBWh/WfAHeasSIA 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: net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state Pass the already obtained vlan group pointer to br_mst_vlan_set_state() instead of dereferencing it again. Each caller has already correctly dereferenced it for their context. This change is required for the following suspicious RCU dereference fix. No functional changes intended. The Linux kernel CVE team has assigned CVE-2024-40921 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.93 with commit 8ca9a750fc71 and fixed in 6.1.95 with commit 09f4337c27f5 Issue introduced in 6.6.33 with commit 4488617e5e99 and fixed in 6.6.35 with commit a6cc9e9a651b Issue introduced in 6.9.3 with commit e43dd2b1ec74 and fixed in 6.9.6 with commit d2dc02775fc0 Issue introduced in 6.10-rc1 with commit 3a7c1661ae13 and fixed in 6.10-rc4 with commit 36c92936e868 Issue introduced in 6.8.12 with commit a2b01e65d9ba 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-40921 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: net/bridge/br_mst.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/09f4337c27f5bdeb8646a6db91488cc2f7d537ff https://git.kernel.org/stable/c/a6cc9e9a651b9861efa068c164ee62dfba68c6ca https://git.kernel.org/stable/c/d2dc02775fc0c4eacaee833a0637e5958884a8e5 https://git.kernel.org/stable/c/36c92936e868601fa1f43da6758cf55805043509