← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel Memory Management Calls free_folio() Directly in folio_unmap_invalidate(), Scoring 9.8

Last refreshed2026-11-20

Status: UPDATED  |  Advisory ID: CVE-2026-31589

Key Details

CVECVE-2026-31589
CVSS Score / Version
9.8 (Critical) / CVSS v3.1
Updated2026-11-11
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-416 (Use After Free)
Exploitation prediction (EPSS)
0.44% probability of exploitation in the next 30 days (40% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-31589
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-31589
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.