CVE-2026-64067

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

State
Published
Severity
9.8 Critical
Published
Jul 19, 2026
Updated
Oct 15, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to before f048f297d93fdb19d72d01d22f04c419d8b16602Affected
  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to before 293a4532c36f38458e38b8879b174ab797718b9dAffected
  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to before b5782e2d462c028096f922abca46318cec890670Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.