CVE-2023-54057
iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
Check your servers for CVE-2023-54057
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54057 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, before 5e97dc748d13fad582136ba0c8cec215c7aeeb17 affected from ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, before f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9 affected from ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, before c513043e0afe6a8ba79d00af358655afabb576d2 affected from ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, before 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60 affected from ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, before 63cd11165e5e0ea2012254c764003eda1f9adb7d affected from ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, before b6b26d86c61c441144c72f842f7469bb686e1211
Other versions: unaffected
|
| Linux |
affected 4.7 unaffected before 4.7 unaffected from 5.4.237 up to and including 5.4.* unaffected from 5.10.175 up to and including 5.10.* unaffected from 5.15.103 up to and including 5.15.* unaffected from 6.1.16 up to and including 6.1.* unaffected from 6.2.3 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54057 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54057
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54057
trivy image --scanners vuln IMAGE | grep CVE-2023-54057
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5e97dc748d13fad582136ba0c8cec215c7aeeb17 git.kernel.org
- https://git.kernel.org/stable/c/f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9 git.kernel.org
- https://git.kernel.org/stable/c/c513043e0afe6a8ba79d00af358655afabb576d2 git.kernel.org
- https://git.kernel.org/stable/c/2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60 git.kernel.org
- https://git.kernel.org/stable/c/63cd11165e5e0ea2012254c764003eda1f9adb7d git.kernel.org
- https://git.kernel.org/stable/c/b6b26d86c61c441144c72f842f7469bb686e1211 git.kernel.org
Source: the record CVE-2023-54057 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse