KernelScan.io

HIGH Introduced in 2.6.14

netfilter QueueInstance UAF

CVE-2026-98624

CVSS 7.0 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_queue: hold nfnl mutex in event notifier We must serialize the release notifier and the config netlink function. A concurrent thread can issue close() which can call the release function while unrelated socket processes UNBIND request for same portid: Oops: general protection fault, [..] RIP: 0010:__instance_destroy+0x60/0x210 [nfnetlink_queue] Call Trace: nfqnl_recv_config+0x9b0/0xdc0 [nfnetlink_queue] nfnetlink_rcv_msg+0x7c2/0xeb0 ? __pfx_nfnetlink_rcv_msg+0x10/0x10 After this, parallel UNBIND and URELEASE events are impossible. This change isn't nice, but its the shortest fix given instances are not refcounted and the nfnetlink config callback drops the rcu read lock early due to need for sleeping allocations.

02

Engine v0.9.0

Risk summary

A local attacker with CAP_NET_ADMIN (obtainable in a user namespace) can trigger a race condition between socket close and netlink UNBIND operations on the same portid, causing a use-after-free in the nfnetlink_queue subsystem. This can lead to kernel memory corruption, privilege escalation, or denial of service. Containerized workloads with NET_ADMIN capability are particularly at risk.

Affectednet/netfilter/nfnetlink_queue.c (netfilter nfnetlink_queue)

Vulnerability analysis

A race condition exists in the nfnetlink_queue subsystem where a socket close operation (which triggers a NETLINK_URELEASE notifier) can run concurrently with an UNBIND netlink configuration request for the same portid. Both paths manipulate the same queue instance without adequate synchronization: the notifier destroys instances while the config handler may still be accessing them after dropping the RCU read lock. The fix serializes these operations by making the URELEASE notifier acquire the nfnetlink subsystem mutex (nfnl_lock), which the config handler already holds during its operation. This prevents parallel destruction and use of queue instances. The vulnerability is reachable by any local user who can create a user namespace and obtain CAP_NET_ADMIN, making it exploitable from containers and by untrusted code.

03

BranchIntroducedFixed inPatch commit
5.102.6.145.10.27146432f2e76f7
5.152.6.145.15.222597320337c3d
6.12.6.146.1.1892e9be1302f25
6.122.6.146.12.1121d1184411599
6.182.6.146.18.5507a3ec8fdc5a
6.62.6.146.6.158d559e06a5ab7
7.22.6.147.2.98137a39e08e8
mainline2.6.147.39461613afc59
cip/4.192.6.144.19.325-cip137e050fd558401
cip/4.19-rt2.6.144.19.325-cip137-rt51e050fd558401
cip/4.42.6.144.4.302-cip116de2f3a5804fb
cip/5.102.6.145.10.271-cip7846432f2e76f7
cip/5.10-rt2.6.145.10.272-cip79-rt3546432f2e76f7
cip/6.12.6.146.1.189-cip612e9be1302f25
cip/6.1-rt2.6.146.1.189-cip61-rt322e9be1302f25
cip/6.122.6.146.12.112-cip331d1184411599

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Fixed in 4.19.325-cip137
cip/4.19-rtFixed in 4.19.325-cip137-rt51
cip/4.4Fixed in 4.4.302-cip116
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)