CVE-2026-99462
HIGH 7.8CVSS 3.1mm/truncate: look up the end-edge straddler by index
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.
- Published
- 19 Nov 2026
- Last modified
- 22 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 7460b470a131f985a70302a322617121efdd7caa, < 0fab93d241cfb6f3aae29530a9a214157bb64087; >= 7460b470a131f985a70302a322617121efdd7caa, < 863ecacdae9ebac39e25a3e90e6cec3e86bc856a; >= 7460b470a131f985a70302a322617121efdd7caa, < f47dee903b9f0f1e4e7181e8a398a7678cabf0a5 | 0fab93d241cfb6f3aae29530a9a214157bb64087, 863ecacdae9ebac39e25a3e90e6cec3e86bc856a, f47dee903b9f0f1e4e7181e8a398a7678cabf0a5 |
| CVE List | Linux | Linux | = 6.15 |
References
- https://git.kernel.org/stable/c/0fab93d241cfb6f3aae29530a9a214157bb64087
- https://git.kernel.org/stable/c/863ecacdae9ebac39e25a3e90e6cec3e86bc856a
- https://git.kernel.org/stable/c/f47dee903b9f0f1e4e7181e8a398a7678cabf0a5
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 19 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 19 Nov 2026)