bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-64160

9.8critical

linux6.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 potential for tearing in ->remote_i_size and ->zero_point

Fix potential tearing in using ->remote_i_size and ->zero_point by copying i_size_read() and i_size_write() and using the same seqcount as for i_size.

We need to make sure that netfslib and the filesystems that use it always hold i_lock whilst updating any of the sizes to prevent i_size_seqcount from getting corrupted.

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

References 2
Review Av26.10.0x86_64Not exposed✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

The kernel source in this build is unfixed: netfs_resize_file in include/linux/netfs.h still stores remote_i_size/zero_point without the seqcount protection the fix adds, and none of the 139 applied patches touch fs/netfs or fs/9p.

netfslib is compiled in only because CONFIG_9P_FS=y (CIFS, AFS, NFS, Ceph are all disabled).

Nothing in the default boot (finit.d/enabled, fstab) or in confd/YANG/CLI mounts a 9p (or any netfs-backed) filesystem; the only 9p use in the tree is an optional QEMU virtfs host share in board/common/qemu/itb/run.sh for development.

Reaching the vulnerable code on a shipped device would require a root shell plus a 9p server, so it is NOT_EXPOSED.

Evidence 7
  1. remote_i_size and zero_point are still written as plain stores with no i_size_seqcount/i_lock helpers; fix not present

    output/build/linux-6.18.60/include/linux/netfs.h:517-524 (netfs_resize_file)

  2. No applied patch mentions netfs or fs/9p; no backport of 2c8f4742bb76 / 55970f238d49

    output/build/linux-6.18.60/.applied_patches_list

  3. CONFIG_NETFS_SUPPORT=y, CONFIG_9P_FS=y, CONFIG_NET_9P_FD=y, CONFIG_NET_9P_VIRTIO=y; CONFIG_CIFS, CONFIG_AFS_FS, CONFIG_NFS_FS, CONFIG_CEPH_FS, CONFIG_FSCACHE unset

    output/build/linux-6.18.60/.config

  4. fs/netfs/*.o and fs/9p/*.o built; no fs/smb or fs/afs objects

    output/objects.txt

  5. Default services are mstpd, netconf, rauc; no 9p or network filesystem mount at boot

    board/common/rootfs/etc/finit.d/enabled/ and finit.conf

  6. No configuration node or command that mounts 9p or any netfs-backed filesystem

    src/confd (YANG, CLI handlers)

  7. Only 9p/virtfs usage is an optional QEMU host share (CONFIG_IX_QEMU_HOST) for development/test, not a shipped-device path

    board/common/qemu/itb/run.sh:221-226

Version and patches

NVD range includes 6.18.60; fix commits 2c8f4742bb76 and 55970f238d49 are not in this tree (netfs_resize_file unchanged, no seqcount helpers) and no Buildroot/Infix patch backports them. Build is unfixed.

Recommendation

Document as N/A for shipped devices (NOT_EXPOSED); pick up the fix in the next routine stable kernel bump, no urgent backport. The CVSS 9.8/AV:N rating does not apply to this build: the vulnerable netfs paths are only reachable through a mounted 9p filesystem, which needs a root shell on the device plus a 9p server (QEMU virtfs or a TCP/fd 9p server), and no management interface or default network service exercises it.

Open questions

None material. Re-evaluate as USED_WHEN_ENABLED if a future release adds a YANG/CLI option to mount 9p, CIFS or NFS shares.

Members of Kernel Kit decide. Sign in if you are one.