{"id":"CVE-2026-64216","published":"2026-07-24T15:23:04Z","modified":"2026-08-27T12:39:42Z","title":"netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()\n\nnetfs_unlock_abandoned_read_pages(rreq) accesses the index of the folios it\nis wanting to unlock and compares that to rreq->no_unlock_folio so that it\ndoesn't unlock a folio being read for netfs_perform_write() or\nnetfs_write_begin().\n\nHowever, given that netfs_unlock_abandoned_read_pages() is called _after_\nNETFS_RREQ_IN_PROGRESS is cleared, the one folio that it's not allowed to\ndereference is the one specified by ->no_unlock_folio as ownership\nimmediately reverts to the caller.\n\nFix this by storing the folio pointer instead and using that rather than\nthe index.  Also fix netfs_unlock_read_folio() where the same applies.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.3956,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d4ae8dba90b89e7bb4d1045d1cb26afbaf13ee5c","tags":[]},{"url":"https://git.kernel.org/stable/c/6080fa3ecfbb4448a3b47368629534c09b6ec750","tags":[]},{"url":"https://git.kernel.org/stable/c/3866d015f33aeedf81338dd99154703bef33faef","tags":[]},{"url":"https://git.kernel.org/stable/c/dbe556972100fabb8e5a1b3d2163831ff07b1e8e","tags":[]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":7.91},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < d4ae8dba90b89e7bb4d1045d1cb26afbaf13ee5c",">= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 6080fa3ecfbb4448a3b47368629534c09b6ec750",">= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 3866d015f33aeedf81338dd99154703bef33faef",">= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < dbe556972100fabb8e5a1b3d2163831ff07b1e8e"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2026-48624","exploited":false,"provenance":"source"}}