syzbot


INFO: task hung in linkwatch_event

Status: closed as dup on 2018/02/14 15:33
Reported-by: syzbot+a3926c3116d237751fd8@syzkaller.appspotmail.com
First crash: 1825d, last: 1206d
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in netdev_run_todo 12 1265d 1820d
similar bugs (10):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 INFO: task hung in linkwatch_event C 7 1178d 1398d 0/1 public: reported C repro on 2019/04/10 16:14
linux-4.14 INFO: task hung in linkwatch_event (2) 1 199d 199d 0/1 auto-obsoleted due to no activity on 2022/11/19 11:58
android-44 INFO: task hung in linkwatch_event 6 1614d 1759d 0/2 auto-closed as invalid on 2019/03/05 13:11
linux-4.14 INFO: task hung in linkwatch_event 5 882d 1009d 0/1 auto-closed as invalid on 2021/01/05 01:42
linux-4.19 INFO: task hung in linkwatch_event (2) C error 214 10h30m 1062d 0/1 upstream: reported C repro on 2020/03/11 20:12
upstream INFO: task hung in linkwatch_event (2) C done done 1033 287d 1013d 22/24 fixed on 2022/05/13 11:13
linux-4.19 INFO: task hung in linkwatch_event 3 1215d 1329d 0/1 auto-closed as invalid on 2020/02/07 01:11
upstream INFO: task hung in linkwatch_event (3) 84 3d04h 76d 0/24 upstream: reported on 2022/11/22 17:04
linux-4.14 INFO: task hung in linkwatch_event (3) 2 33d 34d 0/1 upstream: reported on 2023/01/03 10:49
android-49 INFO: task hung in linkwatch_event 13 1378d 1394d 0/3 auto-closed as invalid on 2019/10/25 08:50

Sample crash report:
INFO: task kworker/0:2:2996 blocked for more than 143 seconds.
      Not tainted 5.1.0-rc1+ #33
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:2     D25448  2996      2 0x80000000
Workqueue: events linkwatch_event
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
 linkwatch_event+0xf/0x70 net/core/link_watch.c:236
 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:1:7508 blocked for more than 143 seconds.
      Not tainted 5.1.0-rc1+ #33
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u4:1    D26488  7508      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
 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
 ip6gre_exit_batch_net+0x8e/0x750 net/ipv6/ip6_gre.c:1599
 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 kworker/0:3:7510 blocked for more than 143 seconds.
      Not tainted 5.1.0-rc1+ #33
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:3     D27936  7510      2 0x80000000
Workqueue: ipv6_addrconf addrconf_verify_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
 addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4517
 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

Showing all locks held in the system:
1 lock held by khungtaskd/1041:
 #0: 000000007106f882 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5061
3 locks held by kworker/0:2/2996:
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 00000000c74c34f7 ((wq_completion)events){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 000000000ba543fd ((linkwatch_work).work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 000000009eebb218 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
1 lock held by rsyslogd/7388:
 #0: 00000000ace5cadc (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801
2 locks held by getty/7478:
 #0: 00000000313ab2c7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000003b6eb669 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7479:
 #0: 000000004357648c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000000ff60fdd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7480:
 #0: 00000000bba63480 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000ec92ab6f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7481:
 #0: 00000000689ffa67 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000006b4b544c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7482:
 #0: 0000000005cca694 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 000000006d486805 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7483:
 #0: 00000000dc4d720a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000ae7ff028 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
2 locks held by getty/7484:
 #0: 000000003a6f1357 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000d3b0de77 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
1 lock held by syz-executor035/7505:
4 locks held by kworker/u4:1/7508:
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 000000002cb8bd94 ((wq_completion)netns){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 00000000af22df40 (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 00000000f48ba3a3 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:518
 #3: 000000009eebb218 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:76
3 locks held by kworker/0:3/7510:
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline]
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline]
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline]
 #0: 00000000a1446d39 ((wq_completion)ipv6_addrconf){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240
 #1: 0000000032038b13 ((addr_chk_work).work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244
 #2: 000000009eebb218 (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.1.0-rc1+ #33
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 (82):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2019/03/23 09:47 upstream fd1f297b794c 3361bde5 .config console log report syz C
ci-upstream-kasan-gce-smack-root 2019/10/18 21:07 upstream 0e2adab6cf28 8c88c9c1 .config console log report
ci-upstream-kasan-gce-smack-root 2019/10/18 08:25 upstream 283ea345934d 8c88c9c1 .config console log report
ci-upstream-kasan-gce-smack-root 2019/10/17 21:54 upstream 283ea345934d 8c88c9c1 .config console log report
ci-upstream-kasan-gce-root 2019/10/14 00:17 upstream da94001239cc 2f661ec4 .config console log report
ci-upstream-kasan-gce 2019/10/09 02:49 upstream eda57a0e4299 b1ebbfef .config console log report
ci-upstream-kasan-gce-smack-root 2019/09/30 20:24 upstream 97f9a3c4eee5 c7a4fb99 .config console log report
ci-upstream-kasan-gce-smack-root 2019/09/29 10:40 upstream 02dc96ef6c25 c1ad5441 .config console log report
ci-upstream-kasan-gce-root 2019/09/20 02:48 upstream 3c2edc36a774 4d3ae0b7 .config console log report
ci-upstream-kasan-gce 2019/09/15 05:08 upstream 1609d7604b84 32d59357 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/09/13 06:03 upstream 505a8ec7e11a 40fa42bc .config console log report
ci-upstream-kasan-gce-selinux-root 2019/09/12 06:12 upstream 3120b9a6a3f7 f4e53c10 .config console log report
ci-upstream-kasan-gce-smack-root 2019/09/05 06:23 upstream 3b47fd5ca9ea 040fda58 .config console log report
ci-upstream-kasan-gce-smack-root 2019/09/04 21:22 upstream 3b47fd5ca9ea 040fda58 .config console log report
ci-upstream-kasan-gce-smack-root 2019/09/04 17:09 upstream 089cf7f6ecb2 12381952 .config console log report
ci-upstream-kasan-gce-smack-root 2019/08/01 08:46 upstream 5c6207539aea c692b5bd .config console log report
ci-upstream-kasan-gce 2019/07/27 16:23 upstream 3ea54d9b0d65 c85e1c5b .config console log report
ci-upstream-kasan-gce-smack-root 2019/07/22 05:11 upstream c6dd78fcb8ee 1656845f .config console log report
ci-upstream-kasan-gce 2019/06/12 10:23 upstream aa7235483a83 794a1ad7 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/02/09 22:44 upstream e8b50608f666 d75f7686 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/01/25 09:04 upstream c04e2a780caf bfab9cd8 .config console log report
ci-upstream-kasan-gce 2019/01/22 22:32 upstream 787a3b432276 b1ff06b2 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/01/13 20:54 upstream e1706720408e c3f3344c .config console log report
ci-upstream-kasan-gce-root 2018/08/04 16:47 upstream 0b5b1f9a78b5 3476a2df .config console log report
ci-upstream-kasan-gce-root 2018/08/04 12:21 upstream 0b5b1f9a78b5 df7f6947 .config console log report
ci-upstream-kasan-gce-root 2018/07/14 16:17 upstream 2db39a2f491a 92a49505 .config console log report
ci-upstream-kasan-gce 2018/04/13 03:59 upstream c17b0aadb7d8 eb2295de .config console log report
ci-upstream-kasan-gce-root 2018/04/02 00:14 upstream 0adb32858b0b dc889257 .config console log report
ci-upstream-kasan-gce 2018/02/07 20:47 upstream a2e5790d8416 9fb5ec43 .config console log report
ci-upstream-kasan-gce-386 2019/08/26 18:55 upstream a55aa89aab90 d21c5d9d .config console log report
ci-upstream-kasan-gce-386 2019/07/29 15:46 upstream 609488bc979f c85e1c5b .config console log report
ci-upstream-kasan-gce-386 2019/06/28 07:38 upstream c84afab02c31 7509bf36 .config console log report
ci-upstream-kasan-gce-386 2019/03/16 16:29 upstream 9c7dc824d9a4 bab43553 .config console log report
ci-upstream-bpf-kasan-gce 2019/09/29 03:41 bpf 3c30819dc68a eb6b9855 .config console log report
ci-upstream-net-this-kasan-gce 2019/08/17 06:40 net 12ed60151345 8fd428a1 .config console log report
ci-upstream-bpf-kasan-gce 2019/08/12 22:51 bpf 125b7e0949d4 acb51638 .config console log report
ci-upstream-net-this-kasan-gce 2019/08/02 01:38 net 107e47cc80ec 835dffe7 .config console log report
ci-upstream-bpf-kasan-gce 2019/07/23 12:01 bpf c8eee4135a45 de453f34 .config console log report
ci-upstream-bpf-kasan-gce 2019/06/29 04:04 bpf 0472301a28f6 7509bf36 .config console log report
ci-upstream-bpf-kasan-gce 2019/06/24 02:37 bpf 56f0f84e69c7 472f0082 .config console log report
ci-upstream-bpf-kasan-gce 2019/06/22 23:15 bpf 56f0f84e69c7 34bf9440 .config console log report
ci-upstream-bpf-kasan-gce 2019/04/13 07:55 bpf ad40ddd4cef4 c402d8f1 .config console log report
ci-upstream-bpf-kasan-gce 2019/02/25 22:06 bpf 71828b224069 8022bafd .config console log report
ci-upstream-bpf-next-kasan-gce 2019/10/19 05:58 bpf-next 54b8625cd940 8c88c9c1 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/10/18 00:18 bpf-next 0142fdc8186e 8c88c9c1 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/10/16 05:01 bpf-next 14f2cf607ccd d4ea592f .config console log report
ci-upstream-bpf-next-kasan-gce 2019/10/12 01:09 bpf-next 409017847d20 426631dd .config console log report
ci-upstream-bpf-next-kasan-gce 2019/08/31 08:13 bpf-next 47ee6e86e0a3 fd37b39e .config console log report
ci-upstream-bpf-next-kasan-gce 2019/06/30 01:54 bpf-next 8daed7677a1d 7509bf36 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/05/27 09:10 bpf-next d9a6f413f8c7 562efd79 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/05/26 05:27 bpf-next d9a6f413f8c7 85c57315 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/05/02 04:24 bpf-next 2b5bc3c8ebce 7516d9fa .config console log report
ci-upstream-bpf-next-kasan-gce 2019/03/04 05:44 bpf-next ea5bade929bf 1c0e457a .config console log report
ci-upstream-bpf-next-kasan-gce 2019/02/26 19:33 bpf-next 143bdc2e27b4 a36ecd98 .config console log report
ci-upstream-net-kasan-gce 2019/02/25 01:14 net-next 45c0e7b25ab2 7a06e792 .config console log report
ci-upstream-net-kasan-gce 2018/03/30 09:21 net-next 18845557fd6f d47f0ed6 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/10/16 15:29 linux-next 0e9d28bc6c81 d4ea592f .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/09/06 09:10 linux-next 6d028043b55e 040fda58 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/03/10 20:04 linux-next cf08baa29613 12365b99 .config console log report
ci-upstream-linux-next-kasan-gce-root 2018/08/02 03:06 linux-next d9bd94c0bcaa 0a7cf4ec .config console log report
ci-upstream-linux-next-kasan-gce-root 2018/07/29 15:27 linux-next d1e0b8e0cb7a 0824d7a1 .config console log report
ci-upstream-linux-next-kasan-gce-root 2018/07/19 07:08 linux-next 0b742fe187f7 49f35839 .config console log report
* Struck through repros no longer work on HEAD.