{"id":"CVE-2025-38676","summary":"iommu/amd: Avoid stack buffer overflow from kernel cmdline","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Avoid stack buffer overflow from kernel cmdline\n\nWhile the kernel command line is considered trusted in most environments,\navoid writing 1 byte past the end of \"acpiid\" if the \"str\" argument is\nmaximum length.","modified":"2026-04-02T12:48:05.047787Z","published":"2025-08-26T13:07:48.761Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03601-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3725-1","SUSE-SU-2025:3751-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38676.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ad8509b468fa1058f4f400a1829f29e4ccc4de8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4bdb0f78bddbfa77d3ab458a21dd9cec495d317a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/736db11c86f03e717fc4bf771d05efdf10d23acb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f80c633cba144f721d38d9380f23d23ab7db10e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ff52d3af0ef286535749e14e3fe9eceb39a8349"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a732502bf3bbe859613b6d7b2b0313b11f0474ac"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38676.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38676"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9"},{"fixed":"a732502bf3bbe859613b6d7b2b0313b11f0474ac"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c513043e0afe6a8ba79d00af358655afabb576d2"},{"fixed":"0ad8509b468fa1058f4f400a1829f29e4ccc4de8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60"},{"fixed":"9ff52d3af0ef286535749e14e3fe9eceb39a8349"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b6b26d86c61c441144c72f842f7469bb686e1211"},{"fixed":"8f80c633cba144f721d38d9380f23d23ab7db10e"},{"fixed":"4bdb0f78bddbfa77d3ab458a21dd9cec495d317a"},{"fixed":"736db11c86f03e717fc4bf771d05efdf10d23acb"},{"fixed":"8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"5e97dc748d13fad582136ba0c8cec215c7aeeb17"},{"last_affected":"63cd11165e5e0ea2012254c764003eda1f9adb7d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38676.json"}}],"schema_version":"1.7.5"}