[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122427-CVE-2023-54057-f0c5@gregkh>
Date: Wed, 24 Dec 2025 13:26:50 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54057: iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists