syzbot


INFO: task hung in crda_timeout_work (2)

Status: auto-closed as invalid on 2019/09/19 06:28
Subsystems: net
[Documentation on labels]
First crash: 2087d, last: 2087d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in crda_timeout_work net 1 2274d 2274d 0/28 auto-closed as invalid on 2019/03/16 12:56
linux-6.1 INFO: task hung in crda_timeout_work (2) 1 47d 47d 0/3 upstream: reported on 2024/10/22 06:51
upstream INFO: task hung in crda_timeout_work (8) wireless C done 385 20h51m 72d 0/28 upstream: reported C repro on 2024/09/27 16:53
upstream INFO: task hung in crda_timeout_work (7) wireless 1084 154d 198d 26/28 fixed on 2024/07/09 19:14
upstream INFO: task hung in crda_timeout_work (6) wireless 1 893d 893d 0/28 auto-closed as invalid on 2022/09/27 01:38
android-44 INFO: task hung in crda_timeout_work 1 2439d 2439d 0/2 auto-closed as invalid on 2019/02/22 14:39
upstream INFO: task hung in crda_timeout_work (3) wireless 8 1522d 1614d 0/28 auto-closed as invalid on 2021/01/06 02:49
upstream INFO: task hung in crda_timeout_work (5) wireless 1 1187d 1187d 0/28 auto-closed as invalid on 2021/12/07 21:47
linux-6.1 INFO: task hung in crda_timeout_work 49 119d 202d 0/3 auto-obsoleted due to no activity on 2024/10/20 15:08
linux-5.15 INFO: task hung in crda_timeout_work 41 25d 201d 0/3 upstream: reported on 2024/05/21 09:52
upstream INFO: task hung in crda_timeout_work (4) wireless 1 1403d 1403d 0/28 auto-closed as invalid on 2021/05/17 11:47

Sample crash report:
INFO: task kworker/0:1:12 blocked for more than 143 seconds.
      Not tainted 5.0.0+ #105
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:1     D26848    12      2 0x80000000
Workqueue: events_power_efficient crda_timeout_work
Call Trace:
 context_switch kernel/sched/core.c:2877 [inline]
 __schedule+0x817/0x1cc0 kernel/sched/core.c:3518
 schedule+0x92/0x180 kernel/sched/core.c:3562
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3620
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
 crda_timeout_work+0xe/0x30 net/wireless/reg.c:522
 process_one_work+0x98e/0x1790 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x357/0x430 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
INFO: task kworker/u4:9:19976 blocked for more than 143 seconds.
      Not tainted 5.0.0+ #105
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u4:9    D25232 19976      2 0x80000000
Workqueue: netns cleanup_net
Call Trace:
 context_switch kernel/sched/core.c:2877 [inline]
 __schedule+0x817/0x1cc0 kernel/sched/core.c:3518
 schedule+0x92/0x180 kernel/sched/core.c:3562
 exp_funnel_lock kernel/rcu/tree_exp.h:308 [inline]
 synchronize_rcu_expedited+0x54e/0x5b0 kernel/rcu/tree_exp.h:758
 synchronize_net+0x3b/0x60 net/core/dev.c:9245
 rollback_registered_many+0xb36/0xfd0 net/core/dev.c:8213
 unregister_netdevice_many.part.0+0x1b/0x1f0 net/core/dev.c:9290
 unregister_netdevice_many+0x3b/0x50 net/core/dev.c:9289
 sit_exit_batch_net+0x560/0x750 net/ipv6/sit.c:1891
 ops_exit_list.isra.0+0x105/0x160 net/core/net_namespace.c:156
 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:551
 process_one_work+0x98e/0x1790 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x357/0x430 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
INFO: task syz-executor.5:15033 blocked for more than 143 seconds.
      Not tainted 5.0.0+ #105
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D28192 15033   7811 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2877 [inline]
 __schedule+0x817/0x1cc0 kernel/sched/core.c:3518
 schedule+0x92/0x180 kernel/sched/core.c:3562
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3620
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
 sock_do_ioctl+0x254/0x300 net/socket.c:1050
 sock_ioctl+0x32b/0x610 net/socket.c:1168
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458209
Code: 4c 24 08 48 c7 44 24 10 00 00 00 00 48 89 54 24 18 e8 ab 9f ff ff 48 8b 6c 24 20 48 83 c4 28 c3 e8 ac 1c 00 00 eb aa cc cc cc <cc> cc cc cc cc cc cc 64 48 8b 0c 25 f8 ff ff ff 48 3b 61 10 76 40
RSP: 002b:00007f03e3230c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458209
RDX: 0000000020000100 RSI: 0000081000008912 RDI: 0000000000000007
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f03e32316d4
R13: 00000000004bf379 R14: 00000000004d0d48 R15: 00000000ffffffff

Showing all locks held in the system:
3 locks held by kworker/0:0/5:
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 0000000070d203f9 ((wq_completion)ipv6_addrconf){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 000000006f417656 ((addr_chk_work).work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 000000007ade12d5 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
3 locks held by kworker/0:1/12:
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 00000000fd3b43e9 ((crda_timeout).work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 000000007ade12d5 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
3 locks held by kworker/u4:3/938:
 #0: 00000000fb264b03 (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:10011 [inline]
 #0: 00000000fb264b03 (&rq->lock){-.-.}, at: pick_next_task_fair+0x1214/0x19a0 kernel/sched/fair.c:7062
 #1: 00000000f59f56a9 (rcu_read_lock){....}, at: __update_idle_core+0x45/0x3f0 kernel/sched/fair.c:6059
 #2: 0000000069554bcb (&base->lock){-.-.}, at: lock_timer_base+0x56/0x1b0 kernel/time/timer.c:937
1 lock held by khungtaskd/1041:
 #0: 00000000f59f56a9 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5061
1 lock held by rsyslogd/7668:
 #0: 00000000fde6dd15 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801
2 locks held by getty/7758:
 #0: 00000000d8b971c1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000426b39fd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7759:
 #0: 000000004c366848 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000ebcd218a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7760:
 #0: 00000000b924c0d7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000005ef56efc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7761:
 #0: 0000000054327e92 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000000a33d32c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7762:
 #0: 0000000063645326 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000c2b83ece (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7763:
 #0: 00000000370fadd9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000d990ccfd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7764:
 #0: 00000000173a23be (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000da864da6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
3 locks held by kworker/0:2/7797:
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 000000005e2cfe9c ((wq_completion)events_power_efficient){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 0000000067f2b771 ((reg_check_chans).work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 000000007ade12d5 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
4 locks held by kworker/u4:9/19976:
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 00000000abb77f26 ((wq_completion)netns){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 000000003fdd4343 (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 000000009593b9fc (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:518
 #3: 000000007ade12d5 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
1 lock held by syz-executor.5/15033:
 #0: 000000007ade12d5 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76

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

NMI backtrace for cpu 1
CPU: 1 PID: 1041 Comm: khungtaskd Not tainted 5.0.0+ #105
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
 watchdog+0x9b7/0xec0 kernel/hung_task.c:288
 kthread+0x357/0x430 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/23 03:20 net-next-old 1d965c4def07 3361bde5 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.