Skip to main content

Linux Kernel CVE-2025-38447

HIGH
Out-of-bounds Read (CWE-125)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged shell
  2. Delivery
    Map large folio spanning PMD boundary
  3. Exploit
    Trigger unmap/reclaim of folio
  4. Execution
    Batched scan reads past PTE table
  5. Impact
    Leak adjacent kernel memory or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access with the ability to run code and manipulate memory mappings (CVSS PR:L, AV:L, no user interaction), plus a specific memory layout: a large (multi-page) folio whose PTE mappings are NOT fully contained within a single page table, so that a batched unmap scan crosses the end of the PTE table / PMD boundary. The attacker must then trigger an unmap or reclaim event on that folio to enter the batched try_to_unmap_one() path. Limiting factors: only Linux 6.16 release-candidate kernels (rc1-rc5) are affected - not shipped stable releases - the reporter describes the boundary-spanning condition as rare, and the impact is an out-of-bounds read (disclosure/crash), not memory corruption or code execution.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H) describes a locally exploitable, low-complexity, low-privilege issue requiring no user interaction, with high confidentiality (kernel memory disclosure) and high availability (crash/oops) impact but no integrity impact - consistent with an out-of-bounds read. All signals point to this being a low-priority real-world issue rather than an urgent one: EPSS is only 0.16% (5th percentile), it is NOT on CISA KEV, and no public exploit is identified. Notably, the affected CPEs are only 6.16 release candidates (rc1-rc5), meaning this was caught and fixed in pre-release/mainline development before a stable 6.16 GA, sharply limiting production exposure. The 'Buffer Overflow'/'Information Disclosure' tags are broadly consistent with a bounded OOB read, though the practical exploitability (reliably reading useful data across a page-table boundary) is uncertain and the scenario is described as rare by the reporter.

Exploit ScenarioDerived

A local unprivileged-to-low-privileged user maps a large folio arranged so its PTE mappings straddle a page-table (PMD) boundary, then induces an unmap/reclaim operation to drive try_to_unmap_one() into the batched path, causing it to read past the end of the PTE table. The attacker leverages the resulting out-of-bounds read to leak adjacent kernel memory or crash the system (DoS). No public proof-of-concept is available and the reporter notes the triggering condition is rare.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Out-of-bounds page table read in the Linux kernel's memory-management rmap subsystem (mm/rmap) allows a local low-privileged user to trigger disclosure of adjacent kernel memory or a crash via the batched unmap path in try_to_unmap_one(). The flaw affects 6.16 release-candidate kernels (6.16-rc1 through rc5) where a large folio's PTE mappings span beyond a single page table, causing folio_unmap_pte_batch scanning to read past the end of a PTE table. Rated CVSS 7.1 (high) with high confidentiality and availability impact; EPSS is very low at 0.16% and there is no public exploit identified at time of analysis.

RemediationAI

Patch available per vendor advisory: apply the upstream fix that introduces the folio_unmap_pte_batch() helper, delivered via the kernel.org stable commits https://git.kernel.org/stable/c/510fe9c15d07e765d96be9a9dc37e5057c6c09f4 and https://git.kernel.org/stable/c/ddd05742b45b083975a0855ef6ebbf88cf1f532a; update to a 6.16 build (or later stable release) that includes these commits rather than running an unpatched 6.16-rc1..rc5 kernel. Because the affected versions are release candidates, the most practical remediation for production systems is simply to avoid deploying the vulnerable 6.16 RC kernels and stay on a patched stable series. No specific runtime toggle disables the affected rmap unmap path, so there is no clean feature-level workaround; if immediate patching is impossible, restrict local shell/code-execution access to untrusted users (defense that limits the local attack vector) as an interim compensating control, accepting that this does not address the underlying bug.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the kernel's reverse-mapping (rmap) code, specifically try_to_unmap_one(), which walks and clears page table entries (PTEs) when unmapping pages, e.g. during reclaim, migration, or munmap. The kernel supports 'large folios' - contiguous multi-page memory objects - and batches PTE operations for efficiency. The bug is a CWE-125 (Out-of-bounds Read): when a large folio's PTE mappings are not fully contained within one page table (PTE table / PMD-covered range), the batched unmap logic scans past the end of the PTE table array into adjacent memory. The fix refactors the loop into a helper, folio_unmap_pte_batch(), which caps the batch scan at both the VMA and PMD boundaries and permits partial batching (1..N pages) so it never reads beyond a valid table.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 6.3 MEDIUM

Local low-priv attacker (AV:L/PR:L); AC:H because a rare page-table-spanning large-folio layout must be arranged; OOB read yields disclosure (C:H) and crash (A:H), no integrity impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

mm/rmap: fix potential out-of-bounds page table access during batched unmap

As pointed out by David[1], the batched unmap logic in try_to_unmap_one() may read past the end of a PTE table when a large folio's PTE mappings are not fully contained within a single page table.

While this scenario might be rare, an issue triggerable from userspace must be fixed regardless of its likelihood. This patch fixes the out-of-bounds access by refactoring the logic into a new helper, folio_unmap_pte_batch().

The new helper correctly calculates the safe batch size by capping the scan at both the VMA and PMD boundaries. To simplify the code, it also supports partial batching (i.e., any number of pages from 1 up to the calculated safe maximum), as there is no strong reason to special-case for fully mapped folios.

Executive ViewAI

Why It Matters

A Linux kernel vulnerability (CVE-2025-38447) in versions 6.16-rc1 through 6.16-rc5 exposes sensitive kernel memory or causes system crashes to any user with local system access. Organizations operating these pre-release kernel versions face confidentiality and availability risks that could lead to data exposure or unexpected downtime; immediate patching is required to restore security.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel runs a huge fraction of servers, cloud, and devices
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy