CVE-2025-38676
kernel: iommu/amd: Avoid stack buffer overflow from kernel cmdline
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 94 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.96.2-1.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-314.193.5.3.el8uek |
| 9 | bpftool +3 | 5.15.0-314.193.5.3.el9uek |
| 9 | kernel-uek +34 | 6.12.0-105.51.5.el9uek |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.241-1.ph4 |
| 5.0 | linux-esx +2 | 6.12.78-4.ph5 |
| 5.0 | bpftool +7 | 6.12.78-5.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | affected |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 3 releases · 9 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | kernel-livepatch-6-4-0-150600-10-55-rt | 1-150600.1.3.1 | SUSE-SU-2025:3751-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-23-73-default | 1-150600.13.3.1 | SUSE-SU-2025:03600-1 |
| 15.6 | cluster-md-kmp-default +18 | 6.4.0-150600.23.73.1 | SUSE-SU-2025:03600-1 |
| 15.6 | kernel-default-base | 6.4.0-150600.23.73.1.150600.12.32.1 | SUSE-SU-2025:03600-1 |
| 15.6 | kernel-azure +4 | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| 15.6 | kernel-coco +7 | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
8 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-35.1 | SUSE-SU-2025:20851-1 |
| 6.0 | kernel-default-base | 6.4.0-35.1.21.12 | SUSE-SU-2025:20851-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-37.1 | SUSE-SU-2025:20870-1 |
| 6.1 | kernel-default +6 | 6.4.0-35.1 | SUSE-SU-2025:20861-1 |
| 6.1 | kernel-default-base | 6.4.0-35.1.21.12 | SUSE-SU-2025:20861-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-37.1 | SUSE-SU-2025:20898-1 |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-150-174-273 +1 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +20 | 1:6.1.150-174.273.amzn2023 |
| 2023 | bpftool6-12 +20 | 1:6.12.46-66.121.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.244-1 |
| 11 | linux-6-1 | 6.1.153-1~deb11u1 |
| 12 | linux | 6.1.153-1 |
| 13 | linux | 6.12.48-1 |
| 14 | linux | 6.16.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +64 | 6.12.0-160000.6.1 | openSUSE-SU-2025:20081-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | openSUSE-SU-2025:20081-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux +1 | 5.10.244-1 |
| 12 | linux +1 | 6.1.153-1 |
| 13 | linux +1 | 6.12.48-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +1 | 5.15.0-163.173 |
| 24.04 | linux +1 | 6.8.0-100.100 |
ubuntu 3 releases · 37 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1049.49~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 | 5.15.0-1091.94~20.04.1 |
| 20.04-ESM | linux-riscv-5-15 | 5.15.0-1092.96~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1092.98~20.04.1 |
| 20.04-ESM | linux-oracle-5-15 | 5.15.0-1094.100~20.04.1 |
| 20.04-ESM | linux-aws-5-15 | 5.15.0-1097.104~20.04.1 |
41 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-38676
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- git.kernel.org https://git.kernel.org/linus/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec (6.17-rc3)
- git.kernel.org https://git.kernel.org/stable/c/0ad8509b468fa1058f4f400a1829f29e4ccc4de8
- git.kernel.org https://git.kernel.org/stable/c/4bdb0f78bddbfa77d3ab458a21dd9cec495d317a
- git.kernel.org https://git.kernel.org/stable/c/736db11c86f03e717fc4bf771d05efdf10d23acb
- git.kernel.org https://git.kernel.org/stable/c/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec
- git.kernel.org https://git.kernel.org/stable/c/8f80c633cba144f721d38d9380f23d23ab7db10e
- git.kernel.org https://git.kernel.org/stable/c/9ff52d3af0ef286535749e14e3fe9eceb39a8349
- git.kernel.org https://git.kernel.org/stable/c/a732502bf3bbe859613b6d7b2b0313b11f0474ac
Show all 42 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-38676.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-25757.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025082627-CVE-2025-38676-326c@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-38676
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-4
- ubuntu.com https://ubuntu.com/security/notices/USN-7909-5
- ubuntu.com https://ubuntu.com/security/notices/USN-7910-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7910-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7933-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7938-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-6
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-7
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-8
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8052-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8052-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8074-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8074-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8126-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-38676
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.