Linux
mm/zone_device: do not touch device folio after calling ->folio_free()
In the Linux kernel, the following vulnerability has been resolved: mm/zone_device: do not touch device folio after calling ->folio_free() The contents of a device folio can immediately change after calling ->folio_free(), as the folio may be reallocated by a driver with a different order. Instead of touching the folio again to extract the pgmap, use the local stack variable when calling percpu_ref_put_many().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d245f9b4ab806733a77e51a218ca7b8bc3135cd9, < 85be0a262e39c706edb53c88af8afde2e98222ba
- >= d245f9b4ab806733a77e51a218ca7b8bc3135cd9, < 39928984956037cabd304321cb8f342e47421db5
Fixed in 85be0a262e39c706edb53c88af8afde2e98222ba, 39928984956037cabd304321cb8f342e47421db5
- 6.19
Fixed in 0, 7.0.4, 7.1
Mitigation
Upgrade Linux to 85be0a262e39c706edb53c88af8afde2e98222ba or 39928984956037cabd304321cb8f342e47421db5 or later.
Upgrade Linux to 0 or 7.0.4 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.