CVE-2026-31589
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
mm: call ->free_folio() directly in folio_unmap_invalidate()
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| fb7d3bc4149395c1ae99029c852eab6c28fc3c88 | affected | git | efc52947247a21bbf79059539bbbd40f4ea76f00 | Unavailable | None listed |
| fb7d3bc4149395c1ae99029c852eab6c28fc3c88 | affected | git | b667df39d98a7a24be7c2a40ff0863dac1ad2cd7 | Unavailable | None listed |
| fb7d3bc4149395c1ae99029c852eab6c28fc3c88 | affected | git | c330e65ea59c4805d6ab6757c4ddfe8c63acef31 | Unavailable | None listed |
| fb7d3bc4149395c1ae99029c852eab6c28fc3c88 | affected | git | 615d9bb2ccad42f9e21d837431e401db2e471195 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.14 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.14 | Unavailable | None listed |
| 6.18.27 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 6.19.14 | unaffected | semver | Unavailable | 6.19.* | None listed |
| 7.0.1 | unaffected | semver | Unavailable | 7.0.* | None listed |
| 7.1 | unaffected | original_commit_for_fix | Unavailable | * | None listed |