Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-64216

netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()
Back to all
CVE

CVE-2026-64216

netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()

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

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

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

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00457%
EPSS Percentile
0.38452%
Introduced Version
ee4cdf7ba857a894ad1650d6ab77669cbbfa329e,6.12.0,6.13.0,6.19.0,0
Fix Available
dbe556972100fabb8e5a1b3d2163831ff07b1e8e,6.12.106,6.18.34,7.0.11,6.12.107-1,7.0.0-1011.11~24.04.1,7.0.0-28.28~24.04.1,7.0.0-1016.16~24.04.1,7.0.0-28.28.1~24.04.3,1:6.18.35-68.127.amzn2023,1:1.0-0.amzn2023

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading