{"api_version":"1","generated_at":"2026-11-20T07:29:59+00:00","cve":"CVE-2026-99729","urls":{"html":"https://cve.report/CVE-2026-99729","api":"https://cve.report/api/cve/CVE-2026-99729.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99729","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99729"},"summary":{"title":"mm/rmap: handle device-exclusive entries in folio_referenced_one()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:10","updated_at":"2026-11-20 06:18:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c","name":"https://git.kernel.org/stable/c/f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9075e5fbad71e00a73cddef901a2a08ad7b51af5","name":"https://git.kernel.org/stable/c/9075e5fbad71e00a73cddef901a2a08ad7b51af5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99729","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99729","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 9075e5fbad71e00a73cddef901a2a08ad7b51af5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8 f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/rmap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9075e5fbad71e00a73cddef901a2a08ad7b51af5","status":"affected","version":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","versionType":"git"},{"lessThan":"f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c","status":"affected","version":"b756a3b5e7ead8f6f4b03cea8ac22478ce04c8a8","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/rmap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.14"},{"lessThan":"5.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"5.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:04.434Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9075e5fbad71e00a73cddef901a2a08ad7b51af5"},{"url":"https://git.kernel.org/stable/c/f3c493d2f42b5f44a5c134d8d7ea7f960caf5e2c"}],"title":"mm/rmap: handle device-exclusive entries in folio_referenced_one()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99729","datePublished":"2026-11-20T05:51:04.434Z","dateReserved":"2026-09-25T10:25:14.431Z","dateUpdated":"2026-11-20T05:51:04.434Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:10","lastModifiedDate":"2026-11-20 06:18:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99729","Ordinal":"1","Title":"mm/rmap: handle device-exclusive entries in folio_referenced_one","CVE":"CVE-2026-99729","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99729","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"mm/rmap: handle device-exclusive entries in folio_referenced_one"}]}}}