{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99462","id":"CVE-2026-99462","title":"Linux kernel use-after-free in folio truncation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/truncate: look up the end-edge straddler by index\n\nIn truncate_inode_partial_folio(), after the first split at the start\nedge, folio_split() unlocks and drops the refcount of the after-split\nsub-folios.  The sub-folio straddling the end of the truncation range is\ntherefore unlocked and only transiently ref'd in the page cache ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/truncate: look up the end-edge straddler by index\n\nIn truncate_inode_partial_folio(), after the first split at the start\nedge, folio_split() unlocks and drops the refcount of the after-split\nsub-folios.  The sub-folio straddling the end of the truncation range is\ntherefore unlocked and only transiently ref'd in the page cache while the\ncode still derives it from a page pointer inside the original folio.\n\nBetween the first split finishing and page_folio() resolving split_at2,\nthat tail page can be reclaimed, freed and reallocated as a new large\nfolio in the same mapping at a different file offset.  folio2 then points\nat a folio that does not cover the end boundary, yet folio2->mapping ==\nfolio->mapping still holds, so the stale pointer passes the mapping check\nand folio_split_or_unmap() splits a folio at a wrong position (or, with a\ntransient refcount, a use-after-free window opens between try_get and the\nsplit).  __folio_split()'s own folio != page_folio(split_at) check cannot\ncatch this either since split_at2 has been reallocated as part of the new\nfolio, so page_folio(split_at2) resolves back to folio2.\n\nLook the straddler up by its page index instead.  __filemap_get_folio()\nreturns the folio currently covering the boundary, ref'd and locked, with\nthe mapping validated under the lock, so the split target is always the\nreal folio at the end edge.","published":"2026-11-19T14:42:12.579Z","updated":"2026-11-19T15:18:00.343Z","reserved":"2026-09-25T10:25:14.416Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7460b470a131f985a70302a322617121efdd7caa","lessThan":"0fab93d241cfb6f3aae29530a9a214157bb64087","status":"affected","versionType":"git"},{"version":"7460b470a131f985a70302a322617121efdd7caa","lessThan":"863ecacdae9ebac39e25a3e90e6cec3e86bc856a","status":"affected","versionType":"git"},{"version":"7460b470a131f985a70302a322617121efdd7caa","lessThan":"f47dee903b9f0f1e4e7181e8a398a7678cabf0a5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0fab93d241cfb6f3aae29530a9a214157bb64087","tags":[]},{"url":"https://git.kernel.org/stable/c/863ecacdae9ebac39e25a3e90e6cec3e86bc856a","tags":[]},{"url":"https://git.kernel.org/stable/c/f47dee903b9f0f1e4e7181e8a398a7678cabf0a5","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99462","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99462","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99462","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99462","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}