bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-31589

9.8critical

linux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases

Reach linux · 6 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.06.18.8
v26.09.06.18.54
v26.10.0latest6.18.60
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimalOpenx86_64Openaarch64_minimalANot affected · autox86_64ANot affectedaarch64_minimalANot affected · autox86_64Not affected · kept

Description · NVD

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.

Published 2026-04-24NVD

CVSS 3.1Network · no privileges · no user interaction

How it is reached

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References 4
Review Av26.09.0x86_64Not affectedAccepted by a member, 2026-11-05. The 6.18.54 source in this build already contains the fix for CVE-2026-31589.Open the review →

Members of Kernel Kit decide. Sign in if you are one.