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 3DE661E7668 for ; Wed, 4 Sep 2024 19:57:19 +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=1725479839; cv=none; b=FV6irWTzDrgiCsWLkFpxZ7Q4Fa1ShNv4V6Lpys0rylDtRZ31D7uwTS2vRBTsu89C4pMhPN7e2H+KcGw8kdlsOTdrjildd3yHq5ErfKj/ILG3WwRzq6uxDcEWYvKns8aKWs+/QjplYZ7WXJvzrc+eDuekXnNFHwvN09icdswJ8Yg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725479839; c=relaxed/simple; bh=m4ZDRtpg2zltJOVAjrbZtSghSBuWsZJVqZJnXLeJPps=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MzKu9sK8mkwQLQgSs3hEbsSb9rkINUNkPM+in9DV5/pa3gVuWg1DAIk9Gx0QDwBOt8A063oY7nlke+2iokonmCbyARWcTwtTmJeGv//f3UxQs8Zk2LgQbLRsuPAKM5rlV2vePev18xL8XM06GHvFVrGjLuJ1RTeiw694ndJPMwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BxFyeJZy; 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="BxFyeJZy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5674C4CECA; Wed, 4 Sep 2024 19:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725479839; bh=m4ZDRtpg2zltJOVAjrbZtSghSBuWsZJVqZJnXLeJPps=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BxFyeJZybZmluPbeujxFSdCHHgkVUCVJulTcLYDs1XJ7NZ/nhctBjVfumMPG4LZO/ Vq34R22BQDtrkWdcPeBgnY4hnbAEFrkwQdie0Ak7kbM96LQ/wF1DItu6oOT2zUggJj mCZXtPt0xdvHJq1xz44B1XAQZn69QLKhOcyZjOl8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-44988: net: dsa: mv88e6xxx: Fix out-of-bound access Date: Wed, 4 Sep 2024 21:56:53 +0200 Message-ID: <2024090446-CVE-2024-44988-516a@gregkh> X-Mailer: git-send-email 2.46.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=2771; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=m4ZDRtpg2zltJOVAjrbZtSghSBuWsZJVqZJnXLeJPps=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk3dteFXM3jfMnqmnB9a4rjw7LYgF/fvnJ7pNXZCaj7H xN/l7ixI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy2IphwaorcxoqY4uFzlzc yvts1VtXjbumtgwL1j0oy1rIuLf+rRxj/5VZau5aWxZHAQA= 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: dsa: mv88e6xxx: Fix out-of-bound access If an ATU violation was caused by a CPU Load operation, the SPID could be larger than DSA_MAX_PORTS (the size of mv88e6xxx_chip.ports[] array). The Linux kernel CVE team has assigned CVE-2024-44988 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 5.4.283 with commit d39f5be62f09 Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 5.10.225 with commit 050e7274ab21 Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 5.15.166 with commit a10d0337115a Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 6.1.107 with commit 18b2e833daf0 Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 6.6.48 with commit f7d8c2fabd39 Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 6.10.7 with commit f87ce03c652d Issue introduced in 5.0 with commit 75c05a74e745 and fixed in 6.11-rc5 with commit 528876d867a2 Issue introduced in 4.19.21 with commit 27a2fa009817 Issue introduced in 4.20.8 with commit 1657d2814e83 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-44988 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/dsa/mv88e6xxx/global1_atu.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/d39f5be62f098fe367d672b4dd4bc4b2b80e08e7 https://git.kernel.org/stable/c/050e7274ab2150cd212b2372595720e7b83a15bd https://git.kernel.org/stable/c/a10d0337115a6d223a1563d853d4455f05d0b2e3 https://git.kernel.org/stable/c/18b2e833daf049223ab3c2efdf8cdee08854c484 https://git.kernel.org/stable/c/f7d8c2fabd39250cf2333fbf8eef67e837f90a5d https://git.kernel.org/stable/c/f87ce03c652dba199aef15ac18ade3991db5477e https://git.kernel.org/stable/c/528876d867a23b5198022baf2e388052ca67c952