net/sched: act_ct: preserve tc_skb_cb across defragmentation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ec624fe740b416fb68d536b37fb8eef46f90b5c2 · < f7f45ceb855d9ba1cba594fb3f383255f7013fad| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/sched: act_ct: preserve tc_skb_cb across defragmentation
tcf_ct_handle_fragments() calls nf_ct_handle_fragments() without saving and restoring skb->cb. The defrag helper clears IPCB/IP6CB, which aliases the tc_skb_cb/qdisc_skb_cb control buffer. Fragmented traffic through act_ct therefore loses qdisc metadata such as pkt_segs and can trigger WARN_ON_ONCE() in qdisc_pkt_segs() when panic_on_warn is enabled.
Save and restore the full tc_skb_cb around nf_ct_handle_fragments(), matching the pattern used by ovs_ct_handle_fragments().
From the CVE record · Linux
The Linux kernel's act_ct defragmentation path can erase qdisc metadata when handling fragmented traffic. This can trigger a kernel warning and, if panic_on_warn is enabled, a panic. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels that use net/sched act_ct should check their kernel's vendor advisory for affected versions.