VulnWatch by ve1ve2
medium 4.7 EPSS 0.16%

CVE-2026-99729: In the Linux kernel, the following vulnerability has been resolved: mm/rmap: handle device-exclusive entries in folio_referenced_one() page_vma_mapped_walk() c…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
linux

https://nvd.nist.gov/vuln/detail/CVE-2026-99729 ↗

In the Linux kernel, the following vulnerability has been resolved: mm/rmap: handle device-exclusive entries in folio_referenced_one() page_vma_mapped_walk() can return non-present device-exclusive entries, but folio_referenced_one() passes them to PTE young-bit accessors that require present PTEs. We must neither call clear_flush_young_ptes_notify() nor folio_pte_batch() with non-present entries. For example, clearing the young bit on non-present PTEs can corrupt the entry: on arm64 PTE_AF overlaps the swap type, so clearing it turns a device-exclusive entry into an ordinary swap entry. folio_pte_batch() will VM_WARN_ON_FOLIO. Apply the same approach as the previous fixes to e.g., damon_ptep_mkold(): treat these entries as old from the CPU's perspective and obtain their young state through the MMU notifier. Skip PTE batching and MGLRU look-around for non-present entries, and don't modify non-present PTEs. References: https://git.kernel.org/stable/c/9075e5fbad71e00a73cddef901a2a08ad7b51af5 https://git.kernel.org/stable/c/f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c

Linked vulnerabilities (1)

CVE-2026-99729 medium 4.7 EPSS 0.16% (p5) NVDCVE.org
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

kernel: kernel: Memory corruption via device-exclusive entries in folio_referenced_one()

CWE: CWE-843NVD: Received

Also reported by (1)