Shellfeed logo Shellfeed

CVE-2026-80686 · UNKNOWN

Summary: mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE

Details

In the Linux kernel, the following vulnerability has been resolved:

mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE

pte_pfn() and pte_dirty() have undefined behaviour when called on a
non-present PTE. In migrate_vma_collect_pmd(), these functions may be
invoked on non-present entries (e.g., device-private entries), leading
to potential crashes from pte_pfn() or incorrect dirty folio accounting
from pte_dirty(). Fix both by guarding with pte_present() checks.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [6c287605fd56466e645693eff3ae7c08fba56e0a – 26f9ca8ed42cba25d2c75daff13561cce6019395]
  • Linux Kernel [5.19.0 – 6.1.184] [6.2.0 – 6.6.153] [6.7.0 – 6.12.103] [6.13.0 – 6.18.44] [6.19.0 – 7.1.8]

References