HIGH Introduced in 3.7
team QueueOverride UAF
CVE-2026-99027
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: net: team: stop reusing skb after queue override A nonzero dev_queue_xmit() result does not return ownership of the skb. When an override port's qdisc drops it, the queue override helper used to try another port or the mode transmit op with the freed skb. Return the handoff decision separately from transmit success. Select only the first override port under RCU and stop after handing it the skb, regardless of the lower transmit result. Keep the existing success and drop accounting. BUG: KASAN: slab-use-after-free in sk_skb_reason_drop Write of size 4 by task poc/5040 sk_skb_reason_drop (net/core/skbuff.c:1240) dev_kfree_skb_any_reason (net/core/dev.c:3470) ab_transmit (drivers/net/team/team_mode_activebackup.c:49) team_xmit (drivers/net/team/team_core.c:1849) __dev_direct_xmit (net/core/dev.c:4934) Freed by task 5040: __tcf_kfree_skb_list (net/sched/sch_generic.c:43) __dev_queue_xmit (net/core/dev.c:4831) team_xmit (drivers/net/team/team_core.c:1846) Kernel panic - not syncing: KASAN: panic_on_warn set ...
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 team network driver by configuring queue override and causing a port's qdisc to drop a packet. This leads to kernel memory corruption, enabling privilege escalation to root or a kernel panic.
Vulnerability analysis
The team driver's queue override feature incorrectly reused a network packet (skb) after it had been freed by a port's qdisc. When dev_queue_xmit() returns a non-zero value, ownership of the skb is not returned to the caller — the qdisc has already freed it. The original code treated this as a signal to try the next override port or fall back to the mode transmit operation, passing the now-freed skb to subsequent code paths. The fix changes the logic to select only the first override port under RCU, hand off the skb exactly once, and report the transmit result separately without retrying with the same skb. The vulnerability is reachable by any local user who can create a team device, enable queue override, and transmit packets — typically requiring CAP_NET_ADMIN, which is available inside user namespaces.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.10 | 3.7 | 5.10.273 | 13be794844e3 |
| 5.15 | 3.7 | 5.15.224 | e40846f66107 |
| 6.1 | 3.7 | 6.1.191 | eaf49fba9cd0 |
| 6.12 | 3.7 | 6.12.114 | 07a48cfceb3d |
| 6.18 | 3.7 | 6.18.57 | 0c0568c9d35c |
| 6.6 | 3.7 | 6.6.160 | b21f20320fa2 |
| 7.2 | 3.7 | 7.2.11 | bed63353341d |
| mainline | 3.7 | 7.3 | b7454f1940c5 |
| cip/6.12 | 3.7 | 6.12.114-cip34 | 07a48cfceb3d |
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.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip137) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip137-rt51) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip116) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |