# CVE-2026-64295: linux: In the Linux kernel, the following vulnerability has been resolved:  mm: page_ext: add count limit to page_ext_iter_n...

CVE-2026-64295 is fixed in 20 products on 1 platform, first by ALAS2023-2026-2045, released August 3, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-64295
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 25, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool6.18 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | bpftool6.18-debuginfo amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel-livepatch-6.18.39-79.141 amzn 2023 | 1:1.0-0.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-debuginfo amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-debuginfo-common-aarch64 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-debuginfo-common-x86_64 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-devel amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-headers amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-modules-extra amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-modules-extra-common amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-tools amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-tools-debuginfo amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | kernel6.18-tools-devel amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | linux Debian 14 | 7.1.4-1 | [DEBIAN-CVE-2026-64295](https://patchblox.com/security/data/fix/linux/debian-cve-2026-64295.md) | Aug 7, 2026 |
| Linux | microvm-kernel6.18 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | perf6.18 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | perf6.18-debuginfo amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | python3-perf6.18 amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |
| Linux | python3-perf6.18-debuginfo amzn 2023 | 1:6.18.39-79.141.amzn2023 | [ALAS2023-2026-2045](https://patchblox.com/security/data/fix/linux/alas2023-2026-2045.md) | Aug 3, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
