CVE-2026-99729

mm/rmap: handle device-exclusive entries in folio_referenced_one()

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 to before 9075e5fbad71e00a73cddef901a2a08ad7b51af5Affected
  • b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 to before f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2cAffected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.