Kernel Kit / Infix / v26.10.0latest
CVE-2026-99284
—unknownlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
net: skbuff: propagate shared-frag marker in skb_zerocopy()
skb_zerocopy() moves frag descriptors from @from into @to and takes a reference on each frag, but it does not copy skb_shinfo(from)->flags into skb_shinfo(to)->flags. A destination skb holding the same page-cache backed frags as the source therefore reports skb_has_shared_frag() as false.
That breaks the invariant relied on by later in-place writers. ESP input checks skb_has_shared_frag() before deciding whether an uncloned nonlinear skb can skip skb_cow_data(); with the marker lost, an skb that skb_zerocopy() built for nfnetlink_queue or for an openvswitch upcall is decrypted in place, letting an unprivileged user write into the page cache of a root-owned read-only file.
Propagate SKBFL_SHARED_FRAG when frag descriptors are copied, as done for the other frag-transfer helpers.
Published 2026-11-07NVD
References 5
- git.kernel.org/stable/c/1a9c180cd8435917b7516edfb1c9148032c28773
- git.kernel.org/stable/c/1c623e3cbf43f12dd4a72712079bfa247a9b8ba3
- git.kernel.org/stable/c/79dc34beb1fdb3da79753e51e15c68591a2561fe
- git.kernel.org/stable/c/d7d6ff98d5d1b400f02211f962ac32cc0020aeab
- git.kernel.org/stable/c/fe8477e23dd2ee6bce231d65f2586a333b211dc0
The build is affected: skb_zerocopy() in net/core/skbuff.c does not propagate SKBFL_SHARED_FRAG, and no applied patch fixes it.
It is not exposed on a shipped device. The only compiled caller is nfnetlink_queue (CONFIG_NETFILTER_NETLINK_QUEUE=y); CONFIG_OPENVSWITCH is off, and nothing in the product (confd, the firewall YANG model, the rootfs overlay) creates an nftables queue rule or runs a queue listener. The in-place writer the CVE describes, ESP input, is also not compiled (CONFIG_INET_ESP and CONFIG_INET6_ESP are not set), so the page-cache write has no sink in this kernel.
Reaching the unfixed function would require a root shell or CAP_NET_ADMIN to load nft_queue, add a queue rule by hand and bind a listener. Network traffic alone cannot reach it without such a rule.
Evidence 12
Frag descriptors are copied at line 3876 and referenced at 3881, with no copy of SKBFL_SHARED_FRAG into skb_shinfo(to)->flags; the fix is absent.
output/build/linux-6.18.60/net/core/skbuff.c:3832-3887 (skb_zerocopy)
The other frag-transfer helpers do propagate SKBFL_SHARED_FRAG, so only skb_zerocopy() lacks it.
output/build/linux-6.18.60/net/core/skbuff.c:2200, 4340, 4971, 6198
Source is 6.18.60, matching the CPE.
output/build/linux-6.18.60/Makefile:2-4
The only applied patches mentioning skb or queue are DSA patches; none touches skb_zerocopy().
output/build/linux-6.18.60/.applied_patches_list:19,136
net/core/skbuff.o is built.
output/objects.txt:23692
The only compiled caller of skb_zerocopy(), used when a queued packet is copied to a userspace listener.
output/build/linux-6.18.60/net/netfilter/nfnetlink_queue.c:947
CONFIG_NETFILTER_NETLINK_QUEUE=y and CONFIG_NFT_QUEUE=m; objects at output/objects.txt:23944 and 24024.
output/build/linux-6.18.60/.config:1134, 1188
CONFIG_OPENVSWITCH is not set, so the second caller at net/openvswitch/datapath.c:593 is not built.
output/build/linux-6.18.60/.config:1528
CONFIG_INET_ESP and CONFIG_INET6_ESP are not set.
output/build/linux-6.18.60/.config:1074, 1092
esp4.o is built only under CONFIG_INET_ESP; no esp object appears in output/objects.txt, so the in-place writer the CVE names (esp4.c:890, esp6.c:932) is absent.
output/build/linux-6.18.60/net/ipv4/Makefile:36
libnetfilter_queue is in the image only as a dependency of conntrack-tools; no NFQUEUE consumer is selected.
output/.config:2699; buildroot/package/conntrack-tools/Config.in:9
No match for "queue"; no NFQUEUE match anywhere under src/, board/ or package/, so no management interface creates a queue rule.
src/confd/yang/confd/infix-firewall.yang; src/confd/src/firewall.c
Version and patches
The tree is 6.18.60 (output/build/linux-6.18.60/Makefile:2-4) with no fix in the source and no applied patch for it (output/build/linux-6.18.60/.applied_patches_list). I could not read the upstream fix commits or the CNA affected range from here, so the fixed stable version is unknown.
Recommendation
Document as not exposed, and pick up the fix with the next 6.18.y stable bump rather than as an urgent backport.
Re-triage if CONFIG_INET_ESP, CONFIG_INET6_ESP or CONFIG_OPENVSWITCH is ever enabled.
Open questions
CONFIG_USER_NS=y (output/build/linux-6.18.60/.config:226) and BR2_PACKAGE_PODMAN=y (output/.config:5248) mean a local user or a container with CAP_NET_ADMIN in its own network namespace could probably set up a queue rule there. I did not check whether the container YANG model can grant that capability. This affects only who can reach the unfixed function, not the missing ESP sink.
The other compiled readers of skb_has_shared_frag() are net/core/dev.c:3581, net/core/dev.c:3631 and net/core/skbuff.c:5025. I did not trace whether an skb built by nfnetlink_queue can reach them; it is delivered to a netlink socket, so this looks unlikely but is unverified.
I did not find the body of skb_zerocopy_clone() (called at skbuff.c:3869), so I am assuming rather than confirming that it leaves the marker unset.
One combined shell command was denied by the session's permission system early on; I redid the same checks as separate read-only searches, so nothing is missing from the review because of it.
Members of Kernel Kit decide. Sign in if you are one.