In the Linux kernel, the following vulnerability has been resolved:
skbuff: Account for tail adjustment during pull operations
Extending the tail can have some unexpected side effects if a program uses
a helper like BPF_FUNC_skb_pull_data to read partial content beyond the
head skb headlen when all the skbs in the gso frag_list are linear with no
head_frag -
kernel BUG atnet/core/skbuff.c:4219!
pc : skb_segment+0xcf4/0xd2clr : skb_segment+0x63c/0xd2cCall trace:skb_segment+0xcf4/0xd2c__udp_gso_segment+0xa4/0x544udp4_ufo_fragment+0x184/0x1c0inet_gso_segment+0x16c/0x3a4skb_mac_gso_segment+0xd4/0x1b0__skb_gso_segment+0xcc/0x12cudp_rcv_segment+0x54/0x16cudp_queue_rcv_skb+0x78/0x144udp_unicast_rcv_skb+0x8c/0xa4__udp4_lib_rcv+0x490/0x68cudp_rcv+0x20/0x30ip_protocol_deliver_rcu+0x1b0/0x33cip_local_deliver+0xd8/0x1f0ip_rcv+0x98/0x1a4deliver_ptype_list_skb+0x98/0x1ec__netif_receive_skb_core+0x978/0xc60
Fix this by marking these skbs as GSO_DODGY so segmentation can handle
the tail updates accordingly.