syzbot


divide error in netem_enqueue

Status: closed as invalid on 2022/11/15 21:20
First crash: 1724d, last: 711d
Cause bisection: introduced by (bisect log) :
commit 9b0ed89172efec1d9f214d173ad6046f10f6b742
Author: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue Nov 14 19:27:02 2017 +0000

  netem: remove unnecessary 64 bit modulus

Crash: divide error in netem_enqueue (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit f123cffdd8fe8ea6c7fded4b88516a42798797d0
Author: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Date: Mon Nov 29 17:53:27 2021 +0000

  net: netlink: af_netlink: Prevent empty skb by adding a check on len.

  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 divide error in netem_enqueue 2 776d 787d 0/2 auto-closed as invalid on 2022/08/28 08:54
android-5-10 divide error in netem_enqueue (2) 1 668d 668d 0/2 auto-obsoleted due to no activity on 2022/12/14 01:50
linux-4.19 divide error in netem_enqueue C error 55 542d 1326d 0/1 upstream: reported C repro on 2020/11/25 15:52
linux-4.14 divide error in netem_enqueue C error 32 769d 1661d 0/1 upstream: reported C repro on 2019/12/26 23:17
Last patch testing requests (10)
Created Duration User Patch Repo Result
2022/11/11 13:30 17m retest repro upstream OK log
2022/11/11 11:30 17m retest repro upstream OK log
2022/11/11 10:30 19m retest repro net-next-old OK log
2022/11/11 10:30 18m retest repro upstream OK log
2022/11/11 09:30 18m retest repro net-old OK log
2022/11/11 08:30 19m retest repro upstream OK log
2022/11/11 08:30 19m retest repro upstream OK log
2022/11/11 07:30 19m retest repro upstream OK log
2022/11/11 06:30 19m retest repro net-next-old OK log
2022/11/11 05:30 18m retest repro upstream OK log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2022/01/04 06:13 3h46m bisect fix upstream OK (1) job log
2020/10/07 12:40 17m bisect fix upstream OK (0) job log log
2020/08/27 06:20 16m bisect fix upstream OK (0) job log log
2020/07/27 12:13 17m bisect fix upstream OK (0) job log log
2020/04/16 18:35 17m bisect fix upstream OK (0) job log log
2020/03/17 05:35 19m bisect fix upstream OK (0) job log log
2020/02/09 08:38 19m bisect fix upstream OK (0) job log log
2020/01/10 08:06 19m bisect fix upstream OK (0) job log log

Sample crash report:
divide error: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9742 Comm: syz-executor991 Not tainted 5.13.0-rc2-next-20210518-syzkaller #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 4c 24 18 89 44 24 10 e8 02 2a 7e fa 4c 8b 44 24 20 8b 4c 24 18 8b 44 24 10 48 8b 34 24 31 d2 2b 4e 74 <f7> f1 48 b8 00 00 00 00 00 fc ff df 48 01 d3 48 89 d9 48 c1 e9 03
RSP: 0018:ffffc9000aedf570 EFLAGS: 00010246
RAX: 00000000eef6d457 RBX: ffff888017298c00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88802a503dc0 RDI: ffff88802a503e34
RBP: ffff8880181f6330 R08: ffff88802a503e90 R09: 0000000000000000
R10: ffffffff83cf218d R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: ffff8880181f6000 R15: 0000000000000000
FS:  00007fd955c65700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd955c44718 CR3: 000000003788d000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 netem_enqueue+0x2048/0x3550 net/sched/sch_netem.c:483
 __dev_xmit_skb net/core/dev.c:3899 [inline]
 __dev_queue_xmit+0x1845/0x3150 net/core/dev.c:4214
 __netlink_deliver_tap_skb net/netlink/af_netlink.c:303 [inline]
 __netlink_deliver_tap net/netlink/af_netlink.c:321 [inline]
 netlink_deliver_tap+0x9b5/0xbc0 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:1311 [inline]
 netlink_unicast+0x5e5/0x7d0 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x84c/0xd90 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:674
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433
 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x449b99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 15 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:00007fd955c65308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004cf4e8 RCX: 0000000000449b99
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 00000000004cf4e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cf4ec
R13: 000000000049e4ac R14: 0004000c00000000 R15: 0000000000022000
Modules linked in:
---[ end trace 9a27820838ab068c ]---
RIP: 0010:netem_enqueue+0x1474/0x3550 net/sched/sch_netem.c:516
Code: 74 1f 4c 89 44 24 20 89 4c 24 18 89 44 24 10 e8 02 2a 7e fa 4c 8b 44 24 20 8b 4c 24 18 8b 44 24 10 48 8b 34 24 31 d2 2b 4e 74 <f7> f1 48 b8 00 00 00 00 00 fc ff df 48 01 d3 48 89 d9 48 c1 e9 03
RSP: 0018:ffffc9000aedf570 EFLAGS: 00010246
RAX: 00000000eef6d457 RBX: ffff888017298c00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88802a503dc0 RDI: ffff88802a503e34
RBP: ffff8880181f6330 R08: ffff88802a503e90 R09: 0000000000000000
R10: ffffffff83cf218d R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: ffff8880181f6000 R15: 0000000000000000
FS:  00007fd955c65700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd955c44718 CR3: 000000003788d000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (332):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/29 14:09 linux-next a1f92694393a 9d2ab5df .config console log report syz C ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/06/26 22:59 linux-next a1f92694393a 9d2ab5df .config console log report syz C ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2022/07/13 16:27 upstream b047602d579b 5d921b08 .config strace log report syz C ci-upstream-kasan-gce divide error in netem_enqueue
2021/07/21 11:32 upstream 8cae8cd89f05 1b201b48 .config console log report syz C ci-upstream-kasan-gce-selinux-root divide error in netem_enqueue
2021/07/17 03:14 upstream d936eb238744 f115ae98 .config console log report syz C ci-upstream-kasan-gce-selinux-root divide error in netem_enqueue
2021/06/08 14:13 upstream 614124bea77e b718257f .config console log report syz C ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2021/06/05 18:27 upstream 9d32fa5d74b1 500c2339 .config console log report syz C ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2021/06/03 16:44 upstream 324c92e5e0ee 0740de69 .config console log report syz C ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/06/01 08:07 upstream c2131f7e73c9 032639db .config console log report syz C ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/01/24 17:27 upstream e1ae4b0be158 52e37319 .config console log report syz C ci-upstream-kasan-gce divide error in netem_enqueue
2021/01/22 13:51 upstream 9f29bd8b2e71 d4f4eca5 .config console log report syz C ci-upstream-kasan-gce divide error in netem_enqueue
2021/10/17 20:39 net-old fac3cb82a54a 0c5d9412 .config console log report syz C ci-upstream-net-this-kasan-gce divide error in netem_enqueue
2021/10/18 05:05 net-next-old 4e6e167bc049 0c5d9412 .config console log report syz C ci-upstream-net-kasan-gce divide error in netem_enqueue
2020/05/03 06:35 upstream f66ed1ebbfde 5457883a .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/10/25 02:58 upstream f116b96685a0 d01bb02a .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/12/14 21:45 net-old 7f376f1917d7 97183ed7 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/12/12 21:11 net-old 7f376f1917d7 bca53db9 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/12/15 00:21 net-next-old 13458ffe0a95 97183ed7 .config console log report syz C ci-upstream-net-kasan-gce
2020/12/12 21:10 net-next-old 91163f821436 bca53db9 .config console log report syz C ci-upstream-net-kasan-gce
2022/07/31 11:47 upstream 6a010258447d fef302b1 .config console log report info ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2022/07/26 23:32 upstream 5de64d44968e 279b89c2 .config console log report info ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2022/07/10 11:38 upstream b1c428b6c368 b5765a15 .config console log report info ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2022/06/29 00:06 upstream 941e3e791269 496a8536 .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2022/05/26 00:32 upstream 7e062cda7d90 3037caa9 .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2022/05/02 21:07 upstream 9050ba3a61a4 2df221f6 .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2022/04/11 08:23 upstream ce522ba9ef7e e22c3da3 .config console log report info ci-upstream-kasan-gce-selinux-root divide error in netem_enqueue
2021/12/01 08:36 upstream 58e1100fdc59 5fa3eacc .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/11/30 18:48 upstream f080815fdb3e 80270552 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/29 11:48 upstream d58071a8a76d 63eeac02 .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/11/28 07:54 upstream 741392771338 63eeac02 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/28 02:34 upstream 741392771338 63eeac02 .config console log report info ci-qemu-upstream divide error in netem_enqueue
2021/11/27 15:36 upstream c5c17547b778 63eeac02 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/27 12:20 upstream c5c17547b778 63eeac02 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/23 12:30 upstream 136057256686 545ab074 .config console log report info ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2021/11/20 03:07 upstream 4c388a8e740d 3a9d0024 .config console log report info ci-upstream-kasan-gce-smack-root divide error in netem_enqueue
2021/11/15 01:35 upstream c8c109546a19 83f5c9b5 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/06 14:58 upstream d4439a1189f9 4c1be0be .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/11/06 11:49 upstream d4439a1189f9 4c1be0be .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/11/06 05:19 upstream fe91c4725aee 4c1be0be .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/05 19:17 upstream d4439a1189f9 4c1be0be .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/04 18:58 upstream 7ddb58cb0eca 4c1be0be .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/02 23:00 upstream bfc484fe6abb 17f3edd2 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/11/02 13:56 upstream bfc484fe6abb 098b5d53 .config console log report info ci-upstream-kasan-gce divide error in netem_enqueue
2021/10/25 04:15 upstream 87066fdd2e30 4f0000ee .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2021/10/24 23:07 upstream 6c62666d8879 282f03fb .config console log report info ci-upstream-kasan-gce-root divide error in netem_enqueue
2022/07/03 17:55 upstream 20855e4cb361 1434eec0 .config console log report info ci-qemu-upstream-386 divide error in netem_enqueue
2022/04/11 14:16 upstream ce522ba9ef7e af01ee7d .config console log report info ci-qemu-upstream-386 divide error in netem_enqueue
2022/03/18 01:11 upstream 551acdc3c3d2 e2d91b1d .config console log report info ci-qemu-upstream-386 divide error in netem_enqueue
2021/11/17 17:14 upstream 8ab774587903 cafff8b6 .config console log report info ci-upstream-kasan-gce-386 divide error in netem_enqueue
2021/11/17 03:52 upstream 8ab774587903 cafff8b6 .config console log report info ci-upstream-kasan-gce-386 divide error in netem_enqueue
2022/08/03 03:39 net-old 8eaa1d110800 1c9013ac .config console log report info ci-upstream-net-this-kasan-gce divide error in netem_enqueue
2022/07/27 21:13 net-old e62d2e110356 fb95c74d .config console log report info ci-upstream-net-this-kasan-gce divide error in netem_enqueue
2022/03/22 08:37 net-old ed0c99dc0f49 e2d91b1d .config console log report info ci-upstream-net-this-kasan-gce divide error in netem_enqueue
2021/11/18 10:44 net-old c366ce28750e cafff8b6 .config console log report info ci-upstream-net-this-kasan-gce divide error in netem_enqueue
2021/11/05 07:27 net-old 436014e860d3 4c1be0be .config console log report info ci-upstream-net-this-kasan-gce divide error in netem_enqueue
2022/07/13 05:36 net-next-old b6afeb87ad29 d91dd8ea .config console log report info ci-upstream-net-kasan-gce divide error in netem_enqueue
2022/05/06 18:54 net-next-old 95730d657083 e60b1103 .config console log report info ci-upstream-net-kasan-gce divide error in netem_enqueue
2022/05/02 12:08 net-next-old 0f0c0452bbd4 2df221f6 .config console log report info ci-upstream-net-kasan-gce divide error in netem_enqueue
2021/12/05 06:13 linux-next f81e94e91878 a617004c .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/12/02 04:49 linux-next f81e94e91878 61f86278 .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/12/02 00:12 linux-next f81e94e91878 61f86278 .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/29 13:44 linux-next f81e94e91878 63eeac02 .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/12 18:07 linux-next f2e19fd15bd7 83f5c9b5 .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/12 14:39 linux-next f2e19fd15bd7 75b04091 .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/08 01:53 linux-next 6a37ebbe07bf 4c1be0be .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/07 18:08 linux-next 6a37ebbe07bf 4c1be0be .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/06 03:39 linux-next 6a37ebbe07bf 4c1be0be .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/04 04:31 linux-next 8a796a1dfca2 4c1be0be .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/04 01:15 linux-next 8ccbda2840b7 4c1be0be .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/11/01 19:19 linux-next bdcc9f6a5682 098b5d53 .config console log report info ci-upstream-linux-next-kasan-gce-root divide error in netem_enqueue
2021/01/17 01:14 upstream 0da0a8a0a0e1 65a7a854 .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.