iommu/amd: Avoid stack buffer overflow from kernel cmdline
Summary
| CVE | CVE-2025-38676 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-08-26 13:15:32 UTC |
| Updated | 2026-05-12 13:16:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-787
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9 a732502bf3bbe859613b6d7b2b0313b11f0474ac git | Not specified |
| CNA | Linux | Linux | affected c513043e0afe6a8ba79d00af358655afabb576d2 0ad8509b468fa1058f4f400a1829f29e4ccc4de8 git | Not specified |
| CNA | Linux | Linux | affected 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60 9ff52d3af0ef286535749e14e3fe9eceb39a8349 git | Not specified |
| CNA | Linux | Linux | affected b6b26d86c61c441144c72f842f7469bb686e1211 8f80c633cba144f721d38d9380f23d23ab7db10e git | Not specified |
| CNA | Linux | Linux | affected b6b26d86c61c441144c72f842f7469bb686e1211 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a git | Not specified |
| CNA | Linux | Linux | affected b6b26d86c61c441144c72f842f7469bb686e1211 736db11c86f03e717fc4bf771d05efdf10d23acb git | Not specified |
| CNA | Linux | Linux | affected b6b26d86c61c441144c72f842f7469bb686e1211 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec git | Not specified |
| CNA | Linux | Linux | affected 5e97dc748d13fad582136ba0c8cec215c7aeeb17 git | Not specified |
| CNA | Linux | Linux | affected 63cd11165e5e0ea2012254c764003eda1f9adb7d git | Not specified |
| CNA | Linux | Linux | affected 6.3 | Not specified |
| CNA | Linux | Linux | unaffected 6.3 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.241 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.190 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.149 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.103 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.44 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.16.4 6.16.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.17 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC CN 4100 | affected V5.0 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/8f80c633cba144f721d38d9380f23d23ab7db10e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/10/msg00008.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| git.kernel.org/stable/c/9ff52d3af0ef286535749e14e3fe9eceb39a8349 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-032379.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/a732502bf3bbe859613b6d7b2b0313b11f0474ac | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4bdb0f78bddbfa77d3ab458a21dd9cec495d317a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/0ad8509b468fa1058f4f400a1829f29e4ccc4de8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/736db11c86f03e717fc4bf771d05efdf10d23acb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/10/msg00007.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.