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)
A vulnerability in the Linux kernel's memory management subsystem was resolved by adding a count limit to the page_ext_iter_next iterator function to prevent invalid page frame number (PFN) access. The issue arises because the page_ext iteration API did not validate whether the PFN still belonged to a valid memory section during iteration, potentially causing a NULL pointer dereference during memory hotplug operations. This could lead to kernel crashes when dynamically adding memory. The fix enforces iteration boundaries inside the iterator functions to prevent out-of-range access.
AI Analysis
Technical Summary
The Linux kernel's page_ext iteration API lacked validation to ensure that the page frame number (PFN) being accessed still belonged 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 occurs because for_each_page_ext() macro increments the iterator beyond the valid range, triggering a NULL pointer dereference at the boundary of the last valid memory section. The vulnerability was fixed by moving the iteration boundary enforcement inside the iterator functions, preventing callers from accessing beyond the requested range.
Potential Impact
This vulnerability can cause a NULL pointer dereference in the Linux kernel during memory hotplug operations, leading to kernel crashes or denial of service. There is no indication of code execution or privilege escalation from the provided data. The impact is limited to system stability during dynamic memory addition.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that enforces iteration boundaries within the page_ext iterator functions, preventing invalid PFN access. Users should apply the official kernel updates that include this patch to mitigate the issue. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or kernel maintainers' advisories for the current remediation guidance and apply updates accordingly.
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)
Description
A vulnerability in the Linux kernel's memory management subsystem was resolved by adding a count limit to the page_ext_iter_next iterator function to prevent invalid page frame number (PFN) access. The issue arises because the page_ext iteration API did not validate whether the PFN still belonged to a valid memory section during iteration, potentially causing a NULL pointer dereference during memory hotplug operations. This could lead to kernel crashes when dynamically adding memory. The fix enforces iteration boundaries inside the iterator functions to prevent out-of-range access.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's page_ext iteration API lacked validation to ensure that the page frame number (PFN) being accessed still belonged 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 occurs because for_each_page_ext() macro increments the iterator beyond the valid range, triggering a NULL pointer dereference at the boundary of the last valid memory section. The vulnerability was fixed by moving the iteration boundary enforcement inside the iterator functions, preventing callers from accessing beyond the requested range.
Potential Impact
This vulnerability can cause a NULL pointer dereference in the Linux kernel during memory hotplug operations, leading to kernel crashes or denial of service. There is no indication of code execution or privilege escalation from the provided data. The impact is limited to system stability during dynamic memory addition.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that enforces iteration boundaries within the page_ext iterator functions, preventing invalid PFN access. Users should apply the official kernel updates that include this patch to mitigate the issue. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or kernel maintainers' advisories for the current remediation guidance and apply updates accordingly.
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: 07/25/2026, 23:38:32 UTC
Last updated: 07/26/2026, 03:46:30 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.