Kernel Kit / Infix / v26.10.0latest
CVE-2026-64067
9.8criticallinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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).Published 2026-07-19NVD
CVSS 3.1Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fable 5.1 · high confidence · 2026-11-05
The 6.18.60 kernel sources in this build already contain the complete fix for CVE-2026-64067: the new list_add_tail_release()/list_first_entry_or_null_acquire() helpers exist in include/linux/list.h, and all four netfs call sites (buffered_read.c, write_issue.c, read_collect.c, write_collect.c) use them, including the fix's own comment text.
No Infix patch touches netfs, so this is the upstream stable backport that NVD's CPE range does not reflect.
netfs is compiled (CONFIG_NETFS_SUPPORT=y via 9P), but it is the fixed code; document as not applicable.
Evidence 9
…/ is output/build/linux-6.18.60/
list_add_tail_release() defined with smp_store_release – helper introduced by the fix commit
…/include/linux/list.h:211
list_first_entry_or_null_acquire() macro defined – helper introduced by the fix commit
…/include/linux/list.h:685
list_add_tail_release(&subreq->rreq_link, &stream->subrequests) – fix hunk for read issue path
…/fs/netfs/buffered_read.c:174
list_add_tail_release(...) – fix hunk for write issue path
…/fs/netfs/write_issue.c:210
netfs_collect_read_results() uses list_first_entry_or_null_acquire() with the fix's 'Read first subreq pointer before IN_PROGRESS flag' comment
…/fs/netfs/read_collect.c:224-226
netfs_collect_write_results() uses list_first_entry_or_null_acquire()
…/fs/netfs/write_collect.c:231-233
netfs_check_subreq_in_progress() uses test_bit_acquire (used by misc.c:405 collector wait path)
…/fs/netfs/internal.h:316-320
Kernel is 6.18.60; the 139 applied Infix patches include none touching netfs, so the fix comes from the stable tarball
…/Makefile:1-4 and .applied_patches_list
CONFIG_NETFS_SUPPORT=y pulled in by CONFIG_9P_FS=y – netfs code is compiled, but it is the fixed version
…/.config:4144, :4242
Version and patches
Fix upstream f048f297d93f, stable backports 293a4532c36f / b5782e2d462c. The linux-6.18.60 tarball used by this build already contains every hunk (list.h helpers + four netfs call sites). NVD's CPE match on 6.18.60 does not account for the stable backport. No Infix patch adds or removes the fix.
Recommendation
No action; document as N/A (fix already present in 6.18.60 stable).
Open questions
None material. For completeness: netfs is only consumed by 9P (CONFIG_NET_9P_VIRTIO/CONFIG_9P_FS in board/x86_64/linux_defconfig:251-345), a virtio/QEMU-only transport with no finit service or YANG node that mounts it, so even pre-fix code would have been NOT_EXPOSED on a shipped device.
Members of Kernel Kit decide. Sign in if you are one.