HIGH Introduced in 2.6.14
netfilter QueueInstance UAF
CVE-2026-98624
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.10 | 2.6.14 | 5.10.271 | 46432f2e76f7 |
| 5.15 | 2.6.14 | 5.15.222 | 597320337c3d |
| 6.1 | 2.6.14 | 6.1.189 | 2e9be1302f25 |
| 6.12 | 2.6.14 | 6.12.112 | 1d1184411599 |
| 6.18 | 2.6.14 | 6.18.55 | 07a3ec8fdc5a |
| 6.6 | 2.6.14 | 6.6.158 | d559e06a5ab7 |
| 7.2 | 2.6.14 | 7.2.9 | 8137a39e08e8 |
| mainline | 2.6.14 | 7.3 | 9461613afc59 |
| cip/4.19 | 2.6.14 | 4.19.325-cip137 | e050fd558401 |
| cip/5.10 | 2.6.14 | 5.10.271-cip78 | 46432f2e76f7 |
| cip/5.10-rt | 2.6.14 | 5.10.272-cip79-rt35 | 46432f2e76f7 |
| cip/6.1 | 2.6.14 | 6.1.189-cip61 | 2e9be1302f25 |
| cip/6.1-rt | 2.6.14 | 6.1.189-cip61-rt32 | 2e9be1302f25 |
| cip/6.12 | 2.6.14 | 6.12.112-cip33 | 1d1184411599 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.112-cip33 |
| cip/6.1 | Fixed in 6.1.189-cip61 |
| cip/6.1-rt | Fixed in 6.1.189-cip61-rt32 |
| cip/5.10 | Fixed in 5.10.271-cip78 |
| cip/5.10-rt | Fixed in 5.10.272-cip79-rt35 |
| cip/4.19 | Fixed in 4.19.325-cip137 |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip115) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |