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

CVE-2026-80686
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 6c287605fd56466e645693eff3ae7c08fba56e0a < 26f9ca8ed42cba25d2c75daff13561cce6019395 ; affected 6c287605fd56466e645693eff3ae7c08fba56e0a < 5b948706f11a950bc73c5304630d0a7eafc40daf ; affected 6c287605fd56466e645693eff3ae7c08fba56e0a < 86d55447de3738620b9a8272ff167ce97e7f7203 ; affected 6c287605fd56466e645693eff3ae7c08fba56e0a < 2be94d6b20789b8865b1864dae5fe458ca85e019 ; affected 6c287605fd56466e645693eff3ae7c08fba56e0a < 42f30fa5481a1f90571ccdfbb20d2e25e47ae76e ; affected 6c287605fd56466e645693eff3ae7c08fba56e0a < 63867c82d0c0c2d182016a32b1cc0103116b0ea5
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.153 ≤ 6.6.* ; unaffected 6.12.103 ≤ 6.12.* ; unaffected 6.18.44 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD