Kernel Kit / Infix / v26.10.0latest
CVE-2026-90237
7.8highlinux6.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
netfilter: nft_ct: move custom expectation support to helper
Originally, the ct expectation support called nf_ct_helper_ext_add() for confirmed conntracks, which is invalid, triggering a splat. This was fixed by commit 1710eb913bdc ("netfilter: nft_ct: skip expectations for confirmed conntrack") which restricted it to unconfirmed conntracks.
However, early insertion of expectations into the expectations list when the conntrack is unconfirmed leads to stale entries pointing to the wrong hlist_head through .pprev due to ct extension reallocation.
Commit 7c9664351980 ("netfilter: move nat hlist_head to nf_conn") moved the nat hlist_head to nf_conn for this reason:
1. ...
2. When reallocation of extension area occurs we need to fixup the
bysource hash head via hlist_replace_rcu.I'd rather not increase the size of the struct nf_conn for this feature has very limited scope: only one expectation can be created at a time given expect_clash() will make nf_ct_expect_related() reports EBUSY. For this reason, relax nf_ct_expect_related() not to drop packets in case expectation creation fails, therefore, expectation creation becomes best effort.
To address this issue, add an internal ct helper and attach it to the conntrack entry to streamline the custom ct expectation support with existing ct helpers.
Expose a new nf_conntrack_helper_release() function to release the internal helper that is allocated and attached to the conntrack entry to create the custom expectations. The nft_ct module removal always waits for rcu grace period, then the NULL helper callback is observed after this.
This patch also restricts the creation of expectations to different helpers other than this custom helper that is created for this type of expectations.
Published 2026-09-17NVD
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
- High
- Integrity
- High
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The build is affected: net/netfilter/nft_ct.c in the 6.18.60 tree still has the pre-fix nft_ct_expect_obj_eval(), there is no nf_conntrack_helper_release() anywhere in net/ or include/, and none of the 139 applied patches touch netfilter. The code is built as a module (CONFIG_NFT_CT=m) and can be auto-loaded on demand.
It only runs when an nftables ruleset contains a ct expectation object. Nothing in the product creates one: firewalld is off by default and its nftables backend never emits one, and no YANG node, CLI command or confd code does either. Reaching it needs a hand-written nft ruleset from a shell, which is outside the management interfaces.
One caveat keeps this from being a clean N/A. CONFIG_USER_NS=y and nothing in the tree restricts user namespaces, so a non-admin user given a bash or sh login shell (YANG leaf infix-system:shell, default none) could probably build such a ruleset in their own network namespace. That matches the CVE's local, low-privilege vector, but I did not confirm it end to end.
Evidence 12
Pre-fix code: on an unconfirmed conntrack it calls `nf_ct_helper_ext_add(ct, GFP_ATOMIC)` (line 1310) and then `nf_ct_expect_related(exp, 0)` (line 1334), dropping the packet on failure. This is the early expectation insertion the CVE describes.
output/build/linux-6.18.60/net/netfilter/nft_ct.c:1289-1337 (nft_ct_expect_obj_eval)
No match. The function the fix introduces is absent, so the fix has not been backported into this source.
output/build/linux-6.18.60/net and output/build/linux-6.18.60/include (grep for nf_conntrack_helper_release)
139 patches from `patches/linux/6.18.60/`; none has netfilter, nft, conntrack or nf_ in its name, and nothing under `patches/` mentions `nf_conntrack_helper_release` or the custom expectation change.
output/build/linux-6.18.60/.applied_patches_list
`CONFIG_NFT_CT=m`, with `CONFIG_NF_TABLES=y` (line 1187) and `CONFIG_NF_CONNTRACK=y` (line 1150). Same settings in `board/aarch64/linux_defconfig:94,114,118`.
output/build/linux-6.18.60/.config:1191
`nft_ct.o`, `nft_ct.mod.o` and `nf_conntrack_helper.o` were built.
output/objects.txt:21911,21951,22024
`MODULE_ALIAS_NFT_OBJ(NFT_OBJECT_CT_EXPECT)` plus `nft_request_module(net, "nft-obj-%u", objtype)`: the module is auto-loaded when a ruleset asks for a ct expectation object (`CONFIG_MODPROBE_PATH="/sbin/modprobe"`, `.config:838`).
output/build/linux-6.18.60/net/netfilter/nft_ct.c:1428 and nf_tables_api.c:8232
Only `mstpd.conf`, `netconf.conf` and `rauc.conf` are enabled by default. `firewalld.conf` is under `available/`, so no nftables ruleset is loaded by a factory-default service.
board/common/rootfs/etc/finit.d/enabled/
The firewall is a presence container that confd turns into `firewalld` configuration. This is the only product path that programs nftables.
src/confd/yang/confd/infix-firewall.yang:136-140 and src/confd/src/firewall.c:584-777
The nftables backend uses `ct state` and `ct status` matches; grep for `expect` finds only a comment at line 709. It never creates `ct expectation` objects. A tree-wide search for `ct expectation` outside the kernel and Buildroot sources finds nothing.
output/build/firewalld-2.3.1/src/firewall/core/nftables.py
`CONFIG_USER_NS=y`, and the sysctl file sets only `net.core.fb_tunnels_only_for_init_net` and `net.core.rmem_max`. No `user.max_user_namespaces` limit was found in `board/`, `src/` or `package/`.
output/build/linux-6.18.60/.config:210 and board/common/rootfs/etc/sysctl.d/system.conf
Leaf `shell` under `/sys:system/sys:authentication/sys:user` lets an operator give a user a `bash` or `sh` login shell. Default is none, and the description warns against it for non-admin users.
src/confd/yang/confd/infix-system.yang:594-607
`CONFIG_UNSHARE=y` in busybox, and both `unshare` and `nft` are in the target filesystem (`BR2_PACKAGE_NFTABLES=y`, `output/.config:3276`), so the tools for a namespace-local ruleset are on the device.
output/build/busybox-1.37.0/.config:718, output/target/usr/bin/unshare, output/target/usr/sbin/nft
Version and patches
Source is unpatched vanilla 6.18.60 for this code: nft_ct_expect_obj_eval() is in its pre-fix form and the fix's nf_conntrack_helper_release() is absent. No applied patch under patches/linux/6.18.60/ addresses it and Buildroot has no IGNORE_CVES entry. I could not read the upstream fix commits (3679da4ad8be, af3fe52fd108) or the CNA version range from this tree, so the first fixed 6.18.y release is not established here.
Recommendation
Do not document this as not applicable. Plan to pick up the fix through the next 6.18.y stable bump that contains it, or backport the upstream commit to patches/linux/6.18.60/; normal priority rather than emergency, since no shipped configuration creates ct expectation objects.
Until then, the practical exposure is local users with a real shell. If non-admin shell accounts are in use, consider setting user.max_user_namespaces=0 in board/common/rootfs/etc/sysctl.d/ (check first whether the container feature needs user namespaces in other defconfigs).
Open questions
- –The unprivileged user-namespace path is inferred from configuration, not confirmed. I did not check whether a non-admin shell user can actually run
unshareandnfton the device, or whether a runtime default limits user namespaces.
- –
output/targetcontains no.kofiles at all in this tree (only thelib/modules/6.18.60directory), so I could not confirm thatnft_ct.kois installed in the image. I assumed it is, sinceCONFIG_NFT_CT=mand the object was built.
- –The first fixed 6.18.y version is unknown; the upstream commits are not readable from here.
- –Only
aarch64_minimal_defconfigwas reviewed. Other defconfigs that enable containers could give container workloadsCAP_NET_ADMINin their own network namespace, which would be a further way to reach this code.
Members of Kernel Kit decide. Sign in if you are one.