syzbot


WARNING in nsim_dev_reload_destroy
Status: fixed on 2022/03/08 16:11
Reported-by: syzbot+93d5accfaefceedf43c1@syzkaller.appspotmail.com
Fix commit: fb9d19c2d844 Revert "devlink: Remove not-executed trap group notifications"
First crash: 213d, last: 208d

Cause bisection: introduced by (bisect log) :
commit 22849b5ea5952d853547cc5e0651f34a246b2a4f
Author: Leon Romanovsky <leonro@nvidia.com>
Date: Thu Oct 21 14:16:14 2021 +0000

  devlink: Remove not-executed trap policer notifications

Crash: WARNING in nsim_dev_reload_destroy (log)
Repro: C syz .config

Sample crash report:
netdevsim netdevsim3 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2574 at net/core/devlink.c:11162 devlink_trap_groups_unregister+0xe8/0x110 net/core/devlink.c:11162
Modules linked in:
CPU: 1 PID: 2574 Comm: kworker/u4:5 Not tainted 5.15.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:devlink_trap_groups_unregister+0xe8/0x110 net/core/devlink.c:11162
Code: ff ff 31 ff 89 de e8 f7 e1 41 fa 83 fb ff 75 cc e8 ad da 41 fa 4c 89 f7 5b 5d 41 5c 41 5d 41 5e e9 cd 77 05 02 e8 98 da 41 fa <0f> 0b e9 71 ff ff ff 4c 89 ef e8 79 4d 89 fa e9 3b ff ff ff 48 89
RSP: 0018:ffffc9000bcb7a00 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000
RDX: ffff88802515b900 RSI: ffffffff87351008 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff87350f77 R11: 0000000000000000 R12: ffffffff8a263c20
R13: ffff88806e248000 R14: dffffc0000000000 R15: ffff88806e248388
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb010e6370 CR3: 000000001dc90000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 nsim_dev_traps_exit+0x67/0x170 drivers/net/netdevsim/dev.c:849
 nsim_dev_reload_destroy+0x20c/0x2f0 drivers/net/netdevsim/dev.c:1559
 nsim_dev_reload_down+0xdf/0x180 drivers/net/netdevsim/dev.c:883
 devlink_reload+0x1c2/0x6b0 net/core/devlink.c:4040
 devlink_pernet_pre_exit+0x278/0x370 net/core/devlink.c:11477
 ops_pre_exit_list net/core/net_namespace.c:158 [inline]
 cleanup_net+0x451/0xb00 net/core/net_namespace.c:581
 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

Crashes (2895):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2021/10/25 05:49 net-next 4d98bb0d7ec2 4f0000ee .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/23 10:37 net-next 0998aee279c3 282f03fb .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 11:34 linux-next ae5179317e79 be531bb4 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 09:56 linux-next ae5179317e79 be531bb4 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 08:44 linux-next ae5179317e79 be531bb4 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 07:46 linux-next ae5179317e79 be531bb4 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 02:18 linux-next ae5179317e79 373bf66b .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 00:58 linux-next ae5179317e79 373bf66b .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 09:19 linux-next 2376e5fe91bc d50eb50a .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 08:37 linux-next 2376e5fe91bc d50eb50a .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 03:17 linux-next 2376e5fe91bc d50eb50a .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 20:35 linux-next 2376e5fe91bc d50eb50a .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 19:57 linux-next 2376e5fe91bc d50eb50a .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 18:09 linux-next 2376e5fe91bc d50eb50a .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 09:37 linux-next 9ae1fbdeabd3 c1132b49 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 06:33 linux-next 9ae1fbdeabd3 c1132b49 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 04:56 linux-next 9ae1fbdeabd3 c1132b49 .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/25 23:00 linux-next 9ae1fbdeabd3 4f0000ee .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/25 21:52 linux-next 9ae1fbdeabd3 4f0000ee .config log report syz C WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 02:47 net-next 36d935a0a67e d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 00:49 net-next 36d935a0a67e d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/26 08:12 net-next dcd63d432680 c1132b49 .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/25 03:48 net-next 4d98bb0d7ec2 282f03fb .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/24 23:59 net-next 4d98bb0d7ec2 282f03fb .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/24 02:59 net-next 0998aee279c3 282f03fb .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/24 00:55 net-next 0998aee279c3 282f03fb .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 07:02 linux-next ae5179317e79 be531bb4 .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 23:08 linux-next ae5179317e79 373bf66b .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 21:24 linux-next ae5179317e79 373bf66b .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 20:59 linux-next ae5179317e79 373bf66b .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 20:09 linux-next ae5179317e79 373bf66b .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 19:56 linux-next ae5179317e79 373bf66b .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 11:32 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 10:05 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 23:30 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 21:46 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 18:43 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 17:27 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 16:21 linux-next 2376e5fe91bc d50eb50a .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 11:42 linux-next 9ae1fbdeabd3 c1132b49 .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/26 08:39 linux-next 9ae1fbdeabd3 c1132b49 .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/25 22:19 linux-next 9ae1fbdeabd3 4f0000ee .config log report syz WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/28 02:11 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/28 01:07 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/28 00:02 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 22:20 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 21:14 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 18:40 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 17:29 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 16:22 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 15:21 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 14:53 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 14:24 net-next c230dc8627de 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 12:59 net-next 06338ceff925 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 12:40 net-next 06338ceff925 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 12:20 net-next 06338ceff925 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 11:57 net-next 06338ceff925 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 11:18 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 10:36 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 09:21 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 08:31 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 07:40 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 06:11 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 05:12 net-next 06338ceff925 d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 03:42 net-next 36d935a0a67e d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 02:51 net-next 36d935a0a67e d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/27 02:36 net-next 36d935a0a67e d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-net-kasan-gce 2021/10/23 08:45 net-next 0998aee279c3 282f03fb .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 10:58 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 09:51 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 07:30 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 06:29 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 05:25 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 04:28 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 03:26 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 03:23 linux-next ae5179317e79 be531bb4 .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/28 02:13 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 23:20 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 20:01 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 19:46 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 18:35 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 16:27 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 13:42 linux-next ae5179317e79 373bf66b .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 07:11 linux-next 2376e5fe91bc d50eb50a .config log report info WARNING in nsim_dev_reload_destroy
ci-upstream-linux-next-kasan-gce-root 2021/10/27 04:31 linux-next 2376e5fe91bc d50eb50a .config log report info WARNING in nsim_dev_reload_destroy