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 8EA8E330B3F for ; Wed, 24 Dec 2025 12:29:14 +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=1766579354; cv=none; b=No8J/p9TgU74e+vYWjFgaxIA+bKZLXnYcrTstfQ00pDVwo/a69DyiWSg5lw9wds/XB+9ir4NJ/1ZJGSmkBEU5nG7j69YC1PGThg4NdzQxYRjOQfNRCYxJ/ywFzueYUxkH+WCtu5fLas1eIcjxxgdQF0pjUttabYDyg+7MYJ58YQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579354; c=relaxed/simple; bh=YjaCLT2NOSS5odDc1eU/vsCZykPVUAfSC+5Lp+P5V38=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YcAn+/BCTbxwhqHD8DPBTB7Djaa83IhMsSW6EmpilkeWHeot3D5ikI7q7J3r1wIpfyQ/UXMezkvGxkuxS+2/i3S8Bjr8D/G1MgCt9tNnYgOaBGvZlrZg25Vaih/MIPYqvYUOSOwwLnX8m7krezlcRezxJsaXggsybZzD9mdN1TA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sy9/RCDF; 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="sy9/RCDF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1078AC4CEFB; Wed, 24 Dec 2025 12:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579354; bh=YjaCLT2NOSS5odDc1eU/vsCZykPVUAfSC+5Lp+P5V38=; h=From:To:Cc:Subject:Date:Reply-To:From; b=sy9/RCDF5IMngIMbEo7RFfbUWFhGDv/71wpzKWNHNg9Ze6bg/deuVJDN+bDursvEQ J8vUatsDJCgsvjvTSU9So/5QOQpNclsCBerLsT3FRzSnYxyOr9kFi4NPGg5lDXeujr 3oOn+nTD64/2cWXw+xzntIBD0qMOAlhMiuFHn/UY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54057: iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter Date: Wed, 24 Dec 2025 13:26:50 +0100 Message-ID: <2025122427-CVE-2023-54057-f0c5@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=2941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u4ZM885UJrbK7BvgOLETmtsCMgANrI+K7BcE0ZiPQRE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnetz+fmfJA7Avjprv/PthzfszpFcqVyoqueGCS9vqkV m2RStC1jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI6W2G+VH7muz9eVnXfWu6 tXoTz0GlhrSrExkWbMuVDhC49HiDsrOy9ePnDptmFdzSAQA= 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: iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter The 'acpiid' buffer in the parse_ivrs_acpihid function may overflow, because the string specifier in the format string sscanf() has no width limitation. Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-54057 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit ca3bf5d47cec8b7614bcb2e9132c40081d6d81db and fixed in 5.4.237 with commit 5e97dc748d13fad582136ba0c8cec215c7aeeb17 Issue introduced in 4.7 with commit ca3bf5d47cec8b7614bcb2e9132c40081d6d81db and fixed in 5.10.175 with commit f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9 Issue introduced in 4.7 with commit ca3bf5d47cec8b7614bcb2e9132c40081d6d81db and fixed in 5.15.103 with commit c513043e0afe6a8ba79d00af358655afabb576d2 Issue introduced in 4.7 with commit ca3bf5d47cec8b7614bcb2e9132c40081d6d81db and fixed in 6.1.16 with commit 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60 Issue introduced in 4.7 with commit ca3bf5d47cec8b7614bcb2e9132c40081d6d81db and fixed in 6.2.3 with commit 63cd11165e5e0ea2012254c764003eda1f9adb7d Issue introduced in 4.7 with commit ca3bf5d47cec8b7614bcb2e9132c40081d6d81db and fixed in 6.3 with commit b6b26d86c61c441144c72f842f7469bb686e1211 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-54057 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/iommu/amd/init.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/5e97dc748d13fad582136ba0c8cec215c7aeeb17 https://git.kernel.org/stable/c/f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9 https://git.kernel.org/stable/c/c513043e0afe6a8ba79d00af358655afabb576d2 https://git.kernel.org/stable/c/2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60 https://git.kernel.org/stable/c/63cd11165e5e0ea2012254c764003eda1f9adb7d https://git.kernel.org/stable/c/b6b26d86c61c441144c72f842f7469bb686e1211