bisecting fixing commit since f116b96685a046a89c25d4a6ba2da489145c8888 building syzkaller on d01bb02a96019cda0fa8c46e5c6d5eb66a273f17 testing commit f116b96685a046a89c25d4a6ba2da489145c8888 with gcc (GCC) 8.1.0 kernel signature: 3492f56fdf483b3a02cdda93d3c23e825e6f59d1154adf90afa757696cdd2a86 all runs: crashed: divide error in tabledist testing current HEAD fdfa3a6778b194974df77b384cc71eb2e503639a testing commit fdfa3a6778b194974df77b384cc71eb2e503639a with gcc (GCC) 8.1.0 kernel signature: 043143feb8eaed858a5b4e27e84f28b410cf0f391252c1a93869efdeb96d529c all runs: crashed: divide error in tabledist revisions tested: 2, total time: 19m32.99625972s (build: 12m7.263291536s, test: 6m38.034268162s) the crash still happens on HEAD commit msg: Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi crash: divide error in tabledist divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2789 Comm: kworker/1:151 Not tainted 5.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ipv6_addrconf addrconf_dad_work RIP: 0010:tabledist.part.20+0x10b/0x150 net/sched/sch_netem.c:333 Code: 3c 18 49 8d 80 ff 1f 00 00 49 0f 49 c0 48 83 c4 08 5b 48 c1 f8 0d 41 5c 48 01 f8 41 5d 5d c3 43 8d 4c 2d 00 31 d2 48 83 c4 08 f1 49 63 c5 48 29 c3 48 8d 04 1a 5b 41 5c 41 5d 5d c3 4c 89 e7 RSP: 0018:ffff8880a0546d28 EFLAGS: 00010286 RAX: 000000000f82256b RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: ffffffff8a23e7a0 RBP: ffff8880a0546d40 R08: 0000000000000001 R09: ffff8880801c6840 R10: ffffed101003822e R11: ffff8880801c1177 R12: 0000000000000000 R13: 0000000080000000 R14: ffff8880801c1000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 00000000a4b12000 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+0xdae/0x2f40 net/sched/sch_netem.c:536 __dev_xmit_skb net/core/dev.c:3721 [inline] __dev_queue_xmit+0x103e/0x2e80 net/core/dev.c:4032 dev_queue_xmit+0xb/0x10 net/core/dev.c:4096 br_dev_queue_push_xmit+0x14b/0x560 net/bridge/br_forward.c:52 NF_HOOK include/linux/netfilter.h:307 [inline] br_forward_finish+0xdd/0x2f0 net/bridge/br_forward.c:65 NF_HOOK include/linux/netfilter.h:307 [inline] __br_forward+0x4c6/0x890 net/bridge/br_forward.c:109 deliver_clone+0x54/0xa0 net/bridge/br_forward.c:125 maybe_deliver+0x205/0x2f0 net/bridge/br_forward.c:181 br_flood+0x170/0x2f0 net/bridge/br_forward.c:223 br_dev_xmit+0xabf/0x11f0 net/bridge/br_device.c:99 __netdev_start_xmit include/linux/netdevice.h:4510 [inline] netdev_start_xmit include/linux/netdevice.h:4524 [inline] xmit_one net/core/dev.c:3470 [inline] dev_hard_start_xmit+0x16a/0x780 net/core/dev.c:3486 __dev_queue_xmit+0x1f69/0x2e80 net/core/dev.c:4063 dev_queue_xmit+0xb/0x10 net/core/dev.c:4096 neigh_resolve_output+0x494/0x800 net/core/neighbour.c:1487 neigh_output include/net/neighbour.h:510 [inline] ip6_finish_output2+0xcc4/0x2340 net/ipv6/ip6_output.c:116 __ip6_finish_output+0x36c/0x930 net/ipv6/ip6_output.c:142 ip6_finish_output+0x27/0x170 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x1e4/0x750 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ndisc_send_skb+0xcac/0x12a0 net/ipv6/ndisc.c:505 ndisc_send_ns+0x2cb/0x7e0 net/ipv6/ndisc.c:647 addrconf_dad_work+0xa3e/0xff0 net/ipv6/addrconf.c:4120 process_one_work+0x88b/0x1680 kernel/workqueue.c:2264 worker_thread+0x85/0xb60 kernel/workqueue.c:2410 kthread+0x331/0x3f0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 8e8b46fc9b655d89 ]--- RIP: 0010:tabledist.part.20+0x10b/0x150 net/sched/sch_netem.c:333 Code: 3c 18 49 8d 80 ff 1f 00 00 49 0f 49 c0 48 83 c4 08 5b 48 c1 f8 0d 41 5c 48 01 f8 41 5d 5d c3 43 8d 4c 2d 00 31 d2 48 83 c4 08 f1 49 63 c5 48 29 c3 48 8d 04 1a 5b 41 5c 41 5d 5d c3 4c 89 e7 RSP: 0018:ffff8880a0546d28 EFLAGS: 00010286 RAX: 000000000f82256b RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: ffffffff8a23e7a0 RBP: ffff8880a0546d40 R08: 0000000000000001 R09: ffff8880801c6840 R10: ffffed101003822e R11: ffff8880801c1177 R12: 0000000000000000 R13: 0000000080000000 R14: ffff8880801c1000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 000000000866d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400