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().
https://git.kernel.org/stable/c/85be0a262e39c706edb53c88af8afde2e98222ba
https://git.kernel.org/stable/c/39928984956037cabd304321cb8f342e47421db5