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

Linux Kernel Truncate Looks Up the End-Edge Folio Without Holding It After a Split

Last refreshed2026-11-23

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

Key Details

CVECVE-2026-99462
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

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/truncate: look up the end-edge straddler by index

In truncate_inode_partial_folio(), after the first split at the start

edge, folio_split() unlocks and drops the refcount of the after-split

sub-folios. The sub-folio straddling the end of the truncation range is

therefore unlocked and only transiently ref'd in the page cache while the

code still derives it from a page pointer inside the original folio.

Between the first split finishing and page_folio() resolving split_at2,

that tail page can be reclaimed, freed and reallocated as a new large

folio in the same mapping at a different file offset. folio2 then points

at a folio that does not cover the end boundary, yet folio2->mapping ==

folio->mapping still holds, so the stale pointer passes the mapping check

and folio_split_or_unmap() splits a folio at a wrong position (or, with a

transient refcount, a use-after-free window opens between try_get and the

split). __folio_split()'s own folio != page_folio(split_at) check cannot

catch this either since split_at2 has been reallocated as part of the new

folio, so page_folio(split_at2) resolves back to folio2.

Look the straddler up by its page index instead. __filemap_get_folio()

returns the folio currently covering the boundary, ref'd and locked, with

the mapping validated under the lock, so the split target is always the

real folio at the end edge. (NVD)

What to Do

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

References

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