------------[ cut here ]------------ kernel BUG at net/core/dev.c:3238! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4005 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:skb_checksum_help+0x4b4/0x5b0 net/core/dev.c:3238 Code: fa 45 89 ec e9 59 ff ff ff e8 98 c5 57 fa 48 89 ef 41 bc ea ff ff ff e8 2a f9 ff ff eb c7 e8 83 c5 57 fa 0f 0b e8 7c c5 57 fa <0f> 0b 4c 89 f7 e8 a2 1d 9f fa e9 79 fb ff ff e8 a8 1d 9f fa e9 28 RSP: 0018:ffffc90006f5f0e0 EFLAGS: 00010206 RAX: 0000000000009f00 RBX: 00000000000003d2 RCX: ffffc90003031000 RDX: 0000000000040000 RSI: ffffffff871f27a4 RDI: 0000000000000003 RBP: ffff888017cf43c0 R08: 00000000000003d4 R09: 0000000000000000 R10: ffffffff871f2670 R11: 0000000000000000 R12: 00000000000000e0 R13: 00000000000003d4 R14: ffff888017cf4440 R15: 00000000000003d2 FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:00000000f454fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020003000 CR3: 0000000051eb8000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_csum_hwoffload_help+0x126/0x1e0 net/core/dev.c:3643 validate_xmit_skb+0xbd5/0xee0 net/core/dev.c:3686 __dev_queue_xmit+0x8c6/0x36e0 net/core/dev.c:4200 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xf01/0x2140 net/ipv4/ip_output.c:221 __ip_finish_output net/ipv4/ip_output.c:299 [inline] __ip_finish_output+0x396/0x640 net/ipv4/ip_output.c:281 ip_finish_output+0x32/0x200 net/ipv4/ip_output.c:309 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:423 dst_output include/net/dst.h:450 [inline] ip_local_out+0xaf/0x1a0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x628/0xa50 net/ipv4/ip_tunnel_core.c:82 geneve_xmit_skb drivers/net/geneve.c:971 [inline] geneve_xmit+0x10e2/0x3540 drivers/net/geneve.c:1082 __netdev_start_xmit include/linux/netdevice.h:4988 [inline] netdev_start_xmit include/linux/netdevice.h:5002 [inline] xmit_one net/core/dev.c:3582 [inline] dev_hard_start_xmit+0x1eb/0x920 net/core/dev.c:3598 sch_direct_xmit+0x19f/0xbc0 net/sched/sch_generic.c:342 qdisc_restart net/sched/sch_generic.c:407 [inline] __qdisc_run+0x4bc/0x1700 net/sched/sch_generic.c:415 __dev_xmit_skb net/core/dev.c:3867 [inline] __dev_queue_xmit+0x1f9c/0x36e0 net/core/dev.c:4177 packet_snd net/packet/af_packet.c:3017 [inline] packet_sendmsg+0x220b/0x52a0 net/packet/af_packet.c:3044 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 __sys_sendto+0x21c/0x320 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __ia32_sys_sendto+0xdb/0x1b0 net/socket.c:2044 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6f55549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f454f5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000171 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000080 RDX: 0000000000003287 RSI: 0000000004000002 RDI: 0000000000000000 RBP: 00000000000002ff R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace e9f5326aa6edca3a ]--- RIP: 0010:skb_checksum_help+0x4b4/0x5b0 net/core/dev.c:3238 Code: fa 45 89 ec e9 59 ff ff ff e8 98 c5 57 fa 48 89 ef 41 bc ea ff ff ff e8 2a f9 ff ff eb c7 e8 83 c5 57 fa 0f 0b e8 7c c5 57 fa <0f> 0b 4c 89 f7 e8 a2 1d 9f fa e9 79 fb ff ff e8 a8 1d 9f fa e9 28 RSP: 0018:ffffc90006f5f0e0 EFLAGS: 00010206 RAX: 0000000000009f00 RBX: 00000000000003d2 RCX: ffffc90003031000 RDX: 0000000000040000 RSI: ffffffff871f27a4 RDI: 0000000000000003 RBP: ffff888017cf43c0 R08: 00000000000003d4 R09: 0000000000000000 R10: ffffffff871f2670 R11: 0000000000000000 R12: 00000000000000e0 R13: 00000000000003d4 R14: ffff888017cf4440 R15: 00000000000003d2 FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:00000000f454fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020003000 CR3: 0000000051eb8000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi