divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 21419 Comm: syz-executor.2 Not tainted 5.18.0-syzkaller-04943-g7e062cda7d90 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:netem_enqueue+0x1474/0x3550 net/sched/sch_netem.c:516 Code: 74 1f 4c 89 44 24 20 89 44 24 18 89 4c 24 10 e8 02 fc 46 fa 4c 8b 44 24 20 8b 44 24 18 8b 4c 24 10 48 8b 34 24 31 d2 2b 4e 74 f1 48 b8 00 00 00 00 00 fc ff df 48 01 d3 48 89 d9 48 c1 e9 03 RSP: 0018:ffffc9000e7b7450 EFLAGS: 00010246 RAX: 000000002a9c0b0d RBX: ffff888057b07c4e RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8880784a0640 RDI: ffff8880784a06b4 RBP: ffff88801e6a1330 R08: ffff8880784a0718 R09: ffffffff9009d947 R10: ffffffff84609d0e R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000010 R14: ffff88801e6a1000 R15: 0000000000000000 FS: 00007f5f3f5c2700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d328000 CR3: 0000000027ad3000 CR4: 0000000000350ef0 Call Trace: dev_qdisc_enqueue+0x40/0x300 net/core/dev.c:3783 __dev_xmit_skb net/core/dev.c:3872 [inline] __dev_queue_xmit+0x20ba/0x3a00 net/core/dev.c:4219 dev_queue_xmit include/linux/netdevice.h:2994 [inline] __bpf_tx_skb net/core/filter.c:2114 [inline] __bpf_redirect_no_mac net/core/filter.c:2139 [inline] __bpf_redirect+0x838/0xe50 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2429 [inline] bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2401 bpf_prog_a125b4b2adfd2a01+0x59/0x5e bpf_dispatcher_nop_func include/linux/bpf.h:869 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x386/0x9d0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xb5e/0x1e10 net/bpf/test_run.c:1155 bpf_prog_test_run kernel/bpf/syscall.c:3591 [inline] __sys_bpf+0x15c1/0x5700 kernel/bpf/syscall.c:4935 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5019 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f5f3e489109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f5f3f5c2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f5f3e59bf60 RCX: 00007f5f3e489109 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00007f5f3e4e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe40b29c6f R14: 00007f5f3f5c2300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:netem_enqueue+0x1474/0x3550 net/sched/sch_netem.c:516 Code: 74 1f 4c 89 44 24 20 89 44 24 18 89 4c 24 10 e8 02 fc 46 fa 4c 8b 44 24 20 8b 44 24 18 8b 4c 24 10 48 8b 34 24 31 d2 2b 4e 74 f1 48 b8 00 00 00 00 00 fc ff df 48 01 d3 48 89 d9 48 c1 e9 03 RSP: 0018:ffffc9000e7b7450 EFLAGS: 00010246 RAX: 000000002a9c0b0d RBX: ffff888057b07c4e RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8880784a0640 RDI: ffff8880784a06b4 RBP: ffff88801e6a1330 R08: ffff8880784a0718 R09: ffffffff9009d947 R10: ffffffff84609d0e R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000010 R14: ffff88801e6a1000 R15: 0000000000000000 FS: 00007f5f3f5c2700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d328000 CR3: 0000000027ad3000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 74 1f je 0x21 2: 4c 89 44 24 20 mov %r8,0x20(%rsp) 7: 89 44 24 18 mov %eax,0x18(%rsp) b: 89 4c 24 10 mov %ecx,0x10(%rsp) f: e8 02 fc 46 fa callq 0xfa46fc16 14: 4c 8b 44 24 20 mov 0x20(%rsp),%r8 19: 8b 44 24 18 mov 0x18(%rsp),%eax 1d: 8b 4c 24 10 mov 0x10(%rsp),%ecx 21: 48 8b 34 24 mov (%rsp),%rsi 25: 31 d2 xor %edx,%edx 27: 2b 4e 74 sub 0x74(%rsi),%ecx * 2a: f7 f1 div %ecx <-- trapping instruction 2c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 33: fc ff df 36: 48 01 d3 add %rdx,%rbx 39: 48 89 d9 mov %rbx,%rcx 3c: 48 c1 e9 03 shr $0x3,%rcx