Critical severity · published Apr 24, 2026
CVE-2026-31589
mm: call ->free_folio() directly in folio_unmap_invalidate()
9.8
CVSS
0.4%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
6.14 before 6.19.14; 7.0 before 7.0.1 · source: NVD
LI
Linux · Linux
fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before efc52947247a21bbf79059539bbbd40f4ea76f00; fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before b667df39d98a7a24be7c2a40ff0863dac1ad2cd7; fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before c330e65ea59c4805d6ab6757c4ddfe8c63acef31; fb7d3bc4149395c1ae99029c852eab6c28fc3c88 before 615d9bb2ccad42f9e21d837431e401db2e471195; 6.14 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-31589
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-31589
Patch
https://git.kernel.org/stable/c/615d9bb2ccad42f9e21d837431e401db2e471195
Patch
https://git.kernel.org/stable/c/b667df39d98a7a24be7c2a40ff0863dac1ad2cd7
Patch
https://git.kernel.org/stable/c/c330e65ea59c4805d6ab6757c4ddfe8c63acef31
git.kernel.org
https://git.kernel.org/stable/c/efc52947247a21bbf79059539bbbd40f4ea76f00
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
