syzbot


INFO: task hung in reg_check_chans_work

Status: auto-closed as invalid on 2019/02/22 14:50
First crash: 2479d, last: 2405d
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 35d 320d 0/3 upstream: reported on 2024/01/27 00:47
upstream INFO: task hung in reg_check_chans_work (6) wireless C error 129 158d 232d 26/28 fixed on 2024/07/09 19:14
upstream INFO: task hung in reg_check_chans_work (3) wireless 60 1103d 1166d 0/28 auto-closed as invalid on 2022/04/03 20:03
linux-4.14 INFO: task hung in reg_check_chans_work 1 949d 949d 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 313 12h03m 80d 0/28 upstream: reported C repro on 2024/09/23 08:39
upstream INFO: task hung in reg_check_chans_work (4) wireless 4 895d 898d 0/28 auto-closed as invalid on 2022/09/28 14:08
upstream INFO: task hung in reg_check_chans_work net 15 2433d 2492d 0/28 closed as dup on 2018/02/14 15:33
android-49 INFO: task hung in reg_check_chans_work 18 2405d 2502d 0/3 auto-closed as invalid on 2019/02/22 15:19
linux-6.1 INFO: task hung in reg_check_chans_work 3 182d 200d 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 410d 538d 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 1527d 1536d 0/28 auto-closed as invalid on 2021/01/04 12:48

Sample crash report:
device lo entered promiscuous mode
IPVS: stopping backup sync thread 8135 ...
INFO: task kworker/0:0:4 blocked for more than 120 seconds.
      Not tainted 4.4.131-g1e1da81 #40
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:0     D ffff8801d99f7a28 26624     4      2 0x00000000
Workqueue: events_power_efficient reg_check_chans_work
 ffff8801d99f7a28 0000000000000002 ffff8801d99ad0e0 ffffed003b335a1b
 ffff8801d99ac800 ffff8801db21fdb8 ffff8801db21fde0 ffff8801db21f4d8
 ffff8801db21f4c0 ffff8801d8943000 ffff8801d99ac800 0000000000000000
Call Trace:
 [<ffffffff838b1e4a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff838b25e3>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3392
 [<ffffffff838b8727>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<ffffffff838b8727>] mutex_lock_nested+0x307/0x850 kernel/locking/mutex.c:621
 [<ffffffff82fb10c7>] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70
 [<ffffffff835c1fb4>] reg_check_chans_work+0x74/0xed0 net/wireless/reg.c:1692
 [<ffffffff81181d5f>] process_one_work+0x7df/0x1600 kernel/workqueue.c:2064
 [<ffffffff81182c59>] worker_thread+0xd9/0xfc0 kernel/workqueue.c:2196
 [<ffffffff81190768>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c0295>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
3 locks held by kworker/0:0/4:
 #0:  ("events_power_efficient"){.+.+.+}, at: [<ffffffff81181c40>] work_static include/linux/workqueue.h:186 [inline]
 #0:  ("events_power_efficient"){.+.+.+}, at: [<ffffffff81181c40>] set_work_data kernel/workqueue.c:625 [inline]
 #0:  ("events_power_efficient"){.+.+.+}, at: [<ffffffff81181c40>] set_work_pool_and_clear_pending kernel/workqueue.c:652 [inline]
 #0:  ("events_power_efficient"){.+.+.+}, at: [<ffffffff81181c40>] process_one_work+0x6c0/0x1600 kernel/workqueue.c:2057
 #1:  ((reg_check_chans).work){+.+...}, at: [<ffffffff81181c7a>] process_one_work+0x6fa/0x1600 kernel/workqueue.c:2061
 #2:  (rtnl_mutex){+.+.+.}, at: [<ffffffff82fb10c7>] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 492 Comm: khungtaskd Not tainted 4.4.131-g1e1da81 #40
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800bb328000 task.stack: ffff8800bac38000
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810bfda6>]  [<ffffffff810bfda6>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8800bac3fcc8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8800bac3fcf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: 0000000000000002 R15: ffffffff8446f7a0
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbee53e9000 CR3: 00000001c8b4b000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8446f7a0 ffffffff84a18a20 0000000000000007 fffffbfff0942bf4
 0000000000000040 ffff8800bac3fd10 ffffffff810b5d61 ffffffff83c0b1a0
 0000000000000003 ffff8800bac3fd68 ffffffff81e19003 ffffffff8140d96f
Call Trace:
 [<ffffffff810b5d61>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81e19003>] nmi_trigger_all_cpu_backtrace.cold.4+0x70/0xad lib/nmi_backtrace.c:85
 [<ffffffff810b5e04>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8141a059>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8141a059>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8141a059>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8141a059>] watchdog.cold.1+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff81190768>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c0295>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e2 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 f2 09 da 80 cf 04 41 83 fe 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 62 
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.131-g1e1da81 #40
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d9a41800 task.stack: ffff8801d9a50000
RIP: 0010:[<ffffffff8122fb29>]  [<ffffffff8122fb29>] validate_chain kernel/locking/lockdep.c:2114 [inline]
RIP: 0010:[<ffffffff8122fb29>]  [<ffffffff8122fb29>] __lock_acquire+0xd19/0x5270 kernel/locking/lockdep.c:3213
RSP: 0018:ffff8801db307ae0  EFLAGS: 00000046
RAX: dffffc0000000000 RBX: ffff8801d9a42108 RCX: ffff8801d9a420e0
RDX: 1ffffffff099e677 RSI: ffff8801d9a42108 RDI: ffffffff84cf33b8
RBP: ffff8801db307c78 R08: ffffffff85363dd0 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8801d9a41800 R12: ffffffff84cf33a8
R13: ffffffff84cf33a0 R14: 000000000007c000 R15: 000000000007c002
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f563d98c000 CR3: 00000001c8b4b000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 1ffff1003b660f5e ffff8801d9a420e0 000000000000002e ffff8801d9a42102
 ffff8801d9a42101 0000000000000040 ffff8801db307cc0 0000000000000046
 ffff8801d9a42100 ffff8801d9a420e0 ffff8801d9a42120 ffffffff85389fe0
Call Trace:
 [<ffffffff8123585e>] lock_acquire+0x15e/0x450 kernel/locking/lockdep.c:3592
 [<ffffffff838bfabe>] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:112 [inline]
 [<ffffffff838bfabe>] _raw_spin_lock_irqsave+0x4e/0x70 kernel/locking/spinlock.c:159
 [<ffffffff81e6f9e7>] debug_object_deactivate+0xf7/0x340 lib/debugobjects.c:463
 [<ffffffff812912c0>] debug_timer_deactivate kernel/time/timer.c:618 [inline]
 [<ffffffff812912c0>] debug_deactivate kernel/time/timer.c:670 [inline]
 [<ffffffff812912c0>] detach_timer kernel/time/timer.c:716 [inline]
 [<ffffffff812912c0>] detach_expired_timer kernel/time/timer.c:727 [inline]
 [<ffffffff812912c0>] __run_timers kernel/time/timer.c:1253 [inline]
 [<ffffffff812912c0>] run_timer_softirq+0x380/0xb90 kernel/time/timer.c:1444
 [<ffffffff838c332c>] __do_softirq+0x22c/0xa1a kernel/softirq.c:273
 [<ffffffff8113f75d>] invoke_softirq kernel/softirq.c:350 [inline]
 [<ffffffff8113f75d>] irq_exit+0x10d/0x140 kernel/softirq.c:391
 [<ffffffff838c2a91>] exiting_irq arch/x86/include/asm/apic.h:653 [inline]
 [<ffffffff838c2a91>] smp_apic_timer_interrupt+0x81/0xa0 arch/x86/kernel/apic/apic.c:926
 [<ffffffff838c19d0>] apic_timer_interrupt+0xa0/0xb0 arch/x86/entry/entry_64.S:741
 <EOI> d [<ffffffff810cc306>] ? native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
 [<ffffffff81025da5>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81025da5>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff810272f0>] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:281
 [<ffffffff8121b9e7>] default_idle_call+0x57/0x70 kernel/sched/idle.c:93
 [<ffffffff8121c18f>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff8121c18f>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff8121c18f>] cpu_startup_entry+0x6af/0x780 kernel/sched/idle.c:301
 [<ffffffff810aa174>] start_secondary+0x324/0x400 arch/x86/kernel/smpboot.c:242
Code: 8b 54 24 70 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e d6 31 00 00 8b 43 20 25 00 80 04 00 3d 00 00 04 00 0f 84 2b 04 00 00 <48> c7 c2 20 89 63 84 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/12 17:15 https://android.googlesource.com/kernel/common android-4.4 1e1da81a2733 e726f42b .config console log report ci-android-44-kasan-gce
2018/05/11 00:00 https://android.googlesource.com/kernel/common android-4.4 3702e76fb6e9 12c7428a .config console log report ci-android-44-kasan-gce
2018/03/26 17:16 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c 0ca7878b .config console log report ci-android-44-kasan-gce
2018/02/28 02:26 https://android.googlesource.com/kernel/common android-4.4 239a415f39e0 05b5a32c .config console log report ci-android-44-kasan-gce
2018/04/24 09:39 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 e7e85d36 .config console log report ci-android-44-kasan-gce-386
2018/04/16 07:56 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/16 05:18 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/15 23:20 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/15 23:19 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/15 19:54 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/15 06:26 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/15 03:30 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/14 22:19 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/14 14:23 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/14 08:13 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/13 22:35 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/13 14:38 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 0a0c5db6 .config console log report ci-android-44-kasan-gce-386
2018/03/26 17:13 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c 0ca7878b .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.