← VULNERABILITIES

CVE-2026-99729

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

UnscoredFix available
CVSS
—
EPSS
0.17% (p7)
Published
2026-11-20
Age
14d old
Modified
2026-11-23
Product
Linux Linux

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.

Fixed in

1b0ce69587787c0f3e15545309b201285fd81c61 · 4e2c3931ed1eb86e75ef27d5ba0a71ef576ebae8 · 7.3.5 · 8e2f27af10a191bf32094e52ffefc9964b34d177 · 9075e5fbad71e00a73cddef901a2a08ad7b51af5 · ba808003b93676600006ee0a0f75103a17b822fe · d272ee353e03c4f9afa56a0931526961613d554b · f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=5.14.0, <7.3.57.3.5
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <1b0ce69587787c0f3e15545309b201285fd81c611b0ce69587787c0f3e15545309b201285fd81c61
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <4e2c3931ed1eb86e75ef27d5ba0a71ef576ebae84e2c3931ed1eb86e75ef27d5ba0a71ef576ebae8
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <8e2f27af10a191bf32094e52ffefc9964b34d1778e2f27af10a191bf32094e52ffefc9964b34d177
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <9075e5fbad71e00a73cddef901a2a08ad7b51af59075e5fbad71e00a73cddef901a2a08ad7b51af5
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <ba808003b93676600006ee0a0f75103a17b822feba808003b93676600006ee0a0f75103a17b822fe
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <d272ee353e03c4f9afa56a0931526961613d554bd272ee353e03c4f9afa56a0931526961613d554b
vendorLinux>=b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8, <f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2cf3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON