CVE-2026-64216
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix potential UAF in netfsunlockabandonedreadpages()
netfsunlockabandonedreadpages(rreq) accesses the index of the folios it
is wanting to unlock and compares that to rreq->nounlockfolio so that it
doesn't unlock a folio being read for netfsperformwrite() or
netfswritebegin().
However, given that netfsunlockabandonedreadpages() is called after
NETFSRREQIN_PROGRESS is cleared, the one folio that it's not allowed to
dereference is the one specified by ->nounlockfolio as ownership
immediately reverts to the caller.
Fix this by storing the folio pointer instead and using that rather than
the index. Also fix netfsunlockread_folio() where the same applies.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://git.kernel.org/stable/c/3866d015f33aeedf81338dd99154703bef33faef, https://git.kernel.org/stable/c/6080fa3ecfbb4448a3b47368629534c09b6ec750, https://git.kernel.org/stable/c/d4ae8dba90b89e7bb4d1045d1cb26afbaf13ee5c, https://git.kernel.org/stable/c/dbe556972100fabb8e5a1b3d2163831ff07b1e8e, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64216.json, https://nvd.nist.gov/vuln/detail/CVE-2026-64216, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git