kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.14

    해결 버전

    • 5.14 미만
    • 5.15.226 이상
    • 6.1.193 이상
    • 6.6.163 이상
    • 6.12.119 이상
    • 6.18.65 이상
    • 7.3.5 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의