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 (1569) > skb_headlen() (1305) WARNING: CPU: 3 PID: 5170 at net/core/dev.c:3286 skb_checksum_help+0x5f1/0x750 net/core/dev.c:3286 Modules linked in: CPU: 3 PID: 5170 Comm: syz-executor398 Not tainted 6.9.0-rc7-syzkaller-00183-gcf87f46fd34d #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:skb_checksum_help+0x5f1/0x750 net/core/dev.c:3286 Code: 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 52 01 00 00 44 89 e2 2b 53 74 4c 89 ee 48 c7 c7 20 90 4c 8c e8 a0 41 96 f8 90 <0f> 0b 90 90 e9 87 fe ff ff e8 e1 2c 2f f9 e9 3c fa ff ff e8 07 2d RSP: 0018:ffffc900032c70b8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880331bc140 RCX: ffffffff81503039 RDX: ffff88802292a440 RSI: ffffffff81503046 RDI: 0000000000000001 RBP: ffff8880331bc1b4 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000586 R13: 0000000000000621 R14: ffff8880331bc1b0 R15: 000000000000061f FS: 000055555f33b380(0000) GS:ffff88806b500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 00000000258a8000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip_do_fragment+0xa1c/0x18b0 net/ipv4/ip_output.c:777 ip_fragment.constprop.0+0x161/0x230 net/ipv4/ip_output.c:584 ip_finish_output_gso net/ipv4/ip_output.c:286 [inline] __ip_finish_output net/ipv4/ip_output.c:308 [inline] __ip_finish_output+0x5af/0x950 net/ipv4/ip_output.c:295 ip_finish_output+0x31/0x310 net/ipv4/ip_output.c:323 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0x13b/0x2a0 net/ipv4/ip_output.c:433 dst_output include/net/dst.h:450 [inline] ip_local_out+0x33e/0x4a0 net/ipv4/ip_output.c:129 iptunnel_xmit+0x5b4/0x9b0 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1dce/0x33e0 net/ipv4/ip_tunnel.c:857 ipgre_xmit+0x586/0xb40 net/ipv4/ip_gre.c:670 __netdev_start_xmit include/linux/netdevice.h:4903 [inline] netdev_start_xmit include/linux/netdevice.h:4917 [inline] xmit_one net/core/dev.c:3531 [inline] dev_hard_start_xmit+0x143/0x790 net/core/dev.c:3547 __dev_queue_xmit+0x7bf/0x40f0 net/core/dev.c:4341 dev_queue_xmit include/linux/netdevice.h:3091 [inline] packet_xmit+0x23e/0x360 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3081 [inline] packet_sendmsg+0x24a5/0x51e0 net/packet/af_packet.c:3113 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0xab5/0xc90 net/socket.c:2584 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2638 __sys_sendmsg+0x117/0x1f0 net/socket.c:2667 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f28bde2e4d9 Code: 48 83 c4 28 c3 e8 d7 19 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe95735d68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f28bde7b390 RCX: 00007f28bde2e4d9 RDX: 0000000000000000 RSI: 0000000020002ac0 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000555500000000 R09: 0000555500000000 R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffe95735db0 R13: 00007ffe95735d80 R14: 0000000000000001 R15: 00007ffe95735db0