Kernel Kit / Infix / v26.10.0latest
CVE-2026-43174
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases
Reach linux · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
io_uring/zcrx: fix post open error handling
Closing a queue doesn't guarantee that all associated page pools are terminated right away, let the refcounting do the work instead of releasing the zcrx ctx directly.
Published 2026-05-06NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · high confidence · 2026-11-05
The vulnerable code is present and compiled: CONFIG_IO_URING_ZCRX=y, io_uring/zcrx.o is built, and io_register_zcrx_ifq() in this tree still frees the ifq directly via io_zcrx_ifq_free() on the two error paths that follow a successful __net_mp_open_rxq() (xa_store and copy_to_user failures); no applied patch touches zcrx.
However, reaching that path requires a local process with CAP_NET_ADMIN calling io_uring_register(IORING_REGISTER_ZCRX_IFQ) with DEFER_TASKRUN/CQE32 rings AND a NIC driver implementing queue_mgmt_ops so the rx-queue open succeeds.
None of the Ethernet drivers compiled into this x86_64 image (e1000, ne2k-pci, 8139cp, rocker, virtio_net, USB/WLAN) implement queue_mgmt_ops; the only drivers that do (bnxt, gve, mlx5, fbnic, netdevsim) are all disabled, so __net_mp_open_rxq() fails with -EOPNOTSUPP before the bug is reachable.
Nothing in finit or confd/YANG uses or enables io_uring zcrx, and it is not reachable from a network interface.
Evidence 11
zcrx feature is enabled in the kernel config
output/build/linux-6.18.60/.config:5081 (CONFIG_IO_URING_ZCRX=y), :279 (CONFIG_IO_URING=y)
zcrx.c is compiled into the image
output/objects.txt:24368 (io_uring/zcrx.o); io_uring/Makefile:17
After __net_mp_open_rxq() succeeds, xa_store failure and copy_to_user failure still 'goto err' -> io_zcrx_ifq_free(ifq); the fix (defer release to refcounting) is absent
io_uring/zcrx.c:629-659 io_register_zcrx_ifq()
ifq is kfree'd immediately after io_close_queue(); page pools only hold ctx->refs, no ifq refcount exists in this tree
io_uring/zcrx.c:529-540 io_zcrx_ifq_free(), :898-906 io_pp_zc_init/destroy
No applied patch mentions zcrx or io_uring
output/build/linux-6.18.60/.applied_patches_list
Registration requires capable(CAP_NET_ADMIN) and an io_uring ring with IORING_SETUP_DEFER_TASKRUN and CQE32/CQE_MIXED — local privileged syscall only
io_uring/zcrx.c:566-567
Returns -EOPNOTSUPP unless the netdev has queue_mgmt_ops (netdev_need_ops_lock); the vulnerable error path lies after this call succeeds
net/core/netdev_rx_queue.c:121-122 __net_mp_open_rxq()
Only these drivers support the memory-provider queue API
drivers/net grep for queue_mgmt_ops: bnxt, gve, mlx5/core, meta/fbnic, netdevsim
CONFIG_BNXT, CONFIG_GVE, CONFIG_MLX5_CORE, CONFIG_FBNIC, CONFIG_NETDEVSIM are all 'not set'
.config:2187,2221,2253,2257,2555
Enabled Ethernet drivers are VIRTIO_NET, E1000, NE2K_PCI, 8139CP, ROCKER — none implement queue_mgmt_ops
.config:2143,2230,2279,2302,2308
No service, sysctl, YANG node or confd code references io_uring; no management-interface path enables zcrx
board/common/rootfs/etc, src/confd (grep io_uring)
Version and patches
NVD lists linux 6.18.60 as affected; tree Makefile confirms 6.18.60. The stable fix (5d540e4508950c674d6feef1d95463d039bbf4f5) is not present: io_register_zcrx_ifq() still calls io_zcrx_ifq_free() directly on post-open errors and no ifq refcounting exists. None of the 139 Buildroot patches touch io_uring/zcrx.c.
Recommendation
Document as not exposed in the shipped x86_64 image (no queue_mgmt_ops-capable NIC driver built, local CAP_NET_ADMIN io_uring syscall required, no management-interface path). Pick up the fix with the next routine 6.18.y stable bump; no urgent backport needed. Re-evaluate if bnxt/gve/mlx5/fbnic drivers are ever enabled, or consider CONFIG_IO_URING_ZCRX=n / io_uring_disabled sysctl if io_uring is not needed by any product component.
Open questions
Exact stable release containing 5d540e45 (likely 6.18.61+) could not be verified offline. Other board configs (non-x86_64) were not reviewed; they may enable different NIC drivers.
Members of Kernel Kit decide. Sign in if you are one.