syzbot


INFO: task hung in bcm_release

Status: closed as dup on 2021/06/26 09:50
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+9d1d68a21e17513cb654@syzkaller.appspotmail.com
First crash: 1935d, last: 1274d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in unregister_netdevice_notifier (3) can syz error error 184 1941d 2126d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in bcm_release 0 (1) 2020/01/07 16:03

Sample crash report:
INFO: task syz-executor.2:24747 blocked for more than 143 seconds.
      Not tainted 5.13.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:25392 pid:24747 ppid: 20990 flags:0x00004002
Call Trace:
 context_switch kernel/sched/core.c:4339 [inline]
 __schedule+0xb98/0x1120 kernel/sched/core.c:5147
 schedule+0x14b/0x200 kernel/sched/core.c:5226
 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106
 __down_write_common kernel/locking/rwsem.c:1261 [inline]
 __down_write kernel/locking/rwsem.c:1270 [inline]
 down_write+0x165/0x170 kernel/locking/rwsem.c:1407
 unregister_netdevice_notifier+0x8e/0x430 net/core/dev.c:1949
 bcm_release+0x77/0x820 net/can/bcm.c:1474
 __sock_release net/socket.c:599 [inline]
 sock_close+0xd8/0x260 net/socket.c:1258
 __fput+0x352/0x7b0 fs/file_table.c:280
 task_work_run+0x146/0x1c0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x736/0x23d0 kernel/exit.c:826
 do_group_exit+0x168/0x2d0 kernel/exit.c:923
 get_signal+0x1770/0x2180 kernel/signal.c:2835
 arch_do_signal_or_restart+0x8e/0x6c0 arch/x86/kernel/signal.c:789
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0xac/0x200 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x26/0x70 kernel/entry/common.c:301
 do_syscall_64+0x4b/0xb0 arch/x86/entry/common.c:57
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
RSP: 002b:00007fc5d7ef2188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: 0000000000000004 RBX: 000000000056c038 RCX: 00000000004665d9
RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038
R13: 00007ffcedfbd1ff R14: 00007fc5d7ef2300 R15: 0000000000022000

Showing all locks held in the system:
3 locks held by kworker/u4:0/9:
 #0: ffff888012c53138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7aa/0x10c0 kernel/workqueue.c:2249
 #1: ffffc90000ce7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7e8/0x10c0 kernel/workqueue.c:2251
 #2: ffffffff8df1fb30 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc60 net/core/net_namespace.c:557
1 lock held by khungtaskd/1633:
 #0: ffffffff8cf15cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151
1 lock held by in:imklog/8078:
 #0: ffff88801da5ed70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974
2 locks held by agetty/8117:
 #0: ffff888020a4c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:267
 #1: ffffc900010e82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c3/0x1cf0 drivers/tty/n_tty.c:2179
2 locks held by kworker/u4:10/21449:
2 locks held by syz-executor.2/24747:
 #0: ffff88807c7fa190 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline]
 #0: ffff88807c7fa190 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release net/socket.c:598 [inline]
 #0: ffff88807c7fa190 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: sock_close+0x94/0x260 net/socket.c:1258
 #1: ffffffff8df1fb30 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x8e/0x430 net/core/dev.c:1949
1 lock held by syz-executor.5/24872:
 #0: ffffffff8df1fb30 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5e0 net/core/net_namespace.c:470

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

NMI backtrace for cpu 0
CPU: 0 PID: 1633 Comm: khungtaskd Not tainted 5.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x202/0x31e lib/dump_stack.c:120
 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline]
 watchdog+0xcfb/0xd40 kernel/hung_task.c:294
 kthread+0x39a/0x3c0 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: 4847 Comm: systemd-journal Not tainted 5.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:218 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x31/0xa0 kernel/kcov.c:284
Code: 14 25 80 ef 01 00 65 8b 05 54 d0 82 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 6e 83 ba 3c 15 00 00 00 74 65 8b 82 18 15 00 00 <83> f8 03 75 5a 48 8b 8a 20 15 00 00 44 8b 8a 1c 15 00 00 49 c1 e1
RSP: 0018:ffffc90000edfde8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888036fc5510 RCX: ffff8880137c0000
RDX: ffff8880137c0000 RSI: 0000000000000031 RDI: 0000000000000000
RBP: 0000000000000031 R08: ffffffff81d4a4dd R09: fffff940001b7e01
R10: fffff940001b7e01 R11: 0000000000000000 R12: 1ffff11006df8aa2
R13: ffff8880137c0888 R14: ffff888036fc5500 R15: 1ffff110026f8111
FS:  00007f0f3f66f8c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00beb22c8 CR3: 00000000177e3000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 getname_flags+0x15d/0x640 fs/namei.c:191
 getname fs/namei.c:209 [inline]
 user_path_create fs/namei.c:3650 [inline]
 do_mkdirat+0x91/0x3e0 fs/namei.c:3828
 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0f3e92a687
Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffc85e63ad8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffc85e669f0 RCX: 00007f0f3e92a687
RDX: 00007f0f3f39ba00 RSI: 00000000000001ed RDI: 000055f6dd3678a0
RBP: 00007ffc85e63b10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffc85e669f0 R15: 00007ffc85e64000

Crashes (1311):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/12 16:04 upstream ad347abe4a98 1ba81399 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in bcm_release
2021/06/09 13:55 upstream 368094df48e6 84fe5d96 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in bcm_release
2021/06/08 07:16 upstream 614124bea77e b718257f .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in bcm_release
2021/06/06 10:03 upstream f5b6eb1e0182 500c2339 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in bcm_release
2021/06/06 07:40 upstream e5220dd16778 500c2339 .config console log report info ci-upstream-kasan-gce INFO: task hung in bcm_release
2021/05/29 17:39 upstream 6799d4f2da49 325a8dab .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in bcm_release
2021/05/25 10:05 upstream 1434a3127887 3c7fef33 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in bcm_release
2021/05/23 07:59 upstream 4d7620341eda 3c7fef33 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in bcm_release
2021/05/22 21:04 upstream 23d729263037 3c7fef33 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in bcm_release
2021/05/13 18:54 upstream c06a2ba62fc4 80f9b418 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in bcm_release
2021/05/11 22:44 upstream 88b06399c9c7 b3c3bb8e .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in bcm_release
2021/05/08 18:30 upstream ab159ac569fd bc5434be .config console log report info ci-upstream-kasan-gce-root INFO: task hung in bcm_release
2021/01/19 04:13 upstream 1e2a199f6ccd 63631df1 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in bcm_release
2021/05/19 13:00 upstream 8ac91e6c6033 a343ba6b .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in bcm_release
2021/06/08 23:29 net-old 7a6b1ab7475f 5c2fe346 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in bcm_release
2021/05/19 19:20 net-old c9fd37a9450b a343ba6b .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in bcm_release
2021/05/10 08:31 net-old b741596468b0 bc5434be .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in bcm_release
2021/04/27 21:09 net-old bbd6f0a94813 805b5003 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in bcm_release
2021/02/27 11:33 net-old eee7ede695cf 4c37c133 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in bcm_release
2021/06/18 14:04 net-next-old 8fe088bd4fd1 aba2b2fb .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/06/15 05:40 net-next-old 2d7ff2d83cac 1ba81399 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/06/12 21:53 net-next-old 02b0bb51a8da 1ba81399 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/06/02 00:26 net-next-old 7fc6d3abc084 032639db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/05/26 11:20 net-next-old e4e92ee78702 54f0bcf1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/05/03 02:33 net-next-old 95aafe911db6 77e2b668 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/05/02 04:36 net-next-old 95aafe911db6 77e2b668 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/04/30 07:58 net-next-old 95aafe911db6 77e2b668 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/04/17 13:51 net-next-old e7ad33fa7bc5 7e2b734b .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/04/13 19:55 net-next-old 8ef7adc6beb2 a184b83e .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/04/04 01:54 net-next-old 825066651792 6a81331a .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/02/27 23:11 net-next-old d310ec03a34e 4c37c133 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/02/13 07:53 net-next-old 3c5a2fd042d0 98682e5e .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/02/06 17:08 net-next-old 4d469ec8ec05 0655e081 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in bcm_release
2021/05/11 19:36 linux-next 4bf27b1f7330 b3c3bb8e .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in bcm_release
2021/01/22 18:33 linux-next bc085f8fc88f d4f4eca5 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in bcm_release
2021/01/12 11:45 upstream a0d54b4f5b21 2c1f2513 .config console log report info ci-upstream-kasan-gce
2020/12/20 00:09 upstream 467f8165a2b0 04201c06 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/06/30 16:05 upstream 4e99b32169e8 a2cdad9d .config console log report ci-upstream-kasan-gce-selinux-root
2020/06/24 16:44 upstream 7ae77150d94d 54566aff .config console log report ci-upstream-kasan-gce
2020/06/18 22:50 upstream 7ae77150d94d d45a4d69 .config console log report ci-upstream-kasan-gce
2020/06/17 03:00 upstream 7ae77150d94d 559fbe2d .config console log report ci-upstream-kasan-gce
2020/01/04 11:14 upstream bed723519a72 68256974 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/17 10:09 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-386
2019/08/26 17:38 upstream a55aa89aab90 d21c5d9d .config console log report ci-upstream-kasan-gce-386
2020/10/02 01:06 net-old bb13a800620c 9602ddf4 .config console log report info ci-upstream-net-this-kasan-gce
2020/08/22 08:13 net-old 4af7b32f84aa 6436ce4b .config console log report ci-upstream-net-this-kasan-gce
2020/06/20 17:33 net-old 4d3da2d8d91f c655ec77 .config console log report ci-upstream-net-this-kasan-gce
2020/06/19 11:14 net-old 4d3da2d8d91f bc258b50 .config console log report ci-upstream-net-this-kasan-gce
2020/05/13 07:50 bpf e8a1b0efd632 a44eb8f7 .config console log report ci-upstream-bpf-kasan-gce
2021/01/03 05:20 net-next-old 3db1a3fa9880 79264ae3 .config console log report info ci-upstream-net-kasan-gce
2020/10/15 18:16 net-next-old d25e2e9388ed 63869021 .config console log report info ci-upstream-net-kasan-gce
2020/06/19 20:14 net-next-old cb8e59cc8720 81abc331 .config console log report ci-upstream-net-kasan-gce
2020/06/18 10:43 net-next-old cb8e59cc8720 d45a4d69 .config console log report ci-upstream-net-kasan-gce
2020/05/09 04:34 bpf-next 8086fbaf4934 e97b06d3 .config console log report ci-upstream-bpf-next-kasan-gce
2021/04/09 22:59 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in bcm_release
* Struck through repros no longer work on HEAD.