raw_sendmsg: syz-executor.0 forgot to set AF_INET. Fix it! ------------[ cut here ]------------ kernel BUG at net/ipv4/ip_output.c:724! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5600 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:ip_frag_next+0x999/0xa80 net/ipv4/ip_output.c:724 Code: 06 fb ff ff 4c 89 14 24 e8 74 e7 20 fa 4c 8b 14 24 e9 c7 fd ff ff 48 8b 7c 24 08 e8 61 e7 20 fa 4c 8b 54 24 10 e9 b3 f9 ff ff <0f> 0b 48 8b 3c 24 4c 89 54 24 10 e8 87 e7 20 fa 4c 8b 54 24 10 e9 RSP: 0018:ffffc90004d777d8 EFLAGS: 00010282 RAX: 00000000fffffff2 RBX: ffffc90004d77940 RCX: 00000000000005dc RDX: ffff888079fbc024 RSI: 0000000000000ba4 RDI: ffff88801ea9ebb0 RBP: ffffc90004d77944 R08: 0000000000000ba4 R09: ffff888079fbc023 R10: ffffc90004d77958 R11: ffff888079fbc010 R12: ffff88801ea9e000 R13: ffffc90004d77950 R14: 00000000000005c8 R15: ffff88801fe10c80 FS: 00007f4bca94f700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020010000 CR3: 0000000021106000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip_do_fragment+0x731/0x18f0 net/ipv4/ip_output.c:902 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+0xe7/0x210 net/ipv4/ip_output.c:1606 raw_sendmsg+0xef4/0x2670 net/ipv4/raw.c:645 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg+0xc0/0x150 net/socket.c:745 __sys_sendto+0x1bf/0x290 net/socket.c:2142 __do_sys_sendto net/socket.c:2154 [inline] __se_sys_sendto net/socket.c:2150 [inline] __x64_sys_sendto+0xdc/0x1b0 net/socket.c:2150 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:0x7f4bc9c8c0c9 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:00007f4bca94f168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f4bc9dabf80 RCX: 00007f4bc9c8c0c9 RDX: 000000000000fcf2 RSI: 0000000020000380 RDI: 0000000000000003 RBP: 00007f4bc9ce7ae9 R08: 0000000020001380 R09: 000000000000006e R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd23bd300f R14: 00007f4bca94f300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ip_frag_next+0x999/0xa80 net/ipv4/ip_output.c:724 Code: 06 fb ff ff 4c 89 14 24 e8 74 e7 20 fa 4c 8b 14 24 e9 c7 fd ff ff 48 8b 7c 24 08 e8 61 e7 20 fa 4c 8b 54 24 10 e9 b3 f9 ff ff <0f> 0b 48 8b 3c 24 4c 89 54 24 10 e8 87 e7 20 fa 4c 8b 54 24 10 e9 RSP: 0018:ffffc90004d777d8 EFLAGS: 00010282 RAX: 00000000fffffff2 RBX: ffffc90004d77940 RCX: 00000000000005dc RDX: ffff888079fbc024 RSI: 0000000000000ba4 RDI: ffff88801ea9ebb0 RBP: ffffc90004d77944 R08: 0000000000000ba4 R09: ffff888079fbc023 R10: ffffc90004d77958 R11: ffff888079fbc010 R12: ffff88801ea9e000 R13: ffffc90004d77950 R14: 00000000000005c8 R15: ffff88801fe10c80 FS: 00007f4bca94f700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020010000 CR3: 0000000021106000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400