CVE-2025-38088

powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap

No CVSS score yet EPSS 0.20%

Published 30 Jun 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-38088

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38088 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 08a022ad3dfafc7e33d4529015e14bb75179cacc, before 81260c41b518b6f32c701425f1427562fa92f293
affected from 08a022ad3dfafc7e33d4529015e14bb75179cacc, before 620b77b23c41a6546e5548ffe2ea3ad71880dde4
affected from 08a022ad3dfafc7e33d4529015e14bb75179cacc, before 8635e325b85dfb9ddebdfaa6b5605d40d16cd147
affected from 08a022ad3dfafc7e33d4529015e14bb75179cacc, before 9c340b56d60545e4a159e41523dd8b23f81d3261
affected from 08a022ad3dfafc7e33d4529015e14bb75179cacc, before bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39
affected from 08a022ad3dfafc7e33d4529015e14bb75179cacc, before cd097df4596f3a1e9d75eb8520162de1eb8485b2
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 5.15.186 up to and including 5.15.*
unaffected from 6.1.142 up to and including 6.1.*
unaffected from 6.6.94 up to and including 6.6.*
unaffected from 6.12.34 up to and including 6.12.*
unaffected from 6.15.3 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38088 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38088

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38088
trivy image --scanners vuln IMAGE | grep CVE-2025-38088

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38088 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.