Linux
iommu/amd: Avoid stack buffer overflow from kernel cmdline
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, < a732502bf3bbe859613b6d7b2b0313b11f0474ac
- >= c513043e0afe6a8ba79d00af358655afabb576d2, < 0ad8509b468fa1058f4f400a1829f29e4ccc4de8
- >= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, < 9ff52d3af0ef286535749e14e3fe9eceb39a8349
- >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8f80c633cba144f721d38d9380f23d23ab7db10e
- >= b6b26d86c61c441144c72f842f7469bb686e1211, < 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a
- >= b6b26d86c61c441144c72f842f7469bb686e1211, < 736db11c86f03e717fc4bf771d05efdf10d23acb
- >= b6b26d86c61c441144c72f842f7469bb686e1211, < 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec
- 5e97dc748d13fad582136ba0c8cec215c7aeeb17
- 63cd11165e5e0ea2012254c764003eda1f9adb7d
- >= 5.10.175, < 5.10.241
- >= 5.15.103, < 5.15.190
- >= 6.1.16, < 6.1.149
- >= 5.4.237, < 5.5
- >= 6.2.3, < 6.3
Fixed in a732502bf3bbe859613b6d7b2b0313b11f0474ac, 0ad8509b468fa1058f4f400a1829f29e4ccc4de8, 9ff52d3af0ef286535749e14e3fe9eceb39a8349, 8f80c633cba144f721d38d9380f23d23ab7db10e, 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a, 736db11c86f03e717fc4bf771d05efdf10d23acb, 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec, 5.10.241, 5.15.190, 6.1.149, 5.5, 6.3
- 6.3
Fixed in 0, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4, 6.17
Mitigation
Upgrade Linux to a732502bf3bbe859613b6d7b2b0313b11f0474ac or 0ad8509b468fa1058f4f400a1829f29e4ccc4de8 or 9ff52d3af0ef286535749e14e3fe9eceb39a8349 or 8f80c633cba144f721d38d9380f23d23ab7db10e or 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a or 736db11c86f03e717fc4bf771d05efdf10d23acb or 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec or 5.10.241 or 5.15.190 or 6.1.149 or 5.5 or 6.3 or later.
Upgrade Linux to 0 or 5.10.241 or 5.15.190 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later.
Timeline
Days relative to CVE publicationFirst public PoC 12 h after publication; not in CISA KEV. First PoC: 14mb1v45h/CVE-2025-38676 (created 27 Aug 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 14mb1v45h/CVE-2025-38676 | 27 Aug 2025 +12 h | 1 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.