CVE-2023-54057 iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter

Not scored Published Updated

A buffer overflow in the Linux kernel's AMD IOMMU driver allows local attackers to cause a crash or potentially execute code via the ivrs_acpihid parameter.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-54057?

CVE-2023-54057 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2023-54057?

How do I fix CVE-2023-54057?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-54057 being exploited?

There is no known exploitation of CVE-2023-54057 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2023-54057, DEBIAN-CVE-2023-54057, GHSA-25gw-vwhh-r379, UBUNTU-CVE-2023-54057.

Is CVE-2023-54057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free