raw_sendmsg: syz-executor.4 forgot to set AF_INET. Fix it! divide error: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 9662 Comm: syz-executor.3 Not tainted 4.14.258-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809c0cc000 task.stack: ffff88805b9c8000 RIP: 0010:netem_enqueue+0x1364/0x2df0 net/sched/sch_netem.c:511 RSP: 0018:ffff88805b9cf750 EFLAGS: 00010246 RAX: 00000000f1ac915a RBX: ffff88809c790840 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8880aba06140 RDI: ffff8880aba061c4 RBP: 0000000000000080 R08: ffff8880aba06218 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880961c4b60 R14: 0000000000000000 R15: ffff8880961c4940 FS: 00007f1a53898700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd22000 CR3: 00000000b3aa1000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netem_enqueue+0x889/0x2df0 net/sched/sch_netem.c:475 __dev_xmit_skb net/core/dev.c:3225 [inline] __dev_queue_xmit+0x121d/0x2480 net/core/dev.c:3489 __netlink_deliver_tap_skb net/netlink/af_netlink.c:273 [inline] __netlink_deliver_tap net/netlink/af_netlink.c:291 [inline] netlink_deliver_tap+0x60c/0x7d0 net/netlink/af_netlink.c:302 netlink_deliver_tap_kernel net/netlink/af_netlink.c:311 [inline] netlink_unicast_kernel net/netlink/af_netlink.c:1293 [inline] netlink_unicast+0x485/0x610 net/netlink/af_netlink.c:1320 netlink_sendmsg+0x638/0xb90 net/netlink/af_netlink.c:1886 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f1a54f22e99 RSP: 002b:00007f1a53898168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1a55035f60 RCX: 00007f1a54f22e99 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 000000000000000e RBP: 00007f1a54f7cff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1b09463f R14: 00007f1a53898300 R15: 0000000000022000 Code: 4c 89 44 24 20 89 4c 24 18 89 44 24 10 e8 f5 98 a3 fb 4c 8b 44 24 20 8b 4c 24 18 8b 44 24 10 48 8b 34 24 31 d2 2b 8e 84 00 00 00 f1 48 b8 00 00 00 00 00 fc ff df 48 01 d3 48 89 d9 48 c1 e9 RIP: netem_enqueue+0x1364/0x2df0 net/sched/sch_netem.c:511 RSP: ffff88805b9cf750 ---[ end trace b9fd0f5155bc5368 ]--- ---------------- Code disassembly (best guess): 0: 4c 89 44 24 20 mov %r8,0x20(%rsp) 5: 89 4c 24 18 mov %ecx,0x18(%rsp) 9: 89 44 24 10 mov %eax,0x10(%rsp) d: e8 f5 98 a3 fb callq 0xfba39907 12: 4c 8b 44 24 20 mov 0x20(%rsp),%r8 17: 8b 4c 24 18 mov 0x18(%rsp),%ecx 1b: 8b 44 24 10 mov 0x10(%rsp),%eax 1f: 48 8b 34 24 mov (%rsp),%rsi 23: 31 d2 xor %edx,%edx 25: 2b 8e 84 00 00 00 sub 0x84(%rsi),%ecx * 2b: f7 f1 div %ecx <-- trapping instruction 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 48 01 d3 add %rdx,%rbx 3a: 48 89 d9 mov %rbx,%rcx 3d: 48 rex.W 3e: c1 .byte 0xc1 3f: e9 .byte 0xe9