# CVE-2026-99729: mm/rmap: handle device-exclusive entries in folio_referenced_one()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-20T05:51:04.434Z
- Modified: 2026-11-23T08:18:13.270Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before ba808003b93676600006ee0a0f75103a17b822fe; from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before d272ee353e03c4f9afa56a0931526961613d554b; from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before 8e2f27af10a191bf32094e52ffefc9964b34d177; from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before 1b0ce69587787c0f3e15545309b201285fd81c61; from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before 4e2c3931ed1eb86e75ef27d5ba0a71ef576ebae8; from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before 9075e5fbad71e00a73cddef901a2a08ad7b51af5; from b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 before f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c; 5.14 (not affected: before 5.14; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/ba808003b93676600006ee0a0f75103a17b822fe>
- <https://git.kernel.org/stable/c/d272ee353e03c4f9afa56a0931526961613d554b>
- <https://git.kernel.org/stable/c/8e2f27af10a191bf32094e52ffefc9964b34d177>
- <https://git.kernel.org/stable/c/1b0ce69587787c0f3e15545309b201285fd81c61>
- <https://git.kernel.org/stable/c/4e2c3931ed1eb86e75ef27d5ba0a71ef576ebae8>
- <https://git.kernel.org/stable/c/9075e5fbad71e00a73cddef901a2a08ad7b51af5>
- <https://git.kernel.org/stable/c/f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c>

## Sources

- CVE List: [CVE-2026-99729](https://www.cve.org/CVERecord?id=CVE-2026-99729), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99729](https://nvd.nist.gov/vuln/detail/CVE-2026-99729), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99729 · Whole record: https://cve.day/CVE-2026-99729.json · Rebuilt by cve.day 2026-11-25T22:59:52.323Z
