CVE-2025-38676 iommu/amd: Avoid stack buffer overflow from kernel cmdline

High 7.8 Published Updated

A stack buffer overflow in the Linux kernel's AMD IOMMU driver allows attackers with kernel command line access to potentially execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38676?

CVE-2025-38676 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 26 Aug 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: Avoid stack buffer overflow from kernel cmdline

While the kernel command line is considered trusted in most environments, avoid writing 1 byte past the end of "acpiid" if the "str" argument is maximum length.

Weakness: CWE-787

Which versions are affected by CVE-2025-38676?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38676?

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-2025-38676 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-66692, AZL-73815, BELL-CVE-2025-38676, DEBIAN-CVE-2025-38676, GHSA-4grh-3wrc-7rxm, ROOT-OS-DEBIAN-11-CVE-2025-38676 and 5 more.

Is CVE-2025-38676 in your software?

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

Check your SBOMs for free