CVE-2026-31589: mm: call ->free_folio() directly in folio_unmap_invalidate()
CVE-2026-31589 affects 30 listed versions of Proxmox VE in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Proxmox VE
30 of 124 listed versions are affected. Fixed in 9.2.6. The newest release, 9.3.1, is not affected.
9.1.19 9.1.18 9.1.17 9.1.16 9.1.15 9.1.14 9.1.13 9.1.12 9.1.11 9.1.9 9.1.8 9.1.7 9.1.6 9.1.5 9.1.4 9.0.18 9.0.17 9.0.16 9.0.15 9.0.14 9.0.13 9.0.12 9.0.11 9.0.10 9.0.9 9.0.7 9.0.6 9.0.5 9.0.4 9.0.3
What it is
In the Linux kernel, the following vulnerability has been resolved: mm: call ->free_folio() directly in folio_unmap_invalidate() We can only call filemap_free_folio() if we have a reference to (or hold a lock on) the mapping. Otherwise, we've already removed the folio from the mapping so it no longer pins the mapping and the mapping can be removed, causing a use-after-free when accessing mapping->a_ops. Follow the same pattern as __remove_mapping() and load the free_folio function pointer before dropping the lock on the mapping. That lets us make filemap_free_folio() static as this was the only caller outside filemap.c.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Linux)
Published by Linux on 24 April 2026. Last changed 11 November 2026.
Sources
Check one version you run: look CVE-2026-31589 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.