KernelScan.io

HIGH

netfilter CTHelper OOB

CVE-2026-43450

CVSS 7.1 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

KernelScan AI3.3LOW

01

In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_cthelper: fix OOB read in nfnl_cthelper_dump_table() nfnl_cthelper_dump_table() has a 'goto restart' that jumps to a label inside the for loop body. When the "last" helper saved in cb->args[1] is deleted between dump rounds, every entry fails the (cur != last) check, so cb->args[1] is never cleared. The for loop finishes with cb->args[0] == nf_ct_helper_hsize, and the 'goto restart' jumps back into the loop body bypassing the bounds check, causing an 8-byte out-of-bounds read on nf_ct_helper_hash[nf_ct_helper_hsize]. The 'goto restart' block was meant to re-traverse the current bucket when "last" is no longer found, but it was placed after the for loop instead of inside it. Move the block into the for loop body so that the restart only occurs while cb->args[0] is still within bounds. BUG: KASAN: slab-out-of-bounds in nfnl_cthelper_dump_table+0x9f/0x1b0 Read of size 8 at addr ffff888104ca3000 by task poc_cthelper/131 Call Trace: nfnl_cthelper_dump_table+0x9f/0x1b0 netlink_dump+0x333/0x880 netlink_recvmsg+0x3e2/0x4b0 sock_recvmsg+0xde/0xf0 __sys_recvfrom+0x150/0x200 __x64_sys_recvfrom+0x76/0x90 do_syscall_64+0xc3/0x6e0 Allocated by task 1: __kvmalloc_node_noprof+0x21b/0x700 nf_ct_alloc_hashtable+0x65/0xd0 nf_conntrack_helper_init+0x21/0x60 nf_conntrack_init_start+0x18d/0x300 nf_conntrack_standalone_init+0x12/0xc0

02

Engine v0.2.0

Risk summary

Local users with CAP_NET_ADMIN can trigger an 8-byte out-of-bounds read in the netfilter connection tracking helper dump function. This allows reading kernel memory immediately beyond the allocated hash table, potentially leaking kernel pointer values or adjacent slab data. The leak is limited to a fixed 8-byte address and does not provide arbitrary read capability.

Affectednet/netfilter/nfnetlink_cthelper.c (netfilter)

Vulnerability analysis

The vulnerability occurs in nfnl_cthelper_dump_table() due to incorrect placement of a 'goto restart' block outside the bounds-checked for loop. When the saved helper reference in cb->args[1] is deleted between netlink dump rounds, the loop exits with cb->args[0] equal to nf_ct_helper_hsize. The subsequent goto restart jumps back into the loop body, bypassing the i < nf_ct_helper_hsize check and causing an 8-byte out-of-bounds read on nf_ct_helper_hash[nf_ct_helper_hsize]. The fix moves the restart logic inside the loop so bounds checking is always enforced. Exploitation requires CAP_NET_ADMIN, which is obtainable via user namespaces on default kernels.

03

BranchFixed inPatch commit
5.105.10.2530605e1985a95
5.155.15.20392441f6d9405
6.16.1.1673cc328ffc32d
6.126.12.78894c5780ddad
6.186.18.1905018cd9370f
6.196.19.961b3a1f8621d
6.66.6.1304a1f6ee69267
mainline7.06dcee8496d53