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 1F0F234845E for ; Wed, 24 Dec 2025 13:11:56 +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=1766581916; cv=none; b=hwtT0q24vQGHAdHHVN6Iw6x8dYNsaxRb2DxSnNagWacMr8Bbh0jl2AWv7eWc38aU0F5VrcUS+0dXafF4plypoMO4vP6SfgKgMDUsZiR1nk81TL04SG5sQhA1erG2FxRjRaasOf8Dko1GaJue6uRx9pxFp88FVZpFlWOgdWHjl0s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581916; c=relaxed/simple; bh=oLTmK9Hj4DLaUQ0YCe7O3Rx47Af12TZNIFqm+gfwv4Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KBUtF6qzlByySjysvdY1BLbYeENBSiRtIntwKoakRWEhkFHQuv7lIqK2yLckLymW0vf+zfNeD+KFYqrHSHG3i4MaLniaCwJWtYKGjHOWX/7c3b9fzWyAYEFB22ypyNwJuXbTginqkvI7MEAP6mLMDr9l3NAtXl7/f3VjeReiFxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qMJjiVZD; 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="qMJjiVZD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 910D1C4CEFB; Wed, 24 Dec 2025 13:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581916; bh=oLTmK9Hj4DLaUQ0YCe7O3Rx47Af12TZNIFqm+gfwv4Y=; h=From:To:Cc:Subject:Date:Reply-To:From; b=qMJjiVZDME84rIURTQu1QBKjIOf9mC6vivZESvzwGPSBv3ngh73ftSlb+bHG0hncC 99DoI3hBhneFeIyB1r6CUcuRv+wNX9XMX4aBBr0GBdLfN1pdpot/1CUEK35HbCRS0V ZqNaO+gsOq97c/snMO8tyIQPNjQz8/wZdC4dOzBI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54150: drm/amd: Fix an out of bounds error in BIOS parser Date: Wed, 24 Dec 2025 14:07:47 +0100 Message-ID: <2025122426-CVE-2023-54150-dbc1@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2399; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2jx8glKHI5pSt3lzBzmyUB15N+/el4hQcmVFKL1RBss=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT4P2L/x+UjhMcK9ZOw/z6wNdmi0eEmcYN6ky7imZ+ nrqBq0THTEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR/wkM8/Q0pq8+bHhXqE2M jVljhlbSpdrPiQyTmPI6vbgXHD/jmPjA7nhSXm1H9WMA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amd: Fix an out of bounds error in BIOS parser The array is hardcoded to 8 in atomfirmware.h, but firmware provides a bigger one sometimes. Deferencing the larger array causes an out of bounds error. commit 4fc1ba4aa589 ("drm/amd/display: fix array index out of bound error in bios parser") fixed some of this, but there are two other cases not covered by it. Fix those as well. The Linux kernel CVE team has assigned CVE-2023-54150 to this issue. Affected and fixed versions =========================== Fixed in 5.10.181 with commit b8e7589f50b709b647b642531599e70707faf70c Fixed in 5.15.113 with commit 66acfe798cd08b36cfbb65a30fab3159811304a7 Fixed in 6.1.30 with commit 5675ecd2e0b00a4318ba1db1a1234e7d45b13d6b Fixed in 6.3.4 with commit dea2dbec716c38a0b73b6ad01d91e2b120cc5f1e Fixed in 6.4 with commit d116db180decec1b21bba31d2ff495ac4d8e1b83 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-2023-54150 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/amd/display/dc/bios/bios_parser2.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/b8e7589f50b709b647b642531599e70707faf70c https://git.kernel.org/stable/c/66acfe798cd08b36cfbb65a30fab3159811304a7 https://git.kernel.org/stable/c/5675ecd2e0b00a4318ba1db1a1234e7d45b13d6b https://git.kernel.org/stable/c/dea2dbec716c38a0b73b6ad01d91e2b120cc5f1e https://git.kernel.org/stable/c/d116db180decec1b21bba31d2ff495ac4d8e1b83