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

netfs: Fix partial invalidation of streaming-write folio

In netfs_invalidate_folio(), if the region of a partial invalidation
overlaps the front (but not all) of a dirty write cached in a streaming
write page (dirty, but not uptodate, with the dirty region tracked by a
netfs_folio struct), the function modifies the dirty region - but
incorrectly as it moves the region forward by setting the start to the
start, not the end, of the invalidation region.

Fix this by setting finfo->dirty_offset to the end of the invalidation
region (iend).
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the netfs_invalidate_folio function contains a logic error where a partial invalidation of a streaming‑write folio leads to an incorrect adjustment of the dirty region. The code sets the start of the dirty offset instead of the end of the invalidation region, which can result in incorrect handling of dirty data in the underlying storage. This flaw is classified under CWE‑823 and results in a data integrity issue.

Affected Systems

All Linux kernel versions that include the netfs module and have not yet integrated the commit that fixes this logic are affected. The fix is present in downstream distributions that update their kernel past the commit where the bug was patched. Until kernels incorporate this change, any system using the netfs filesystem with the flawed code remains vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of less than 1 % shows a very low probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that exploitation requires a process capable of performing a partial invalidation on a streaming‑write folio, typically a local or compromised user‑space process interacting with NFS or other network filesystems. Consequently, while the risk to data integrity exists, the likelihood of a widespread attack is low.

Generated by OpenCVE AI on August 3, 2026 at 01:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that corrects the dirty_offset handling in netfs_invalidate_folio (refer to the commits linked in the advisory).
  • Upgrade to a kernel release that includes the fix or rebuild your current kernel with the patch applied.
  • Reboot the system to load the patched kernel and ensure changes take effect.

Generated by OpenCVE AI on August 3, 2026 at 01:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-823
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfs: Fix partial invalidation of streaming-write folio In netfs_invalidate_folio(), if the region of a partial invalidation overlaps the front (but not all) of a dirty write cached in a streaming write page (dirty, but not uptodate, with the dirty region tracked by a netfs_folio struct), the function modifies the dirty region - but incorrectly as it moves the region forward by setting the start to the start, not the end, of the invalidation region. Fix this by setting finfo->dirty_offset to the end of the invalidation region (iend).
Title netfs: Fix partial invalidation of streaming-write folio
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-07-19T15:40:44.964Z

Reserved: 2026-07-19T07:54:57.038Z

Link: CVE-2026-64157

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-64157 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T01:30:16Z

Weaknesses
  • CWE-823

    Use of Out-of-range Pointer Offset