# CVE-2026-64067: netfs: Fix missing barriers when accessing stream->subrequests locklessly

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:44.660Z
- Modified: 2026-10-15T11:17:38.860Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

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

netfs: Fix missing barriers when accessing stream->subrequests locklessly

The list of subrequests attached to stream->subrequests is accessed without
locks by netfs_collect_read_results() and netfs_collect_write_results(),
and then they access subreq->flags without taking a barrier after getting
the subreq pointer from the list.  Relatedly, the functions that build the
list don't use any sort of write barrier when constructing the list to make
sure that the NETFS_SREQ_IN_PROGRESS flag is perceived to be set first if
no lock is taken.

Fix this by:

 (1) Add a new list_add_tail_release() function that uses a release barrier
     to set the pointer to the new member of the list.

 (2) Add a new list_first_entry_or_null_acquire() function that uses an
     acquire barrier to read the pointer to the first member in a list (or
     return NULL).

 (3) Use list_add_tail_release() when adding a subreq to ->subrequests.

 (4) Use list_first_entry_or_null_acquire() when initially accessing the
     front of the list (when an item is removed, the pointer to the new
     front iterm is obtained under the same lock).

(As written by CVE List.)

## Affected

- Linux Linux: from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before f048f297d93fdb19d72d01d22f04c419d8b16602; from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before 293a4532c36f38458e38b8879b174ab797718b9d; from 288ace2f57c9d06dd2e42bd80d03747d879a4068 before b5782e2d462c028096f922abca46318cec890670; 6.10 (not affected: before 6.10; from 6.18.57 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.10 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/f048f297d93fdb19d72d01d22f04c419d8b16602>
- <https://git.kernel.org/stable/c/293a4532c36f38458e38b8879b174ab797718b9d> (patch)
- <https://git.kernel.org/stable/c/b5782e2d462c028096f922abca46318cec890670> (patch)

## Sources

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

---

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