CVE-2026-64216

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
24/07/2026
Last modified:
11/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()<br /> <br /> netfs_unlock_abandoned_read_pages(rreq) accesses the index of the folios it<br /> is wanting to unlock and compares that to rreq-&gt;no_unlock_folio so that it<br /> doesn&amp;#39;t unlock a folio being read for netfs_perform_write() or<br /> netfs_write_begin().<br /> <br /> However, given that netfs_unlock_abandoned_read_pages() is called _after_<br /> NETFS_RREQ_IN_PROGRESS is cleared, the one folio that it&amp;#39;s not allowed to<br /> dereference is the one specified by -&gt;no_unlock_folio as ownership<br /> immediately reverts to the caller.<br /> <br /> Fix this by storing the folio pointer instead and using that rather than<br /> the index. Also fix netfs_unlock_read_folio() where the same applies.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.12 (including) 6.18.34 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 7.0.11 (excluding)
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*