skb linear: 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ------------[ cut here ]------------ offset+2 (24217) > skb_headlen() (10637) WARNING: CPU: 1 PID: 5910 at net/core/dev.c:3314 skb_checksum_help+0x5cc/0x64c Modules linked in: CPU: 1 PID: 5910 Comm: syz.3.396 Not tainted 6.1.98-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : skb_checksum_help+0x5cc/0x64c lr : skb_checksum_help+0x5c8/0x64c net/core/dev.c:3313 sp : ffff80001fe56aa0 x29: ffff80001fe56ac0 x28: 0000000000005e97 x27: dfff800000000000 x26: 000000000000298d x25: 0000000000000000 x24: 0000000000005e99 x23: ffff0000f86c20d8 x22: ffff0000f86c2070 x21: ffff0000f86c2000 x20: 00000000ffffffea x19: 000000000000298d x18: ffff80001fe561a0 x17: 3020303020303020 x16: ffff80000830560c x15: 0000000000000002 x14: 1ffff00002b0c0b0 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000000f188 x10: ffff800021999000 x9 : cac7dd9c29d19100 x8 : cac7dd9c29d19100 x7 : ffff800008342048 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff80001fe565a0 x1 : 0000000000000200 x0 : 0000000000000000 Call trace: skb_checksum_help+0x5cc/0x64c ip_do_fragment+0x1bc/0x1b14 net/ipv4/ip_output.c:774 ip_fragment+0x11c/0x308 ip_finish_output_gso net/ipv4/ip_output.c:279 [inline] __ip_finish_output+0x280/0x458 net/ipv4/ip_output.c:301 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:444 [inline] ip_local_out+0x120/0x160 net/ipv4/ip_output.c:126 iptunnel_xmit+0x40c/0x8ec net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x19a0/0x28bc net/ipv4/ip_tunnel.c:840 __gre_xmit net/ipv4/ip_gre.c:474 [inline] ipgre_xmit+0x70c/0xab0 net/ipv4/ip_gre.c:669 __netdev_start_xmit include/linux/netdevice.h:4853 [inline] netdev_start_xmit include/linux/netdevice.h:4867 [inline] xmit_one net/core/dev.c:3627 [inline] dev_hard_start_xmit+0x25c/0x9a4 net/core/dev.c:3643 __dev_queue_xmit+0x186c/0x38d8 net/core/dev.c:4293 dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3021 packet_snd net/packet/af_packet.c:3076 [inline] packet_sendmsg+0x36f0/0x4cd8 net/packet/af_packet.c:3107 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x55c/0x848 net/socket.c:2514 ___sys_sendmsg net/socket.c:2568 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2597 __do_sys_sendmsg net/socket.c:2606 [inline] __se_sys_sendmsg net/socket.c:2604 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 725 hardirqs last enabled at (724): [] console_trylock_spinning+0x1d0/0x300 kernel/printk/printk.c:1930 hardirqs last disabled at (725): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (378): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (484): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- skb len=10637 headroom=168 headlen=3215 tailroom=0 mac=(168,0) net=(168,20) trans=188 shinfo(txflags=0 nr_frags=2 gso(size=0 type=0 segs=0)) csum(0x350e2a31 ip_summed=3 complete_sw=0 valid=0 level=0) hash(0x0 sw=0 l4=0) proto=0x0800 pkttype=0 iif=0 dev name=veth0 feat=0x000061164fdd19e9 skb linear: 00000000: 45 02 29 8d 52 a5 00 00 0f 2f 8f 6b ac 14 14 18 skb linear: 00000010: e0 00 00 03 00 00 08 00 bd 0b 29 75 10 84 0c 52 skb linear: 00000020: 0f 06 ea 9e fd fe 4b 88 94 30 eb b5 29 97 e3 6e skb linear: 00000030: 03 9b 1c 59 88 25 f8 01 00 e3 c0 63 76 c3 30 76 skb linear: 00000040: a1 67 d5 14 fa 57 0a 44 02 61 a6 7a 34 a0 76 05 skb linear: 00000050: c9 3a 6b 53 46 bc 62 83 f4 00 00 00 4c 84 00 00 skb linear: 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 skb linear: 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ------------[ cut here ]------------ offset (10633) >= skb_headlen() (3215) WARNING: CPU: 1 PID: 5910 at net/core/dev.c:3305 skb_checksum_help+0x55c/0x64c Modules linked in: CPU: 1 PID: 5910 Comm: syz.3.396 Tainted: G W 6.1.98-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : skb_checksum_help+0x55c/0x64c lr : skb_checksum_help+0x558/0x64c net/core/dev.c:3304 sp : ffff80001fe56aa0 x29: ffff80001fe56ac0 x28: 1fffe0001f0d8460 x27: dfff800000000000 x26: 000000000000298d x25: 0000000000000c8f x24: 0000000000002989 x23: ffff0000f86c2358 x22: ffff0000f86c22f0 x21: ffff0000f86c2280 x20: 00000000ffffffea x19: 000000000000298d x18: 0000000000000000 x17: 0000000000000000 x16: ffff80001216d264 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800021999000 x9 : cac7dd9c29d19100 x8 : cac7dd9c29d19100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fe56398 x4 : ffff800015942b20 x3 : ffff800008586ccc x2 : 0000000000000001 x1 : 0000000000000200 x0 : 0000000000000000 Call trace: skb_checksum_help+0x55c/0x64c ip_do_fragment+0x1bc/0x1b14 net/ipv4/ip_output.c:774 ip_fragment+0x11c/0x308 ip_finish_output_gso net/ipv4/ip_output.c:279 [inline] __ip_finish_output+0x280/0x458 net/ipv4/ip_output.c:301 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:444 [inline] ip_local_out+0x120/0x160 net/ipv4/ip_output.c:126 iptunnel_xmit+0x40c/0x8ec net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x19a0/0x28bc net/ipv4/ip_tunnel.c:840 __gre_xmit net/ipv4/ip_gre.c:474 [inline] ipgre_xmit+0x70c/0xab0 net/ipv4/ip_gre.c:669 __netdev_start_xmit include/linux/netdevice.h:4853 [inline] netdev_start_xmit include/linux/netdevice.h:4867 [inline] xmit_one net/core/dev.c:3627 [inline] dev_hard_start_xmit+0x25c/0x9a4 net/core/dev.c:3643 __dev_queue_xmit+0x186c/0x38d8 net/core/dev.c:4293 dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3021 packet_snd net/packet/af_packet.c:3076 [inline] packet_sendmsg+0x36f0/0x4cd8 net/packet/af_packet.c:3107 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x55c/0x848 net/socket.c:2514 ___sys_sendmsg net/socket.c:2568 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2597 __do_sys_sendmsg net/socket.c:2606 [inline] __se_sys_sendmsg net/socket.c:2604 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 1001 hardirqs last enabled at (1000): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (1001): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (378): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (484): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---