CVSS
Вероятност да бъде експлоатирана в следващите 30 дни (EPSS)
Атакува се
Време до експлоатация
Описание
Оригинално описание
In the Linux kernel, the following vulnerability has been resolved: net: cap skb->queue_mapping when the tx queue is picked skbedit can set skb->queue_mapping and raise the per-CPU skip_txqueue flag so __dev_queue_xmit() honours the mapping. __dev_queue_xmit() cleared the flag before sch_handle_egress() and only read it afterwards, so the flag was not confined to the xmit that set it: a nested xmit (mirred redirect or mirror, or a drop after skbedit) could set the flag and the outer xmit would consume it for an skb that never went through skbedit. A forwarded packet still carries the ingress NIC's rx_queue + 1 in skb->queue_mapping, so the outer device then indexes its tx queue state with that stale value. Taprio's child array q->qdiscs[] is sized to the device's queue count, so taprio_enqueue() indexes past its allocation and dereferences the result as a struct Qdisc *. We (ab)use the skb->nf_skip_egress which means "skip netfilter egress for this packet" to tag to "am I in tc egress?". Despite the overload I dont see it as a conflict since the marker is set only around the single sch_handle_egress() call and ingress path is guarded by tc_at_ingress. I will send a followup(net-next) patch once this hits net-next to rename the skb->nf_skip_egress bit/flag to skb->skip_egress Arm the flag only from the egress classifier that can use it: raise skip_txqueue from tcf_skbedit_act() only when it runs inside sch_handle_egress(), thanks to skb->nf_skip_egress. An egress qdisc classifier runs in q->enqueue(), after the tx queue has been picked, so a mapping it sets cannot affect the current packet; arming the flag there only pollutes it for a later xmit. Then own the flag for the xmit frame the egress hook runs in: save the incoming value and clear it just before sch_handle_egress(), and restore it after the hook - on the consumed (drop) path, or, in the same call that reads it, on the surviving path. The save and the restores stay inside the egress_needed_key static br
Засегнати продукти
- Linux Linux: 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c преди c6ec35c8267c84c2094cb485db20c06384fc2bcc; 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c преди 2f581814e4e3ea6a5e98f49813dc4c68444a0c4a; 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c преди f99de42f5c6f8d088063817dad82c3334e87c570; 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c преди ea4d4b5dddb5121e64f56fd8e0720bd8b447b63d
- Linux Linux: 5.19; преди 5.19; 6.12.113 до 6.12.*; 6.18.56 до 6.18.*; 7.2.10 до 7.2.*; от 7.3 нататък
История
- 18 октомври 2026 Публикувано
Други уязвимости в Linux Linux
Първоизточници
- https://www.cve.org/CVERecord?id=CVE-2026-98797
- https://nvd.nist.gov/vuln/detail/CVE-2026-98797
- https://git.kernel.org/stable/c/c6ec35c8267c84c2094cb485db20c06384fc2bcc
- https://git.kernel.org/stable/c/2f581814e4e3ea6a5e98f49813dc4c68444a0c4a
- https://git.kernel.org/stable/c/f99de42f5c6f8d088063817dad82c3334e87c570
- https://git.kernel.org/stable/c/ea4d4b5dddb5121e64f56fd8e0720bd8b447b63d