Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 95%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: mm: page_ext: add count limit to page_ext_iter_next to prevent invalid PFN… (CVE-2026-64295)

0
Medium
Published: 07/25/2026 (07/25/2026, 10:17:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

In the Linux kernel, the following vulnerability has been resolved: mm: page_ext: add count limit to page_ext_iter_next to prevent invalid PFN access The page_ext iteration API does not validate if the PFN still belongs to a valid section while advancing the iterator. When dynamically adding memory in the hotplug path, it can lead to a NULL pointer dereference during page_ext_lookup at the boundary of the last valid section when iterator count equals __pgcount. The for_each_page_ext() macro calls page_ext_iter_next() as its loop increment. for_each_page_ext() does a "__page_ext = page_ext_iter_next(&__iter)" at the end. This causes page_ext_iter_next() to increment iter->index past __pgcount and call page_ext_lookup(start_pfn + __pgcount). During memory hotplug (online), the PFN at start_pfn + __pgcount may belong to a section that has not yet been initialized, causing page_ext_lookup() to trigger a NULL pointer dereference. [ 14.555124][ T846] Call trace: [ 14.555125][ T846] lookup_page_ext+0x6c/0x108 (P) [ 14.555127][ T846] page_ext_lookup+0x30/0x3c [ 14.555129][ T846] __reset_page_owner+0x11c/0x260 [ 14.571201][ T846] __free_pages_ok+0x5e8/0x8e0 [ 14.571204][ T846] __free_pages_core+0x78/0xf0 [ 14.571206][ T846] generic_online_page+0x14/0x24 [ 14.597782][ T846] online_pages+0x178/0x30c [ 14.597784][ T846] memory_block_change_state+0x284/0x32c [ 14.597787][ T846] memory_subsys_online+0x4c/0x64 [ 14.597789][ T846] device_online+0x88/0xb0 [ 14.597791][ T846] online_memory_block+0x30/0x40 [ 14.597793][ T846] walk_memory_blocks+0xac/0xe8 [ 14.597794][ T846] add_memory_resource+0x280/0x298 [ 14.656161][ T846] add_memory+0x60/0x98 Move the iteration boundary enforcement inside the iterator functions, so callers cannot inadvertently access beyond the requested range.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

Affected versions
<7.0.0-1012.12~24.04.1<7.0.0-1011.11~24.04.1<7.0.0-31.31~24.04.1<7.0.0-31.31.1~24.04.1<7.0.0-31.31

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 03:13:56 UTC

Technical Analysis

The Linux kernel's page_ext iteration API lacked validation to ensure that the page frame number (PFN) being accessed still belongs to a valid memory section during iteration. Specifically, when memory is dynamically added via hotplug, the iterator could advance past the last valid PFN, causing page_ext_lookup() to dereference a NULL pointer. This leads to a kernel NULL pointer dereference and potential system instability or crash. The fix moves the iteration boundary enforcement inside the iterator functions to prevent callers from accessing beyond the valid range.

Potential Impact

This vulnerability results in a NULL pointer dereference in the Linux kernel during memory hotplug operations, causing a denial of service via system crash or instability. There is no indication of confidentiality or integrity impact. The CVSS score of 5.5 (medium severity) reflects the local attack vector, low complexity, and denial of service impact without privilege escalation or data compromise.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to enforce iteration boundaries within the page_ext iterator functions, preventing invalid PFN access. Users should apply the official kernel updates that include this patch. Since no vendor advisory or patch links are provided, check the Linux kernel release notes or your distribution's security advisories for the relevant fixed kernel versions and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-v5hf-7896-cmm7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64295"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420e9c2644c7f80862f7

Added to database: 07/25/2026, 23:09:02 UTC

Last enriched: 08/15/2026, 03:13:56 UTC

Last updated: 09/08/2026, 10:52:11 UTC

Views: 33

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses