# CVE-2026-64157: netfs: Fix partial invalidation of streaming-write folio

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:40:44.964Z
- Modified: 2026-08-17T15:20:23.197Z
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from cce6bfa6ca0e30af9927b0074c97fe6a92f28092 before f6b2569ae29b666fd15ff2848684c445ba442a39; from cce6bfa6ca0e30af9927b0074c97fe6a92f28092 before 3d9601c029b934b5b6a10f99791467b10eb6b211; from cce6bfa6ca0e30af9927b0074c97fe6a92f28092 before 6a3d27116be2c5fb9a03d5cf37c486ac517f3689; from cce6bfa6ca0e30af9927b0074c97fe6a92f28092 before 6d91acc7fb85d33ea58fca9b964a32a453937f4b; e2814004138a541110d4b2dc254a8f619c2c4ce0; from 6.10.8 before 6.11; 6.11 (not affected: before 6.11; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.10.8 before 6.11; from 6.11.1 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 6.11; 7.1

## References

- <https://git.kernel.org/stable/c/f6b2569ae29b666fd15ff2848684c445ba442a39> (patch)
- <https://git.kernel.org/stable/c/3d9601c029b934b5b6a10f99791467b10eb6b211> (patch)
- <https://git.kernel.org/stable/c/6a3d27116be2c5fb9a03d5cf37c486ac517f3689> (patch)
- <https://git.kernel.org/stable/c/6d91acc7fb85d33ea58fca9b964a32a453937f4b> (patch)

## Sources

- CVE List: [CVE-2026-64157](https://www.cve.org/CVERecord?id=CVE-2026-64157), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-64157](https://nvd.nist.gov/vuln/detail/CVE-2026-64157), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-64157 · Whole record: https://cve.day/CVE-2026-64157.json · Rebuilt by cve.day 2026-11-25T22:59:29.173Z
