syzbot


INFO: task hung in reg_check_chans_work

Status: closed as dup on 2018/02/14 15:33
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+c57335ab056cfe211143@syzkaller.appspotmail.com
First crash: 2499d, last: 2431d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in netdev_run_todo net 12 1938d 2492d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in reg_check_chans_work 1 (2) 2018/02/14 15:30
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in reg_check_chans_work 10 33d 318d 0/3 upstream: reported on 2024/01/27 00:47
upstream INFO: task hung in reg_check_chans_work (6) wireless C error 129 156d 230d 26/28 fixed on 2024/07/09 19:14
upstream INFO: task hung in reg_check_chans_work (3) wireless 60 1101d 1164d 0/28 auto-closed as invalid on 2022/04/03 20:03
linux-4.14 INFO: task hung in reg_check_chans_work 1 947d 947d 0/1 auto-obsoleted due to no activity on 2022/09/05 08:58
upstream INFO: task hung in reg_check_chans_work (7) wireless C error 311 18h45m 78d 0/28 upstream: reported C repro on 2024/09/23 08:39
upstream INFO: task hung in reg_check_chans_work (4) wireless 4 893d 896d 0/28 auto-closed as invalid on 2022/09/28 14:08
android-44 INFO: task hung in reg_check_chans_work 18 2403d 2477d 0/2 auto-closed as invalid on 2019/02/22 14:50
android-49 INFO: task hung in reg_check_chans_work 18 2402d 2500d 0/3 auto-closed as invalid on 2019/02/22 15:19
linux-6.1 INFO: task hung in reg_check_chans_work 3 180d 198d 0/3 auto-obsoleted due to no activity on 2024/09/20 17:51
upstream INFO: task hung in reg_check_chans_work (5) wireless 26 407d 536d 0/28 auto-obsoleted due to no activity on 2024/01/08 12:17
upstream INFO: task hung in reg_check_chans_work (2) wireless 3 1525d 1534d 0/28 auto-closed as invalid on 2021/01/04 12:48

Sample crash report:
binder: release 7669:7670 transaction 51 out, still active
binder: undelivered TRANSACTION_COMPLETE
binder: send failed reply for transaction 51, target dead
INFO: task kworker/0:0:4 blocked for more than 120 seconds.
      Not tainted 4.16.0+ #380
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:0     D20744     4      2 0x80000000
Workqueue: events_power_efficient reg_check_chans_work
Call Trace:
 context_switch kernel/sched/core.c:2848 [inline]
 __schedule+0x8fb/0x1ef0 kernel/sched/core.c:3490
 schedule+0xf5/0x430 kernel/sched/core.c:3549
 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3607
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0xb7f/0x1810 kernel/locking/mutex.c:893
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
 reg_check_chans_work+0xaa/0xff0 net/wireless/reg.c:2205
 process_one_work+0xc97/0x1c40 kernel/workqueue.c:2145
 worker_thread+0x1c3/0x1380 kernel/workqueue.c:2279
 kthread+0x33c/0x400 kernel/kthread.c:238
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411

Showing all locks held in the system:
3 locks held by kworker/0:0/4:
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline]
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline]
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline]
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline]
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline]
 #0: 0000000039f43a45 ((wq_completion)"events_power_efficient"){+.+.}, at: process_one_work+0xb83/0x1c40 kernel/workqueue.c:2116
 #1: 00000000415b0c76 ((reg_check_chans).work){+.+.}, at: process_one_work+0xbd9/0x1c40 kernel/workqueue.c:2120
 #2: 000000007a3c1e06 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
3 locks held by kworker/0:1/25:
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline]
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline]
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline]
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline]
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline]
 #0: 00000000f8d12db0 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0xb83/0x1c40 kernel/workqueue.c:2116
 #1: 000000004e28fe02 ((addr_chk_work).work){+.+.}, at: process_one_work+0xbd9/0x1c40 kernel/workqueue.c:2120
 #2: 000000007a3c1e06 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
2 locks held by khungtaskd/879:
 #0: 00000000c9fcd80a (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline]
 #0: 00000000c9fcd80a (rcu_read_lock){....}, at: watchdog+0x1d6/0xd70 kernel/hung_task.c:249
 #1: 000000002e3443ba (tasklist_lock){.+.+}, at: debug_show_all_locks+0xd3/0x3d0 kernel/locking/lockdep.c:4470
2 locks held by getty/4408:
 #0: 00000000946d5556 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 00000000f2b5c4f8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
2 locks held by getty/4409:
 #0: 00000000fa8b3c87 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 0000000086553f91 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
2 locks held by getty/4410:
 #0: 00000000495bf4c8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 00000000fbe1d4be (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
2 locks held by getty/4411:
 #0: 0000000057bf13e8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 00000000f58105af (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
2 locks held by getty/4412:
 #0: 00000000bd467a63 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 00000000929002b3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
2 locks held by getty/4413:
 #0: 0000000015dead5a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 0000000032b26e41 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
2 locks held by getty/4414:
 #0: 0000000060bb7444 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
 #1: 00000000a5877a89 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131
1 lock held by syz-executor0/7658:
 #0: 00000000521ca41b (ipvs->sync_mutex){+.+.}, at: do_ip_vs_set_ctl+0x277/0x1cc0 net/netfilter/ipvs/ip_vs_ctl.c:2393
2 locks held by syz-executor0/7664:
 #0: 000000007a3c1e06 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
 #1: 00000000521ca41b (ipvs->sync_mutex){+.+.}, at: do_ip_vs_set_ctl+0x10f8/0x1cc0 net/netfilter/ipvs/ip_vs_ctl.c:2388
1 lock held by ipvs-b:1:0/7661:
 #0: 000000007a3c1e06 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74

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

NMI backtrace for cpu 0
CPU: 0 PID: 879 Comm: khungtaskd Not tainted 4.16.0+ #380
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1a7/0x27d lib/dump_stack.c:53
 nmi_cpu_backtrace+0x1e0/0x220 lib/nmi_backtrace.c:103
 nmi_trigger_cpumask_backtrace+0x123/0x180 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:138 [inline]
 check_hung_task kernel/hung_task.c:132 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline]
 watchdog+0x969/0xd70 kernel/hung_task.c:249
 kthread+0x33c/0x400 kernel/kthread.c:238
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/05 17:19 upstream 3e968c9f1401 5e1ccffc .config console log report ci-upstream-kasan-gce
2018/02/07 06:52 upstream cbd7b8a76b79 66c15deb .config console log report ci-upstream-kasan-gce
2018/04/09 10:18 upstream f2d285669aae f13fb445 .config console log report ci-upstream-kasan-gce-386
2018/02/09 04:46 upstream c0136321924d 9fb5ec43 .config console log report ci-upstream-kasan-gce-386
2018/04/14 17:20 net-next-old 5d1365940a68 7a67784c .config console log report ci-upstream-net-kasan-gce
2018/04/13 02:53 net-next-old 17dec0a94915 eb2295de .config console log report ci-upstream-net-kasan-gce
2018/04/13 01:53 net-next-old 17dec0a94915 eb2295de .config console log report ci-upstream-net-kasan-gce
2018/04/03 06:10 net-next-old 159f02977b2f 676bd07e .config console log report ci-upstream-net-kasan-gce
2018/03/29 17:48 net-next-old 56455e0998dd d47f0ed6 .config console log report ci-upstream-net-kasan-gce
2018/03/29 06:56 net-next-old 5d22d47b9ed9 bf5e585c .config console log report ci-upstream-net-kasan-gce
2018/03/28 08:21 net-next-old 5d22d47b9ed9 bf5e585c .config console log report ci-upstream-net-kasan-gce
2018/02/09 06:28 net-next-old 617aebe6a97e 9fb5ec43 .config console log report ci-upstream-net-kasan-gce
2018/02/08 17:55 net-next-old 617aebe6a97e 9fb5ec43 .config console log report ci-upstream-net-kasan-gce
2018/02/08 09:19 net-next-old 617aebe6a97e 9fb5ec43 .config console log report ci-upstream-net-kasan-gce
2018/02/06 00:22 net-next-old 617aebe6a97e a1bc9d40 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.