Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: use DEBUG_NET_WARN_ON_ONCE in nf_ct_bridge_refrag() nf_ct_bridge_refrag() warns when skb->protocol is neither IPv4 nor IPv6. A vlan filtering bridge can get there with a vlan ethertype: if the protocol of the tag of a frame differs from the vlan_protocol of the bridge, br_allowed_ingress() moves the tag back into the packet after NF_BR_PRE_ROUTING, where bridge conntrack has already defragmented it. Anyone who can send fragments into a port of such a bridge can trigger the warning, which takes the machine down with panic_on_warn. The packet is dropped either way, so only warn on kernels built with CONFIG_DEBUG_NET. This only avoids the warning. Such fragmented packets are still dropped. syzbot reported the warning. It keeps triggering on CONFIG_DEBUG_NET kernels until the vlan tag is handled, which is left for a follow-up: https://syzkaller.appspot.com/bug?extid=a8ba738fe2db6b4bb27f
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3c171f496ef57774f8e5d509923372549734877f to < 2b97b2a6caccfc73d09c3c567a58256e154ee857affected3c171f496ef57774f8e5d509923372549734877f to < 4566c74013490dd498dc6cd66e15d2ca20146a11affected3c171f496ef57774f8e5d509923372549734877f to < a05186f106a42681539552edbda85c4c238b9618affected3c171f496ef57774f8e5d509923372549734877f to < 683ff28ab18accb25268741a724645eee839d41aaffected
Linux Linux
Default version status: affected
5.3affected0 to < 5.3unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected