Back to CVE records
Critical 9.8Published Apr 24, 2026

CVE-2026-31589mm: call ->free_folio() directly in folio_unmap_invalidate()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Aug 5, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before efc52947247a21bbf79059539bbbd40f4ea76f00; from fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before b667df39d98a7a24be7c2a40ff0863dac1ad2cd7; from fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before c330e65ea59c4805d6ab6757c4ddfe8c63acef31; from fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before 615d9bb2ccad42f9e21d837431e401db2e471195
CNA record
linux linux_kernel
linux:linux_kernel
from 6.14 before 6.19.14; from 7.0 before 7.0.1
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.