9.8

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

Modified
AliasesUBUNTU-CVE-2026-31589DEBIAN-CVE-2026-31589CGA-25gx-jr8x-2mg9
Published 24-04-2026Last modified 05-08-2026

Vulnerability summary

CVE-2026-31589 is a critical (CVSS 9.8) Use After Free vulnerability in linux. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 38.6% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.44%
0%100%
Low · -0.21 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 10

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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 metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

39%

Versus all other CVEs

30-day change

Decrease -0.21 pp

From 0.65% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu110 products
  • linuxAll versions (No fix recorded) | < 7.0.0-27.27
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 7.0.0-1008.8
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard21 products
  • linux-aws-6.18< 6.18.31-r0
  • linux-azure-6.18All versions (No fix recorded)
  • linux-desktop-6.18All versions (No fix recorded)
  • linux-desktop-6.18-bootcAll versions (No fix recorded)
  • linux-desktop-6.18-bootc-boot-installedAll versions (No fix recorded)
Linux2 products
  • linux≥ fb7d3bc4149395c1ae99029c852eab6c28fc3c88, < efc52947247a21bbf79059539bbbd40f4ea76f00 | ≥ fb7d3bc4149395c1ae99029c852eab6c28fc3c88, < b667df39d98a7a24be7c2a40ff0863dac1ad2cd7 | ≥ fb7d3bc4149395c1ae99029c852eab6c28fc3c88, < c330e65ea59c4805d6ab6757c4ddfe8c63acef31 | ≥ fb7d3bc4149395c1ae99029c852eab6c28fc3c88, < 615d9bb2ccad42f9e21d837431e401db2e471195 | 6.14
  • linux_kernel≥ 6.14, < 6.19.14 | ≥ 7.0, < 7.0.1
Debian1 product
  • linux< 6.19.14-1

4 vendors · 134 products

References

19 links
Show all 19 references