divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8761 Comm: kworker/u4:6 Not tainted 5.7.0-rc1-next-20200415-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker RIP: 0010:tabledist.part.0+0x134/0x160 net/sched/sch_netem.c:333 Code: 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41 5d c3 e8 f3 2c 25 fb 48 81 eb 00 10 00 00 eb aa e8 e5 2c 25 fb 8d 4c 2d 00 44 89 e8 31 d2 f1 49 29 ec 49 01 d4 eb c7 48 89 df e8 8a 4d 63 fb e9 13 ff ff RSP: 0000:ffffc90001487498 EFLAGS: 00010246 RAX: 00000000b8fd3c64 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff864e07ab RDI: 0000000000000005 RBP: ffffffff80000000 R08: ffff88805349e0c0 R09: ffffed1013c5c832 R10: ffff88809e2e418f R11: ffffed1013c5c831 R12: 0000000000000000 R13: 00000000b8fd3c64 R14: ffff88809e2e4330 R15: ffff88809e2e4000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000042cd20 CR3: 00000000a6465000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tabledist net/sched/sch_netem.c:536 [inline] netem_enqueue+0x412/0x2da0 net/sched/sch_netem.c:536 __dev_xmit_skb net/core/dev.c:3710 [inline] __dev_queue_xmit+0x154a/0x3070 net/core/dev.c:4021 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0x17b7/0x2610 net/ipv4/ip_output.c:228 __ip_finish_output net/ipv4/ip_output.c:306 [inline] __ip_finish_output+0x5f3/0xbd0 net/ipv4/ip_output.c:288 ip_finish_output+0x34/0x1f0 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x1fe/0x620 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:435 [inline] ip_local_out+0xaf/0x1a0 net/ipv4/ip_output.c:125 iptunnel_xmit+0x619/0x9d0 net/ipv4/ip_tunnel_core.c:81 send4+0x4e3/0xea0 drivers/net/wireguard/socket.c:91 wg_socket_send_skb_to_peer drivers/net/wireguard/socket.c:186 [inline] wg_socket_send_buffer_to_peer+0x2a7/0x350 drivers/net/wireguard/socket.c:211 wg_packet_send_handshake_initiation+0x1fc/0x240 drivers/net/wireguard/send.c:40 wg_packet_handshake_send_worker+0x18/0x30 drivers/net/wireguard/send.c:51 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace f6d234855167294a ]--- RIP: 0010:tabledist.part.0+0x134/0x160 net/sched/sch_netem.c:333 Code: 4c 89 e0 48 83 c4 08 5b 5d 41 5c 41 5d c3 e8 f3 2c 25 fb 48 81 eb 00 10 00 00 eb aa e8 e5 2c 25 fb 8d 4c 2d 00 44 89 e8 31 d2 f1 49 29 ec 49 01 d4 eb c7 48 89 df e8 8a 4d 63 fb e9 13 ff ff RSP: 0000:ffffc90001487498 EFLAGS: 00010246 RAX: 00000000b8fd3c64 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff864e07ab RDI: 0000000000000005 RBP: ffffffff80000000 R08: ffff88805349e0c0 R09: ffffed1013c5c832 R10: ffff88809e2e418f R11: ffffed1013c5c831 R12: 0000000000000000 R13: 00000000b8fd3c64 R14: ffff88809e2e4330 R15: ffff88809e2e4000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000042cd20 CR3: 00000000a6465000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400