HIGH Introduced in 4.3
openvswitch UnconfirmedCt UAF
CVE-2026-98491
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI7.0HIGH
01Description
In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: conntrack: avoid modifying shared unconfirmed ct entry In a case where skb with an unconfirmed ct entry gets cloned, we may end up committing both but with different sets of extensions. The series of events: 1. The first clone wants to commit and runs the helpers wiring up the extension pointer into the expectation list. 2. Then it looses the confirmation keeping the entry unconfirmed. 3. Second clone now wants to commit labels and adds the new extension for that breaking the pointer in the expectation list causing UAF on the destruction path later. While this is possible to trigger, there should be no practical network pipeline where committing both clones without modifications into the same zone is needed. So, let's just reset the entry in case for some reason we got an skb with a shared one during commit. This doesn't affect any known use cases, but avoids any potential problems with sharing and modification of the unconfirmed ct entry. The fixes tag points to the introduction of helpers, since that's the main UAF trigger for the sharing.
02KernelScan AI Analysis
Risk summary
A local attacker with CAP_NET_ADMIN (obtainable in a user namespace) can trigger a use-after-free in the Open vSwitch conntrack subsystem by configuring flows that cause cloned packets to race while committing an unconfirmed connection tracking entry. Successful exploitation leads to kernel memory corruption, enabling privilege escalation to root or kernel code execution.
Vulnerability analysis
When an skb carrying an unconfirmed conntrack entry is cloned, both clones may attempt to commit the entry with different extension sets. The first clone wires an extension pointer into the expectation list, then loses confirmation; the second clone adds a different extension, corrupting that pointer. On later destruction, the corrupted pointer causes a use-after-free. The fix detects this case — an unconfirmed, shared (refcount > 1) ct entry during a commit request — and resets the connection tracking state on the skb, forcing a fresh lookup instead of modifying the shared entry. The vulnerability is reachable only by a local actor who can install OVS flows with the ct(commit) action, which requires CAP_NET_ADMIN; this capability can be granted inside an unprivileged user namespace, so container workloads or any process with that capability can trigger the bug.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.10 | 4.3 | 5.10.271 | e0fa5ea434b7 |
| 5.15 | 4.3 | 5.15.222 | 37e3c878b183 |
| 6.1 | 4.3 | 6.1.189 | 707c2dc77891 |
| 6.12 | 4.3 | 6.12.112 | 55e5256adf39 |
| 6.18 | 4.3 | 6.18.55 | e2829ae5459d |
| 6.6 | 4.3 | 6.6.158 | de41ee24f77b |
| 7.2 | 4.3 | 7.2.9 | 457e0df1b571 |
| mainline | 4.3 | 7.3 | 26b2bd70d224 |
| cip/4.19 | 4.3 | 4.19.325-cip137 | e5518ede2866 |
| cip/4.19-rt | 4.3 | 4.19.325-cip137-rt51 | e5518ede2866 |
| cip/4.4 | 4.3 | 4.4.302-cip116 | 56097ab3bf36 |
| cip/5.10 | 4.3 | 5.10.271-cip78 | e0fa5ea434b7 |
| cip/5.10-rt | 4.3 | 5.10.272-cip79-rt35 | e0fa5ea434b7 |
| cip/6.1 | 4.3 | 6.1.189-cip61 | 707c2dc77891 |
| cip/6.1-rt | 4.3 | 6.1.189-cip61-rt32 | 707c2dc77891 |
| cip/6.12 | 4.3 | 6.12.112-cip33 | 55e5256adf39 |
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 | Fixed in 4.19.325-cip137-rt51 |
| cip/4.4 | Fixed in 4.4.302-cip116 |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |