CVE-2026-138832

Not scored yetLast modified Nov 30, 2026

Description

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

mm/madvise: reclaim isolated folios if PTE restart fails

MADV_PAGEOUT collects isolated folios on a local list before reclaiming them after the PTE walk. The reschedule path drops the PTE lock and then restarts the mapping with pte_offset_map_lock().

A concurrent operation can remove or replace the PTE table while the lock is dropped, causing pte_offset_map_lock() to return NULL. Returning directly in that case bypasses reclaim_pages(), leaving the collected folios off the LRU with elevated references.

This results in a permanent memory leak. nr_isolated_anon increases reliably and does not decrease when the process dies.

Route the failure through the existing cleanup path so any isolated folios are reclaimed or put back.

Simplest userland pseudo-code reproducer:

p = mmap(PMD_SIZE, ANONYMOUS); touch_every_page(p, PMD_SIZE); parallel { while (1) madvise(p, PMD_SIZE, MADV_PAGEOUT); while (1) { madvise(p, PMD_SIZE, MADV_DONTNEED); touch_every_page(p, PMD_SIZE); } }

Reproduced in qemu trivially with some explicit widening of the race window.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138833In the Linux kernel, the following vulnerability has been resolved: proc/task_mmu: handle special PMDs in clear_refs and pagemap mshv_vtl_CVE-2026-138834In the Linux kernel, the following vulnerability has been resolved: xprtrdma: trim head iovec when the payload arrives via a Write chunk TCVE-2026-138835In the Linux kernel, the following vulnerability has been resolved: arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO set_permissionsCVE-2026-138836In the Linux kernel, the following vulnerability has been resolved: ACPI: APEI: accumulate the queued flag across error sections ghes_do_pCVE-2026-138837In the Linux kernel, the following vulnerability has been resolved: dm-snapshot: fix crash if dm_io_client_create fails If dm_io_client_crCVE-2026-138838In the Linux kernel, the following vulnerability has been resolved: USB: serial: sierra: fix urb leak on write completion Make sure to droCVE-2026-1388398.8In the Linux kernel, the following vulnerability has been resolved: m68k: Fix seccomp filtering on ColdFire and 68000 m68k selects HAVE_ARCVE-2026-138848.8Integer overflow in Chromecast in Google Chrome prior to 150.0.7871.47 allowed a local attacker to execute arbitrary code via malicious netwCVE-2026-138840In the Linux kernel, the following vulnerability has been resolved: mailbox: qcom-ipcc: Guard against NULL con_priv in send_data() qcom_ipCVE-2026-138841In the Linux kernel, the following vulnerability has been resolved: mailbox: mtk-cmdq: Fix runtime PM leak in cmdq_mbox_flush() pm_runtimeCVE-2026-138842In the Linux kernel, the following vulnerability has been resolved: xhci: Prevent invalid vdev dereference during sideband unregister OfflCVE-2026-138843In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: ccg: Validate altmode index in GET_CURRENT_CAM respon
CVE-2026-138832: Unscored | Vulnix