CVE-2025-38676
iommu/amd: Avoid stack buffer overflow from kernel cmdline
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, < a732502bf3bbe859613b6d7b2b0313b11f0474ac; >= c513043e0afe6a8ba79d00af358655afabb576d2, < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8; >= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, < 9ff52d3af0ef286535749e14e3fe9eceb39a8349; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8f80c633cba144f721d38d9380f23d23ab7db10e; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 736db11c86f03e717fc4bf771d05efdf10d23acb; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec; 5e97dc748d13fad582136ba0c8cec215c7aeeb17; 63cd11165e5e0ea2012254c764003eda1f9adb7d; >= 5.10.175, < 5.10.241; …
- Anyone running Linux 6.3
Vulnerability facts
- Affected
- Linux >= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, < a732502bf3bbe859613b6d7b2b0313b11f0474ac; >= c513043e0afe6a8ba79d00af358655afabb576d2, < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8; >= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, < 9ff52d3af0ef286535749e14e3fe9eceb39a8349; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8f80c633cba144f721d38d9380f23d23ab7db10e; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 736db11c86f03e717fc4bf771d05efdf10d23acb; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec; 5e97dc748d13fad582136ba0c8cec215c7aeeb17; 63cd11165e5e0ea2012254c764003eda1f9adb7d; >= 5.10.175, < 5.10.241; …; Linux 6.3
- Fixed in
- Linux 0ad8509b468fa1058f4f400a1829f29e4ccc4de8, Linux 9ff52d3af0ef286535749e14e3fe9eceb39a8349, Linux 8f80c633cba144f721d38d9380f23d23ab7db10e, Linux 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a, Linux 736db11c86f03e717fc4bf771d05efdf10d23acb, Linux 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec, Linux 5.10.241
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, < a732502bf3bbe859613b6d7b2b0313b11f0474ac; >= c513043e0afe6a8ba79d00af358655afabb576d2, < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8; >= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, < 9ff52d3af0ef286535749e14e3fe9eceb39a8349; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8f80c633cba144f721d38d9380f23d23ab7db10e; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 736db11c86f03e717fc4bf771d05efdf10d23acb; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec; 5e97dc748d13fad582136ba0c8cec215c7aeeb17; 63cd11165e5e0ea2012254c764003eda1f9adb7d; >= 5.10.175, < 5.10.241; … | — | cvelist |
| Linux | 6.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38676. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38676.md Affected: Linux >= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, < a732502bf3bbe859613b6d7b2b0313b11f0474ac; >= c513043e0afe6a8ba79d00af358655afabb576d2, < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8; >= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, < 9ff52d3af0ef286535749e14e3fe9eceb39a8349; >= b6b26d86c61c441144c72f8… Fixed in: Linux 0ad8509b468fa1058f4f400a1829f29e4ccc4de8, Linux 9ff52d3af0ef286535749e14e3fe9eceb39a8349, Linux 8f80c633cba144f721d38d9380f23d23ab7db10e, Linux 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a, Linux 736db11c86f03e717fc4bf771d05efdf10d23acb, Linux 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec, Linux 5.10.… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/a732502bf3bbe859613b6d7b2b0313b11f0474ac
- https://git.kernel.org/stable/c/0ad8509b468fa1058f4f400a1829f29e4ccc4de8
- https://git.kernel.org/stable/c/9ff52d3af0ef286535749e14e3fe9eceb39a8349
- https://git.kernel.org/stable/c/8f80c633cba144f721d38d9380f23d23ab7db10e
- https://git.kernel.org/stable/c/4bdb0f78bddbfa77d3ab458a21dd9cec495d317a
- https://git.kernel.org/stable/c/736db11c86f03e717fc4bf771d05efdf10d23acb
- https://git.kernel.org/stable/c/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec
FAQ
Is CVE-2025-38676 being exploited?
There is no confirmed exploitation: CVE-2025-38676 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38676?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38676?
Linux >= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, < a732502bf3bbe859613b6d7b2b0313b11f0474ac; >= c513043e0afe6a8ba79d00af358655afabb576d2, < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8; >= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, < 9ff52d3af0ef286535749e14e3fe9eceb39a8349; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8f80c633cba144f721d38d9380f23d23ab7db10e; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 736db11c86f03e717fc4bf771d05efdf10d23acb; >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec; 5e97dc748d13fad582136ba0c8cec215c7aeeb17; 63cd11165e5e0ea2012254c764003eda1f9adb7d; >= 5.10.175, < 5.10.241; …; Linux 6.3.
Is there a fix for CVE-2025-38676?
Yes. Fixed in Linux 0ad8509b468fa1058f4f400a1829f29e4ccc4de8, Linux 9ff52d3af0ef286535749e14e3fe9eceb39a8349, Linux 8f80c633cba144f721d38d9380f23d23ab7db10e, Linux 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a, Linux 736db11c86f03e717fc4bf771d05efdf10d23acb, Linux 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec, Linux 5.10.241. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38676?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.