------------[ cut here ]------------ kernel BUG at net/ipv4/ip_output.c:724! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5310 Comm: syz-executor.4 Not tainted 6.2.0-rc5-next-20230123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:ip_frag_next+0xa03/0xa50 net/ipv4/ip_output.c:724 Code: e8 f2 0a 86 f9 e9 95 fa ff ff 48 8b 3c 24 e8 e4 0a 86 f9 e9 5b f8 ff ff 4c 89 ff e8 d7 0a 86 f9 e9 1f f8 ff ff e8 dd 34 38 f9 <0f> 0b 48 89 54 24 20 4c 89 44 24 18 e8 bc 0a 86 f9 48 8b 54 24 20 RSP: 0018:ffffc90004edf288 EFLAGS: 00010212 RAX: 0000000000005f52 RBX: ffffc90004edf3e8 RCX: ffffc9000be4a000 RDX: 0000000000040000 RSI: ffffffff8849b953 RDI: 0000000000000005 RBP: 00000000000004c0 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff2 R11: 0000000000094001 R12: ffff8880268e4b40 R13: ffffc90004edf3ec R14: 00000000fffffff2 R15: ffffc90004edf400 FS: 00007fad71d96700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffc59e3b68 CR3: 0000000078757000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip_do_fragment+0x873/0x17d0 net/ipv4/ip_output.c:902 ip_fragment.constprop.0+0x16b/0x240 net/ipv4/ip_output.c:581 __ip_finish_output net/ipv4/ip_output.c:304 [inline] __ip_finish_output+0x2de/0x650 net/ipv4/ip_output.c:288 ip_finish_output+0x31/0x280 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_mc_output+0x21f/0x710 net/ipv4/ip_output.c:415 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb net/ipv4/ip_output.c:1586 [inline] ip_push_pending_frames+0x129/0x2b0 net/ipv4/ip_output.c:1606 raw_sendmsg+0x1393/0x2f40 net/ipv4/raw.c:645 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:827 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg+0xde/0x190 net/socket.c:745 sock_no_sendpage+0x10c/0x160 net/core/sock.c:3241 inet_sendpage+0x107/0x140 net/ipv4/af_inet.c:845 kernel_sendpage.part.0+0x1d5/0x700 net/socket.c:3580 kernel_sendpage net/socket.c:3577 [inline] sock_sendpage+0xe7/0x180 net/socket.c:1075 pipe_to_sendpage+0x2b1/0x380 fs/splice.c:361 splice_from_pipe_feed fs/splice.c:415 [inline] __splice_from_pipe+0x449/0x8a0 fs/splice.c:559 splice_from_pipe fs/splice.c:594 [inline] generic_splice_sendpage+0xd8/0x140 fs/splice.c:743 do_splice_from fs/splice.c:764 [inline] do_splice+0xb5b/0x1960 fs/splice.c:1074 __do_splice+0x134/0x250 fs/splice.c:1139 __do_sys_splice fs/splice.c:1346 [inline] __se_sys_splice fs/splice.c:1328 [inline] __x64_sys_splice+0x19c/0x250 fs/splice.c:1328 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fad7108c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007fad71d96168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007fad711ac050 RCX: 00007fad7108c0c9 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fad710e7ae9 R08: 0000000000400f04 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee07d5e9f R14: 00007fad71d96300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ip_frag_next+0xa03/0xa50 net/ipv4/ip_output.c:724 Code: e8 f2 0a 86 f9 e9 95 fa ff ff 48 8b 3c 24 e8 e4 0a 86 f9 e9 5b f8 ff ff 4c 89 ff e8 d7 0a 86 f9 e9 1f f8 ff ff e8 dd 34 38 f9 <0f> 0b 48 89 54 24 20 4c 89 44 24 18 e8 bc 0a 86 f9 48 8b 54 24 20 RSP: 0018:ffffc90004edf288 EFLAGS: 00010212 RAX: 0000000000005f52 RBX: ffffc90004edf3e8 RCX: ffffc9000be4a000 RDX: 0000000000040000 RSI: ffffffff8849b953 RDI: 0000000000000005 RBP: 00000000000004c0 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff2 R11: 0000000000094001 R12: ffff8880268e4b40 R13: ffffc90004edf3ec R14: 00000000fffffff2 R15: ffffc90004edf400 FS: 00007fad71d96700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 0000000078757000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400