syzbot


INFO: task can't die in register_netdevice_notifier

Status: auto-closed as invalid on 2021/08/27 02:37
Reported-by: syzbot+df649192fec7dd1beaa7@syzkaller.appspotmail.com
First crash: 825d, last: 521d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in register_netdevice_notifier 64 556d 1314d 0/1 auto-closed as invalid on 2021/09/21 07:27
upstream INFO: task hung in register_netdevice_notifier (2) syz done 10555 530d 1135d 22/24 fixed on 2021/11/10 00:50

Sample crash report:
INFO: task syz-executor.4:19842 can't die for more than 143 seconds.
task:syz-executor.4  state:D stack:27848 pid:19842 ppid:  8483 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4688 [inline]
 __schedule+0xb38/0x58c0 kernel/sched/core.c:5945
 schedule+0xcf/0x270 kernel/sched/core.c:6024
 rwsem_down_write_slowpath+0x7dc/0x1200 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1407
 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902
 bcm_init+0x1a3/0x210 net/can/bcm.c:1451
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x353/0x790 net/socket.c:1408
 sock_create net/socket.c:1459 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1501
 __do_sys_socket net/socket.c:1510 [inline]
 __se_sys_socket net/socket.c:1508 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1508
 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
RSP: 002b:00007f40c590d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007fffbbd9069f R14: 00007f40c590d300 R15: 0000000000022000
INFO: task syz-executor.4:19842 blocked for more than 143 seconds.
      Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:27848 pid:19842 ppid:  8483 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4688 [inline]
 __schedule+0xb38/0x58c0 kernel/sched/core.c:5945
 schedule+0xcf/0x270 kernel/sched/core.c:6024
 rwsem_down_write_slowpath+0x7dc/0x1200 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1407
 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902
 bcm_init+0x1a3/0x210 net/can/bcm.c:1451
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x353/0x790 net/socket.c:1408
 sock_create net/socket.c:1459 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1501
 __do_sys_socket net/socket.c:1510 [inline]
 __se_sys_socket net/socket.c:1508 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1508
 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
RSP: 002b:00007f40c590d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007fffbbd9069f R14: 00007f40c590d300 R15: 0000000000022000
INFO: task syz-executor.4:19892 can't die for more than 144 seconds.
task:syz-executor.4  state:D stack:28888 pid:19892 ppid:  8483 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4688 [inline]
 __schedule+0xb38/0x58c0 kernel/sched/core.c:5945
 schedule+0xcf/0x270 kernel/sched/core.c:6024
 rwsem_down_write_slowpath+0x7dc/0x1200 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1407
 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902
 bcm_init+0x1a3/0x210 net/can/bcm.c:1451
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x353/0x790 net/socket.c:1408
 sock_create net/socket.c:1459 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1501
 __do_sys_socket net/socket.c:1510 [inline]
 __se_sys_socket net/socket.c:1508 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1508
 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
RSP: 002b:00007f40c58cb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665d9
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0
R13: 00007fffbbd9069f R14: 00007f40c58cb300 R15: 0000000000022000
INFO: task syz-executor.4:19892 blocked for more than 144 seconds.
      Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28888 pid:19892 ppid:  8483 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4688 [inline]
 __schedule+0xb38/0x58c0 kernel/sched/core.c:5945
 schedule+0xcf/0x270 kernel/sched/core.c:6024
 rwsem_down_write_slowpath+0x7dc/0x1200 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write_common kernel/locking/rwsem.c:1258 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1407
 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902
 bcm_init+0x1a3/0x210 net/can/bcm.c:1451
 can_create+0x27c/0x4d0 net/can/af_can.c:168
 __sock_create+0x353/0x790 net/socket.c:1408
 sock_create net/socket.c:1459 [inline]
 __sys_socket+0xef/0x200 net/socket.c:1501
 __do_sys_socket net/socket.c:1510 [inline]
 __se_sys_socket net/socket.c:1508 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1508
 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
RSP: 002b:00007f40c58cb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665d9
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0
R13: 00007fffbbd9069f R14: 00007f40c58cb300 R15: 0000000000022000

Showing all locks held in the system:
3 locks held by kworker/u4:2/76:
1 lock held by khungtaskd/1648:
 #0: ffffffff8c17afe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333
1 lock held by in:imklog/8152:
 #0: ffff8880233b1270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by agetty/8158:
 #0: ffff88802a49d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:253
 #1: ffffc90000f982e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.4/19842:
 #0: ffffffff8d897750 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902
1 lock held by syz-executor.4/19892:
 #0: ffffffff8d897750 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1648 Comm: khungtaskd Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x13e/0x1d6 lib/dump_stack.c:129
 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline]
 watchdog+0xd3b/0xf50 kernel/hung_task.c:339
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11571 Comm: kworker/u4:7 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__lock_acquire+0x329/0x5230 kernel/locking/lockdep.c:4850
Code: c1 e9 03 83 e6 07 0f b6 0c 11 48 89 f2 0f b6 c0 83 c2 03 01 c0 38 ca 7c 08 84 c9 0f 85 71 12 00 00 41 83 bc 24 0c 0a 00 00 01 <48> 8d 7d 24 48 89 fa 83 d8 ff 41 c1 e5 0f c1 e0 0d 41 c1 e7 10 45
RSP: 0018:ffffc9000341f9e0 EFLAGS: 00000097
RAX: 0000000000000000 RBX: ffff8880273cdfa8 RCX: 0000000000000000
RDX: 0000000000000007 RSI: 0000000000000004 RDI: ffff8880273ce008
RBP: ffff8880273cdff8 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000050 R11: 0000000000000000 R12: ffff8880273cd580
R13: 0000000000000000 R14: ffff88802ee38158 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000601148 CR3: 000000002a7e0000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire kernel/locking/lockdep.c:5512 [inline]
 lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:364 [inline]
 batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:438
 batadv_nc_worker+0x836/0xe50 net/batman-adv/network-coding.c:718
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (94):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/06/28 02:36 linux-next a1f92694393a 9d2ab5df .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/24 08:19 linux-next a1f92694393a ec865f6a .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/17 22:30 linux-next a1f92694393a aba2b2fb .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/13 10:26 linux-next a1f92694393a 1ba81399 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/09 00:59 linux-next a1f92694393a 5c2fe346 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/07 13:13 linux-next a1f92694393a e59537be .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/04 14:05 linux-next a1f92694393a 966a236b .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/02 11:42 linux-next a1f92694393a 0740de69 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/06/02 09:16 linux-next a1f92694393a 032639db .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/29 18:00 linux-next a1f92694393a 325a8dab .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/27 01:20 linux-next a1f92694393a 858ea628 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/26 22:51 linux-next a1f92694393a 858ea628 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/26 12:31 linux-next a1f92694393a 54f0bcf1 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/26 11:49 linux-next a1f92694393a 54f0bcf1 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/25 20:07 linux-next a1f92694393a 93d3a9f6 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/23 18:49 linux-next a1f92694393a 3c7fef33 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/21 00:49 linux-next a1f92694393a 3c7fef33 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/17 13:03 linux-next cd557f1c605f a2eb125d .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/10 13:51 linux-next e6f67ebd93ef ca873091 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/05/06 15:52 linux-next 23c498428c14 06585184 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/21 09:29 linux-next 1216f02e46a4 95777977 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/15 14:00 linux-next 1216f02e46a4 fcdb12ba .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/14 23:13 linux-next 1c8ce959b41a fcdb12ba .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/06 13:52 linux-next 9c54130cd255 6a81331a .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/05 02:46 linux-next 454c576c3f5e 6a81331a .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/05 01:39 linux-next 454c576c3f5e 6a81331a .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/04/04 20:43 linux-next 454c576c3f5e 6a81331a .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/03/29 10:40 linux-next 931294922e65 a8529b82 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/03/28 17:15 linux-next 931294922e65 a8529b82 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/03/22 10:14 linux-next e3128d2f068e bea32f74 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/03/12 08:19 linux-next 98546348153d 429d8a6b .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/02/26 10:27 linux-next d01f2f7e3557 76f7fc95 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/02/07 03:32 linux-next aa2b88209686 0655e081 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/01/27 12:04 linux-next bc085f8fc88f a0ebf917 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/01/22 22:30 linux-next bc085f8fc88f 4080af96 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/01/19 11:22 linux-next b4bb878f3eb3 63631df1 .config log report info INFO: task can't die in register_netdevice_notifier
ci-upstream-linux-next-kasan-gce-root 2021/01/14 16:06 linux-next 9152a993930d 65a7a854 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/13 14:13 linux-next aa515cdce7a1 a945f0a3 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/12 18:37 linux-next df869cab4b35 0cdd6185 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/06 15:28 linux-next 7e4525a4232f c104d4a3 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/06 01:44 linux-next 83dadd4cfb0c b1c228e1 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/05 20:12 linux-next 83dadd4cfb0c a0234d98 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/12/30 19:44 linux-next d7a03a44a5e9 ecb8c012 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/12/30 17:38 linux-next d7a03a44a5e9 ecb8c012 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/12/30 03:02 linux-next d7a03a44a5e9 0fa352f2 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/12/29 19:35 linux-next d7a03a44a5e9 80910769 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/09/01 19:49 linux-next b36c969764ab d5a3ae1f .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/31 06:04 linux-next b36c969764ab d5a3ae1f .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/30 04:38 linux-next b36c969764ab d5a3ae1f .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/28 02:31 linux-next 88abac0b753d 816e0689 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/27 11:12 linux-next 88abac0b753d 816e0689 .config log report
* Struck through repros no longer work on HEAD.