# CVE-2026-64062: netfs: Fix potential deadlock in write-through mode

- 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.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:41.523Z
- Modified: 2026-09-02T21:12:18.057Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

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

netfs: Fix potential deadlock in write-through mode

Fix netfs_advance_writethrough() to always unlock the supplied folio and to
mark it dirty if it isn't yet written to the end.  Unfortunately, it can't
be marked for writeback until the folio is done with as that may cause a
deadlock against mmapped reads and writes.

Even though it has been marked dirty, premature writeback can't occur as
the caller is holding both inode->i_rwsem (which will prevent concurrent
truncation, fallocation, DIO and other writes) and ictx->wb_lock (which
will cause flushing to wait and writeback to skip or wait).

Note that this may be easier to deal with once the queuing of folios is
split from the generation of subrequests.

(As written by CVE List.)

## Affected

- Linux Linux: from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before 1468f39243ccb155b6d97f9a9932f610d1205d75; from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before 003aa0dd26c964025acd6d1213bcdbd674db2ca9; from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before e40e9cbf3ee4d30ee9a97bd128c85500b6ad0da1; from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before b6a4ae1634b3ad2aaa05222e53d36da532852faf; 6.10 (not affected: before 6.10; 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 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/1468f39243ccb155b6d97f9a9932f610d1205d75> (patch)
- <https://git.kernel.org/stable/c/003aa0dd26c964025acd6d1213bcdbd674db2ca9> (patch)
- <https://git.kernel.org/stable/c/e40e9cbf3ee4d30ee9a97bd128c85500b6ad0da1> (patch)
- <https://git.kernel.org/stable/c/b6a4ae1634b3ad2aaa05222e53d36da532852faf> (patch)

## Sources

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

---

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