Kernel Kit / Infix / v26.10.0latest
CVE-2026-99293
—unknownlinux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
fuse: don't BUG when the copy buffer is exhausted
fuse_copy_fill() hits BUG_ON(!err) once the iterator backing the copy runs out of pages. Over io-uring the amount copied is not bounded by the payload buffer the server registered, so an unprivileged user can drain the iterator and panic the host - mount a FUSE filesystem with small payload buffers, then setxattr() a larger value:
kernel BUG at fs/fuse/dev.c:1064!kernel log · 18 lines
kernel BUG at fs/fuse/dev.c:1064! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 148 Comm: exploit Not tainted 7.3.0-rc1 #2 RIP: 0010:fuse_copy_fill (fs/fuse/dev.c:1033) Call Trace: <TASK> fuse_copy_args (fs/fuse/dev.c:1354 fs/fuse/dev.c:1380) fuse_uring_args_to_ring (fs/fuse/dev_uring.c:891) fuse_uring_prepare_send (fs/fuse/dev_uring.c:940 fs/fuse/dev_uring.c:1057) fuse_uring_send_in_task (fs/fuse/dev_uring.c:1745) tctx_task_work_run (io_uring/tw.c:96) tctx_task_work (io_uring/tw.c:133) task_work_run (kernel/task_work.c:233) io_run_task_work (io_uring/tw.h:84) io_cqring_wait (io_uring/wait.c:278) __do_sys_io_uring_enter (io_uring/io_uring.c:2676) do_syscall_64 (arch/x86/entry/syscall_64.c:61) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
The reply path can drain it the same way, via the server-supplied payload_sz in fuse_uring_copy_from_ring().
Return -EIO instead. All three fuse_copy_fill() callers already propagate the error.
Published 2026-11-16NVD
The vulnerable code is in this build: fuse_copy_fill() in fs/fuse/dev.c still has the unfixed BUG_ON(!err), and FUSE-over-io_uring (CONFIG_FUSE_IO_URING=y, fs/fuse/dev_uring.o) is compiled in. No applied patch touches fuse.
It is not reachable on a shipped device in its normal configuration. The io_uring transport is gated by the enable_uring module parameter of fuse, which defaults to off, and nothing in the product tree (kernel command line, modprobe or sysctl config, confd, YANG) turns it on. With it off, FUSE_INIT never sets fc->io_uring and fuse_uring_cmd() returns -EOPNOTSUPP. The image also ships no FUSE userspace (libfuse, libfuse3, sshfs, ntfs-3g, fuse-overlayfs are all unset).
Reaching the bug needs host root to write /sys/module/fuse/parameters/enable_uring (mode 0644) and then a custom FUSE server using io_uring. That is outside the management interfaces; the closest product path is a container started with the privileged leaf in infix-containers.yang, which is already host-root-equivalent. It is a local denial of service (kernel panic), not reachable from a network interface.
Evidence 12
`fuse_copy_fill()` calls `iov_iter_get_pages2()` and then `BUG_ON(!err)`; the fix (return `-EIO`) is not present.
output/build/linux-6.18.60/fs/fuse/dev.c:937-940
Source is 6.18.60 (VERSION 6, PATCHLEVEL 18, SUBLEVEL 60).
output/build/linux-6.18.60/Makefile:2-4
139 patches applied, none with fuse in the name; no backport of the fix.
output/build/linux-6.18.60/.applied_patches_list
`CONFIG_FUSE_FS=y`, `CONFIG_FUSE_IO_URING=y`, `CONFIG_IO_URING=y`.
output/build/linux-6.18.60/.config:4128,4132,279
`fs/fuse/dev_uring.o` and `fs/fuse/dev.o` were built.
output/objects.txt:24466-24467
The io_uring send path builds an iterator of `ring->max_payload_sz` bytes with `import_ubuf()` and passes it to `fuse_copy_args()`, which is the path in the CVE trace; line 689 is the reply path using the server-supplied `payload_sz`.
output/build/linux-6.18.60/fs/fuse/dev_uring.c:654-662,732
`static bool __read_mostly enable_uring;` with `module_param(enable_uring, bool, 0644)`: default off, writable only by root.
output/build/linux-6.18.60/fs/fuse/dev_uring.c:15-16
`fuse_uring_cmd()` returns `-EOPNOTSUPP` when `enable_uring` is off and the connection has no `fc->io_uring`.
output/build/linux-6.18.60/fs/fuse/dev_uring.c:1271-1280
`fc->io_uring` is only set at `FUSE_INIT` when `fuse_uring_enabled()` is true, i.e. when `enable_uring` is set.
output/build/linux-6.18.60/fs/fuse/inode.c:1452-1453
`# CONFIG_CMDLINE_BOOL is not set`; no built-in command line sets `fuse.enable_uring`. A search of the tree outside the kernel and Buildroot sources finds no `enable_uring` at all.
output/build/linux-6.18.60/.config:467
`BR2_PACKAGE_LIBFUSE`, `BR2_PACKAGE_LIBFUSE3`, `BR2_PACKAGE_FUSE_OVERLAYFS`, `BR2_PACKAGE_NTFS_3G`, `BR2_PACKAGE_SSHFS` and `BR2_PACKAGE_LIBURING` are not set; no FUSE server or `fusermount` in the image.
output/.config:2284-2285,796,807,816,2957
The only management-interface route to host-root-level code is the container `privileged` leaf, which passes `--privileged` to podman; it does not itself enable FUSE over io_uring.
src/confd/yang/confd/infix-containers.yang:288; src/confd/src/containers.c:137-138
Version and patches
The tree is 6.18.60 and still contains the unfixed BUG_ON(!err) in fuse_copy_fill(), so it is affected at source level. None of the 139 applied patches concerns fuse. I could not read the upstream fix commits (no network access), so the affected range and the first fixed 6.18.y release are not confirmed; the CVE description reports the crash on 7.3.0-rc1.
Recommendation
Document as not exposed in the default configuration, and pick up the fix with the next routine 6.18.y stable bump that includes it; no urgent backport is needed.
If the fix is wanted sooner, it is a one-line change in fs/fuse/dev.c (return -EIO instead of BUG_ON(!err)).
As hardening, consider setting # CONFIG_FUSE_IO_URING is not set in board/x86_64/linux_defconfig and the other board defconfigs, since nothing in the product uses it.
Open questions
Whether a privileged container should count as an in-product way to enable this. An operator who sets privileged in infix-containers.yang gives the container root access to /sys/module/fuse/parameters/enable_uring and /dev/fuse, so untrusted code in such a container could panic the host. I treated that as equivalent to a root shell, hence NOT_EXPOSED rather than USED_WHEN_ENABLED; if your policy treats privileged containers as a supported exposure, the verdict would move up.
I did not check container images or other payloads that are not in this tree for a bundled FUSE server.
The upstream fixed version is unverified, as noted in the version check.
One combined shell command was refused by the sandbox; I reran the same checks as separate read-only commands, so nothing is missing from the review.
Members of Kernel Kit decide. Sign in if you are one.