[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025082627-CVE-2025-38676-326c@gregkh>
Date: Tue, 26 Aug 2025 15:08:28 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38676: iommu/amd: Avoid stack buffer overflow from kernel cmdline
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-38676 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit b6b26d86c61c441144c72f842f7469bb686e1211 and fixed in 6.17-rc3 with commit 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec
Issue introduced in 5.4.237 with commit 5e97dc748d13fad582136ba0c8cec215c7aeeb17
Issue introduced in 5.10.175 with commit f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9
Issue introduced in 5.15.103 with commit c513043e0afe6a8ba79d00af358655afabb576d2
Issue introduced in 6.1.16 with commit 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60
Issue introduced in 6.2.3 with commit 63cd11165e5e0ea2012254c764003eda1f9adb7d
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-38676
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/iommu/amd/init.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec
Powered by blists - more mailing lists