{"vuln_id":"CVE-2026-99462","aliases":[],"description":"kernel: kernel: Use-after-free via race condition in memory folio truncation","published_at":"2026-11-19T14:42:12Z","modified_at":"2026-11-22T11:16:52.720000Z","first_seen_at":"2026-11-21T19:15:15.263005Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-825"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00166,"epss_percentile":0.05928,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99462"},"matched_alias":null,"items":[{"id":8794,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99462: 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(), aft…","summary":"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.\n\nReferences:\nhttps://git.kernel.org/stable/c/0fab93d241cfb6f3aae29530a9a214157bb64087\nhttps://git.kernel.org/stable/c/863ecacdae9ebac39e25a3e90e6cec3e86bc856a\nhttps://git.kernel.org/stable/c/f47dee903b9f0f1e4e7181e8a398a7678cabf0a5","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99462","published_at":"2026-11-19T15:18:00.343000Z","updated_at":"2026-11-22T11:16:52.720000Z","fetched_at":"2026-11-21T19:15:31.484489Z","severity":"high","cvss_score":7.8,"epss":0.00166,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99462","vuln_ids":["CVE-2026-99462"],"tags":[],"cluster_id":958,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8794","html":"https://vulnwatch.ve1ve2.com/item/8794"}},{"id":1220,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99462: kernel: kernel: Use-after-free via race condition in memory folio truncation","summary":"kernel: kernel: Use-after-free via race condition in memory folio truncation","url":"https://access.redhat.com/security/cve/cve-2026-99462","published_at":"2026-11-19T14:42:12Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.894064Z","severity":"high","cvss_score":7.8,"epss":0.00166,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99462","vuln_ids":["CVE-2026-99462"],"tags":["redhat"],"cluster_id":958,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1220","html":"https://vulnwatch.ve1ve2.com/item/1220"}}]}