Description
In the Linux kernel, the following vulnerability has been resolved:

netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()

netfs_unlock_abandoned_read_pages(rreq) accesses the index of the folios it
is wanting to unlock and compares that to rreq->no_unlock_folio so that it
doesn't unlock a folio being read for netfs_perform_write() or
netfs_write_begin().

However, given that netfs_unlock_abandoned_read_pages() is called _after_
NETFS_RREQ_IN_PROGRESS is cleared, the one folio that it's not allowed to
dereference is the one specified by ->no_unlock_folio as ownership
immediately reverts to the caller.

Fix this by storing the folio pointer instead and using that rather than
the index. Also fix netfs_unlock_read_folio() where the same applies.
Published: 2026-07-24
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a use‑after‑free (UAF) condition in the Linux kernel netfs subsystem. When netfs_unlock_abandoned_read_pages() is called after the NETFS_RREQ_IN_PROGRESS flag is cleared, it dereferences a folio that has already been released, potentially allowing an attacker to manipulate kernel memory. If an attacker can control the data involved, this UAF could lead to privilege escalation. The weakness is consistent with CWE‑416.

Affected Systems

All Linux kernel builds are affected until the fix is applied. The patch moves the reference from an index to a direct folio pointer, correcting the unsafe dereference. Any system running a kernel version before the commit that contains this change remains vulnerable.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity, and the EPSS score is reported to be less than 1 %, indicating a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The flaw is a kernel UAF that can be triggered by a local attacker who can manipulate netfs operations; if they can trigger the condition, it would grant root privileges. No public exploit has been reported, but the nature of the flaw warrants immediate attention.

Generated by OpenCVE AI on August 3, 2026 at 20:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit fixing the netfs UAF (e.g., the latest stable kernel release from the upstream kernel tree).
  • After applying the update, reboot the system to ensure the patched kernel is active.
  • If an immediate kernel update is not feasible, consider disabling or restricting netfs usage on the affected systems until a patch is applied.

Generated by OpenCVE AI on August 3, 2026 at 20:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 11 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
CPEs 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:*:*:*:*:*:*

Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 30 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 29 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sun, 26 Jul 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages() netfs_unlock_abandoned_read_pages(rreq) accesses the index of the folios it is wanting to unlock and compares that to rreq->no_unlock_folio so that it doesn't unlock a folio being read for netfs_perform_write() or netfs_write_begin(). However, given that netfs_unlock_abandoned_read_pages() is called _after_ NETFS_RREQ_IN_PROGRESS is cleared, the one folio that it's not allowed to dereference is the one specified by ->no_unlock_folio as ownership immediately reverts to the caller. Fix this by storing the folio pointer instead and using that rather than the index. Also fix netfs_unlock_read_folio() where the same applies.
Title netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:40:04.136Z

Reserved: 2026-07-19T15:36:31.770Z

Link: CVE-2026-64216

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T16:16:49.310

Modified: 2026-08-11T17:14:29.877

Link: CVE-2026-64216

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-24T00:00:00Z

Links: CVE-2026-64216 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T20:15:04Z

Weaknesses