{"id":"CVE-2026-99729","aliases":["CVE-2026-99729"],"related":[],"kind":"vulnerability","state":"published","title":"mm/rmap: handle device-exclusive entries in folio_referenced_one()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/rmap: handle device-exclusive entries in folio_referenced_one()\n\npage_vma_mapped_walk() can return non-present device-exclusive entries,\nbut folio_referenced_one() passes them to PTE young-bit accessors that\nrequire present PTEs.\n\nWe must neither call clear_flush_young_ptes_notify() nor\nfolio_pte_batch() with non-present entries. For example, clearing the\nyoung bit on non-present PTEs can corrupt the entry: on arm64\nPTE_AF overlaps the swap type, so clearing it turns a device-exclusive\nentry into an ordinary swap entry.\n\nfolio_pte_batch() will VM_WARN_ON_FOLIO.\n\nApply the same approach as the previous fixes to e.g., damon_ptep_mkold():\ntreat these entries as old from the CPU's perspective and obtain their\nyoung state through the MMU notifier.\n\nSkip PTE batching and MGLRU look-around for non-present entries, and\ndon't modify non-present PTEs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/rmap: handle device-exclusive entries in folio_referenced_one()\n\npage_vma_mapped_walk() can return non-present device-exclusive entries,\nbut folio_referenced_one() passes them to PTE young-bit accessors that\nrequire present PTEs.\n\nWe must neither call clear_flush_young_ptes_notify() nor\nfolio_pte_batch() with non-present entries. For example, clearing the\nyoung bit on non-present PTEs can corrupt the entry: on arm64\nPTE_AF overlaps the swap type, so clearing it turns a device-exclusive\nentry into an ordinary swap entry.\n\nfolio_pte_batch() will VM_WARN_ON_FOLIO.\n\nApply the same approach as the previous fixes to e.g., damon_ptep_mkold():\ntreat these entries as old from the CPU's perspective and obtain their\nyoung state through the MMU notifier.\n\nSkip PTE batching and MGLRU look-around for non-present entries, and\ndon't modify non-present PTEs.","source":"cvelist"}],"published":"2026-11-20T05:51:04.434Z","modified":"2026-11-23T08:18:13.270Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"ba808003b93676600006ee0a0f75103a17b822fe","status":"affected"},{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"d272ee353e03c4f9afa56a0931526961613d554b","status":"affected"},{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"8e2f27af10a191bf32094e52ffefc9964b34d177","status":"affected"},{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"1b0ce69587787c0f3e15545309b201285fd81c61","status":"affected"},{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"4e2c3931ed1eb86e75ef27d5ba0a71ef576ebae8","status":"affected"},{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"9075e5fbad71e00a73cddef901a2a08ad7b51af5","status":"affected"},{"type":"git","introduced":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","fixed":"f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ba808003b93676600006ee0a0f75103a17b822fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d272ee353e03c4f9afa56a0931526961613d554b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e2f27af10a191bf32094e52ffefc9964b34d177","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b0ce69587787c0f3e15545309b201285fd81c61","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e2c3931ed1eb86e75ef27d5ba0a71ef576ebae8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9075e5fbad71e00a73cddef901a2a08ad7b51af5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99729","url":"https://www.cve.org/CVERecord?id=CVE-2026-99729","licence":"CVE Terms of Use","modified":"2026-11-23T08:06:37.441Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99729","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99729","licence":"Public domain","modified":"2026-11-23T08:18:13.270Z"}],"updatedAt":"2026-11-25T22:59:52.323Z","epss":{"score":0.00173,"percentile":0.0704,"date":"2026-12-01T12:00:22.000Z"}}