Description
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().
Product status
d245f9b4ab806733a77e51a218ca7b8bc3135cd9 (git) before 85be0a262e39c706edb53c88af8afde2e98222ba
d245f9b4ab806733a77e51a218ca7b8bc3135cd9 (git) before 39928984956037cabd304321cb8f342e47421db5
6.19
Any version before 6.19
7.0.4 (semver)
7.1-rc1 (original_commit_for_fix)
References
git.kernel.org/...c/85be0a262e39c706edb53c88af8afde2e98222ba
git.kernel.org/...c/39928984956037cabd304321cb8f342e47421db5