# CVE-2026-64156: netfs, afs: Fix write skipping in dir/link writepages

- 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.277Z
- Modified: 2026-08-13T15:12:39.070Z
- Assigned by: Linux

## Description

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

netfs, afs: Fix write skipping in dir/link writepages

Fix netfs_write_single() and afs_single_writepages() to better handle a
write that would be skipped due to lock contention and WB_SYNC_NONE by
returning 1 from netfs_write_single() if it skipped and making
afs_single_writepages() skip also.  If a skip occurs, the inode must be
re-marked as the VFS may have cleared the mark.

This is really only theoretical for directories in netfs_write_single() as
the only path to that is through afs_single_writepages() that takes the
->validate_lock around it, thereby serialising it.

(As written by CVE List.)

## Affected

- Linux Linux: from 6dd80936618c4ff852d4db73aca400351d9bd9f0 before 77bb293049d61e04c12b24ebbffafaf5ab36af90; from 6dd80936618c4ff852d4db73aca400351d9bd9f0 before f91e10435c0dd37c48b1b25e6236284f656ddc0c; from 6dd80936618c4ff852d4db73aca400351d9bd9f0 before 9871938f99cc6cb266a77265491660e2375271f5; 6.14 (not affected: before 6.14; 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.14 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/77bb293049d61e04c12b24ebbffafaf5ab36af90> (patch)
- <https://git.kernel.org/stable/c/f91e10435c0dd37c48b1b25e6236284f656ddc0c> (patch)
- <https://git.kernel.org/stable/c/9871938f99cc6cb266a77265491660e2375271f5> (patch)

## Sources

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

---

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