# CVE-2025-38088: powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-06-30T07:29:44.086Z
- Modified: 2026-06-17T09:16:01.837Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 08a022ad3dfafc7e33d4529015e14bb75179cacc before 81260c41b518b6f32c701425f1427562fa92f293; from 08a022ad3dfafc7e33d4529015e14bb75179cacc before 620b77b23c41a6546e5548ffe2ea3ad71880dde4; from 08a022ad3dfafc7e33d4529015e14bb75179cacc before 8635e325b85dfb9ddebdfaa6b5605d40d16cd147; from 08a022ad3dfafc7e33d4529015e14bb75179cacc before 9c340b56d60545e4a159e41523dd8b23f81d3261; from 08a022ad3dfafc7e33d4529015e14bb75179cacc before bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39; from 08a022ad3dfafc7e33d4529015e14bb75179cacc before cd097df4596f3a1e9d75eb8520162de1eb8485b2; 5.13 (not affected: before 5.13; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.13 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/81260c41b518b6f32c701425f1427562fa92f293> (patch)
- <https://git.kernel.org/stable/c/620b77b23c41a6546e5548ffe2ea3ad71880dde4> (patch)
- <https://git.kernel.org/stable/c/8635e325b85dfb9ddebdfaa6b5605d40d16cd147> (patch)
- <https://git.kernel.org/stable/c/9c340b56d60545e4a159e41523dd8b23f81d3261> (patch)
- <https://git.kernel.org/stable/c/bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39> (patch)
- <https://git.kernel.org/stable/c/cd097df4596f3a1e9d75eb8520162de1eb8485b2> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38088](https://www.cve.org/CVERecord?id=CVE-2025-38088), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38088](https://nvd.nist.gov/vuln/detail/CVE-2025-38088), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38088 · Whole record: https://cve.day/CVE-2025-38088.json · Rebuilt by cve.day 2026-11-25T22:59:00.387Z
