divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 20827 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:netem_enqueue+0x1217/0x3170 net/sched/sch_netem.c:516 Code: f6 74 1f 4c 89 44 24 20 89 4c 24 18 89 44 24 10 e8 9e b4 02 fb 4c 8b 44 24 20 8b 4c 24 18 8b 44 24 10 2b 8d 84 00 00 00 31 d2 f1 48 b8 00 00 00 00 00 fc ff df 49 01 d6 4c 89 f1 48 c1 e9 03 RSP: 0018:ffff88804d04f5e0 EFLAGS: 00010246 RAX: 00000000ecbe8a29 RBX: 0000000000000010 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b4643304 RBP: ffff8880b4643280 R08: ffff8880b4643358 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff8880af8ca780 R15: ffff8880aafedb00 FS: 00007faa2e133700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa2fcdd000 CR3: 00000000ae29a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netem_enqueue+0x1d6b/0x3170 net/sched/sch_netem.c:480 __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x140a/0x2e00 net/core/dev.c:3807 __netlink_deliver_tap_skb net/netlink/af_netlink.c:303 [inline] __netlink_deliver_tap net/netlink/af_netlink.c:321 [inline] netlink_deliver_tap+0x8fb/0xb00 net/netlink/af_netlink.c:334 netlink_deliver_tap_kernel net/netlink/af_netlink.c:343 [inline] netlink_unicast_kernel net/netlink/af_netlink.c:1324 [inline] netlink_unicast+0x545/0x690 net/netlink/af_netlink.c:1351 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7faa2fbc10c9 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:00007faa2e133168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007faa2fce0f80 RCX: 00007faa2fbc10c9 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007faa2fc1cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca6f41f7f R14: 00007faa2e133300 R15: 0000000000022000 Modules linked in: ---[ end trace 736391ceddf3d839 ]--- RIP: 0010:netem_enqueue+0x1217/0x3170 net/sched/sch_netem.c:516 Code: f6 74 1f 4c 89 44 24 20 89 4c 24 18 89 44 24 10 e8 9e b4 02 fb 4c 8b 44 24 20 8b 4c 24 18 8b 44 24 10 2b 8d 84 00 00 00 31 d2 f1 48 b8 00 00 00 00 00 fc ff df 49 01 d6 4c 89 f1 48 c1 e9 03 RSP: 0018:ffff88804d04f5e0 EFLAGS: 00010246 RAX: 00000000ecbe8a29 RBX: 0000000000000010 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b4643304 RBP: ffff8880b4643280 R08: ffff8880b4643358 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff8880af8ca780 R15: ffff8880aafedb00 FS: 00007faa2e133700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa2fcdd000 CR3: 00000000ae29a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f6 74 1f 4c divb 0x4c(%rdi,%rbx,1) 4: 89 44 24 20 mov %eax,0x20(%rsp) 8: 89 4c 24 18 mov %ecx,0x18(%rsp) c: 89 44 24 10 mov %eax,0x10(%rsp) 10: e8 9e b4 02 fb callq 0xfb02b4b3 15: 4c 8b 44 24 20 mov 0x20(%rsp),%r8 1a: 8b 4c 24 18 mov 0x18(%rsp),%ecx 1e: 8b 44 24 10 mov 0x10(%rsp),%eax 22: 2b 8d 84 00 00 00 sub 0x84(%rbp),%ecx 28: 31 d2 xor %edx,%edx * 2a: f7 f1 div %ecx <-- trapping instruction 2c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 33: fc ff df 36: 49 01 d6 add %rdx,%r14 39: 4c 89 f1 mov %r14,%rcx 3c: 48 c1 e9 03 shr $0x3,%rcx