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 72A351AAE04 for ; Thu, 20 Jun 2024 11:16:53 +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=1718882213; cv=none; b=W2/1UMN1jX0r7uurIz/rX6Y6uNi1JroBRCgzdyTYmXPFV4BkIkDbLDUEwn8+T7v+m1J4/38kAVy8mcDOpmSAWmIQJaix/OUWtW7QTbDeUsCcF4ADAxmvy/ASQ0GhysDKtluwAGPy4Hyw41kTRaNOhxbVnYU5I/p0uJXDIb6FhsU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718882213; c=relaxed/simple; bh=RLyU7bL9wK46SovCaSp1HWQO7HqswUtquLoENPN9QDY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YBDYhlI/nqUSl5JTENKZ1+HBfi5NRO8+P56ygn35KMrag5razEXIKCZSYMim7SeAmfVWK/mUQi4iuPWpS1r1Ds+Mh8z1zcGWP5XMFc38pNDp1SxvADDflOuf9S8nV8bTg6OPusXlqBGUCF8irIa4liJuUW5zEEEwKbRgZElT/KM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UI+EBMnR; 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="UI+EBMnR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6913C2BD10; Thu, 20 Jun 2024 11:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718882213; bh=RLyU7bL9wK46SovCaSp1HWQO7HqswUtquLoENPN9QDY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UI+EBMnR4Bri1TGfi95Tpy8r1IhbZTJ7LlekTAV9FfS419nLN/O3mDw00iKO1B5RT j+FmKhSP/fi9BwzrrGUWPL8stmOeFPeJ0vw132wDBMpGkFcqlNP2HwY9e9W00LeJGS PE/EKRukLwBJGJuoEzTwD9c/888zx3D+ml5HOsJo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48732: drm/nouveau: fix off by one in BIOS boundary checking Date: Thu, 20 Jun 2024 13:16:12 +0200 Message-ID: <2024062000-CVE-2022-48732-9d9b@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=3192; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RLyU7bL9wK46SovCaSp1HWQO7HqswUtquLoENPN9QDY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkl/AU801tu3t7f/n9GQvw7g/3neGOm5m9wze79s0Xjz EPp9X47O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiHgcYFrQaRd90P6mx+aBk yBWr0g1Xn7FyOjAsOO74eH/wSqYohv+71P7euyCmkpXNBAA= 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: drm/nouveau: fix off by one in BIOS boundary checking Bounds checking when parsing init scripts embedded in the BIOS reject access to the last byte. This causes driver initialization to fail on Apple eMac's with GeForce 2 MX GPUs, leaving the system with no working console. This is probably only seen on OpenFirmware machines like PowerPC Macs because the BIOS image provided by OF is only the used parts of the ROM, not a power-of-two blocks read from PCI directly so PCs always have empty bytes at the end that are never accessed. The Linux kernel CVE team has assigned CVE-2022-48732 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 4.9.300 with commit d4b746e60fd8 Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 4.14.265 with commit 909d3ec1bf9f Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 4.19.228 with commit b2a21669ee98 Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 5.4.178 with commit acc887ba8833 Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 5.10.99 with commit f071d9fa8575 Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 5.15.22 with commit d877e814a62b Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 5.16.8 with commit e7c36fa8a1e6 Issue introduced in 4.8 with commit 4d4e9907ff57 and fixed in 5.17 with commit 1b777d4d9e38 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-2022-48732 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/gpu/drm/nouveau/nvkm/subdev/bios/base.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/d4b746e60fd8eaa8016e144223abe91158edcdad https://git.kernel.org/stable/c/909d3ec1bf9f0ec534bfc081b77c0836fea7b0e2 https://git.kernel.org/stable/c/b2a21669ee98aafc41c6d42ef15af4dab9e6e882 https://git.kernel.org/stable/c/acc887ba88333f5fec49631f12d8cc7ebd95781c https://git.kernel.org/stable/c/f071d9fa857582d7bd77f4906691f73d3edeab73 https://git.kernel.org/stable/c/d877e814a62b7de9069aeff8bc1d979dfc996e06 https://git.kernel.org/stable/c/e7c36fa8a1e63b08312162179c78a0c7795ea369 https://git.kernel.org/stable/c/1b777d4d9e383d2744fc9b3a09af6ec1893c8b1a