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

High 7.1 Published Updated

An out-of-bounds memory access in the Linux kernel's PowerPC memtrace module allows attackers to potentially execute code or cause a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38088?

CVE-2025-38088 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 30 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-125

Which versions are affected by CVE-2025-38088?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38088?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-38088 being exploited?

There is no known exploitation of CVE-2025-38088 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-38088, DEBIAN-CVE-2025-38088, GHSA-96p2-88jx-5jfm, ROOT-OS-DEBIAN-12-CVE-2025-38088, ROOT-OS-UBUNTU-2204-CVE-2025-38088, ROOT-OS-UBUNTU-2404-CVE-2025-38088 and 1 more.

Is CVE-2025-38088 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free