[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025063054-CVE-2025-38088-4f48@gregkh>
Date: Mon, 30 Jun 2025 09:29:52 +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-38088: powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap
memtrace mmap issue has an out of bounds issue. This patch fixes the by
checking that the requested mapping region size should stay within the
allocated region size.
The Linux kernel CVE team has assigned CVE-2025-38088 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit 08a022ad3dfafc7e33d4529015e14bb75179cacc and fixed in 5.15.186 with commit 81260c41b518b6f32c701425f1427562fa92f293
Issue introduced in 5.13 with commit 08a022ad3dfafc7e33d4529015e14bb75179cacc and fixed in 6.1.142 with commit 620b77b23c41a6546e5548ffe2ea3ad71880dde4
Issue introduced in 5.13 with commit 08a022ad3dfafc7e33d4529015e14bb75179cacc and fixed in 6.6.94 with commit 8635e325b85dfb9ddebdfaa6b5605d40d16cd147
Issue introduced in 5.13 with commit 08a022ad3dfafc7e33d4529015e14bb75179cacc and fixed in 6.12.34 with commit 9c340b56d60545e4a159e41523dd8b23f81d3261
Issue introduced in 5.13 with commit 08a022ad3dfafc7e33d4529015e14bb75179cacc and fixed in 6.15.3 with commit bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39
Issue introduced in 5.13 with commit 08a022ad3dfafc7e33d4529015e14bb75179cacc and fixed in 6.16-rc2 with commit cd097df4596f3a1e9d75eb8520162de1eb8485b2
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-38088
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:
arch/powerpc/platforms/powernv/memtrace.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/81260c41b518b6f32c701425f1427562fa92f293
https://git.kernel.org/stable/c/620b77b23c41a6546e5548ffe2ea3ad71880dde4
https://git.kernel.org/stable/c/8635e325b85dfb9ddebdfaa6b5605d40d16cd147
https://git.kernel.org/stable/c/9c340b56d60545e4a159e41523dd8b23f81d3261
https://git.kernel.org/stable/c/bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39
https://git.kernel.org/stable/c/cd097df4596f3a1e9d75eb8520162de1eb8485b2
Powered by blists - more mailing lists