syzbot


INFO: task hung in rfkill_global_led_trigger_worker

Status: upstream: reported on 2025/06/17 07:16
Reported-by: syzbot+400f23dd04603030f0ee@syzkaller.appspotmail.com
First crash: 1d00h, last: 1d00h
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in rfkill_global_led_trigger_worker wireless 3 1301d 1336d 0/28 auto-closed as invalid on 2022/01/24 07:42
linux-6.1 INFO: task hung in rfkill_global_led_trigger_worker origin:upstream C 139 21h17m 819d 0/3 upstream: reported C repro on 2023/03/21 21:11
upstream INFO: task hung in rfkill_global_led_trigger_worker (3) wireless C 1216 1h23m 333d 0/28 closed as dup on 2025/06/17 10:11
upstream INFO: task hung in rfkill_global_led_trigger_worker (2) net nfc C error 1362 343d 945d 26/28 fixed on 2024/07/09 19:14
linux-5.15 INFO: task hung in rfkill_global_led_trigger_worker origin:upstream C error 63 46d 832d 0/3 upstream: reported C repro on 2023/03/08 16:06
linux-4.19 INFO: task hung in rfkill_global_led_trigger_worker 7 1172d 1284d 0/1 auto-closed as invalid on 2022/07/31 23:38

Sample crash report:
INFO: task kworker/1:5:5841 blocked for more than 143 seconds.
      Not tainted 6.6.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:5     state:D stack:24080 pid:5841  ppid:2      flags:0x00004000
Workqueue: events rfkill_global_led_trigger_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747
 rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
INFO: task syz.0.5540:20901 blocked for more than 143 seconds.
      Not tainted 6.6.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.5540      state:D stack:24976 pid:20901 ppid:17846  flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747
 device_lock include/linux/device.h:992 [inline]
 nfc_dev_down net/nfc/core.c:143 [inline]
 nfc_rfkill_set_block+0x50/0x2e0 net/nfc/core.c:179
 rfkill_set_block+0x1c6/0x420 net/rfkill/core.c:346
 rfkill_fop_write+0x45c/0x570 net/rfkill/core.c:1305
 vfs_write+0x288/0x940 fs/read_write.c:582
 ksys_write+0x147/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f47ce18e929
RSP: 002b:00007f47cf090038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f47ce3b5fa0 RCX: 00007f47ce18e929
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 000000000000000a
RBP: 00007f47ce210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f47ce3b5fa0 R15: 00007ffdfd04a978
 </TASK>
INFO: task syz.3.5541:20903 blocked for more than 143 seconds.
      Not tainted 6.6.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.5541      state:D stack:25800 pid:20903 ppid:19018  flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747
 rfkill_unregister+0xc8/0x220 net/rfkill/core.c:1149
 nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167
 virtual_ncidev_close+0x59/0x90 drivers/nfc/virtual_ncidev.c:172
 __fput+0x234/0x970 fs/file_table.c:384
 task_work_run+0x1ce/0x250 kernel/task_work.c:239
 get_signal+0x1235/0x1400 kernel/signal.c:2678
 arch_do_signal_or_restart+0x96/0x780 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4be8f8e929
RSP: 002b:00007f4be9dee038 EFLAGS: 00000246 ORIG_RAX: 0000000000000127
RAX: fffffffffffffff2 RBX: 00007f4be91b5fa0 RCX: 00007f4be8f8e929
RDX: 0000000000000001 RSI: 0000200000000980 RDI: 0000000000000006
RBP: 00007f4be9010b39 R08: 00000000fffffff9 R09: 0000000000000000
R10: 000000000000000a R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f4be91b5fa0 R15: 00007ffdb706b798
 </TASK>
INFO: task syz-executor:21166 blocked for more than 144 seconds.
      Not tainted 6.6.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:27688 pid:21166 ppid:1      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747
 rfkill_register+0x37/0x8e0 net/rfkill/core.c:1075
 hci_register_dev+0x3f5/0x890 net/bluetooth/hci_core.c:2603
 __vhci_create_device drivers/bluetooth/hci_vhci.c:430 [inline]
 vhci_create_device+0x38b/0x6e0 drivers/bluetooth/hci_vhci.c:472
 vhci_get_user drivers/bluetooth/hci_vhci.c:529 [inline]
 vhci_write+0x3b5/0x470 drivers/bluetooth/hci_vhci.c:609
 call_write_iter include/linux/fs.h:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x43b/0x940 fs/read_write.c:584
 ksys_write+0x147/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f471398d3a0
RSP: 002b:00007ffdd2424eb8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f471398d3a0
RDX: 0000000000000002 RSI: 00007ffdd2424eca RDI: 00000000000000ca
RBP: 00007f4713bb6738 R08: 0000000000000000 R09: 00007f47146ed6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
 </TASK>
INFO: task syz-executor:21167 blocked for more than 144 seconds.
      Not tainted 6.6.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:27816 pid:21167 ppid:1      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x14e2/0x4580 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747
 rfkill_register+0x37/0x8e0 net/rfkill/core.c:1075
 hci_register_dev+0x3f5/0x890 net/bluetooth/hci_core.c:2603
 __vhci_create_device drivers/bluetooth/hci_vhci.c:430 [inline]
 vhci_create_device+0x38b/0x6e0 drivers/bluetooth/hci_vhci.c:472
 vhci_get_user drivers/bluetooth/hci_vhci.c:529 [inline]
 vhci_write+0x3b5/0x470 drivers/bluetooth/hci_vhci.c:609
 call_write_iter include/linux/fs.h:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x43b/0x940 fs/read_write.c:584
 ksys_write+0x147/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc25518d3a0
RSP: 002b:00007ffe22540088 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc25518d3a0
RDX: 0000000000000002 RSI: 00007ffe2254009a RDI: 00000000000000ca
RBP: 00007fc2553b6738 R08: 0000000000000000 R09: 00007fc255eed6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8cd2f760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
5 locks held by kworker/u4:9/3456:
2 locks held by getty/5534:
 #0: ffff88823bcce8a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000326b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217
3 locks held by kworker/1:5/5841:
 #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #1: ffffc9000488fd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #1: ffffc9000488fd00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #2: ffffffff8e289a88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182
2 locks held by syz.0.5540/20901:
 #0: ffffffff8e289a88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a2/0x570 net/rfkill/core.c:1297
 #1: ffff88801cbfe100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
 #1: ffff88801cbfe100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline]
 #1: ffff88801cbfe100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x50/0x2e0 net/nfc/core.c:179
2 locks held by syz.3.5541/20903:
 #0: ffff88801cbfe100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
 #0: ffff88801cbfe100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165
 #1: ffffffff8e289a88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xc8/0x220 net/rfkill/core.c:1149
2 locks held by syz-executor/21166:
 #0: ffff88805dd5f918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:471
 #1: ffffffff8e289a88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x37/0x8e0 net/rfkill/core.c:1075
2 locks held by syz-executor/21167:
 #0: ffff888076d94118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:471
 #1: ffffffff8e289a88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x37/0x8e0 net/rfkill/core.c:1075
3 locks held by syz.2.5899/21845:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
 #1: ffff888022fbe100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
 #1: ffff888022fbe100 (&dev->mutex){....}-{3:3}, at: nfc_register_device+0xa1/0x320 net/nfc/core.c:1128
 #2: ffffffff8e289a88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x37/0x8e0 net/rfkill/core.c:1075
1 lock held by syz.1.5912/21882:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21885:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21887:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21890:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21891:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21898:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21900:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21903:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143
1 lock held by syz-executor/21904:
 #0: ffffffff8d4c42a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5a/0x370 drivers/char/misc.c:143

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

NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf41/0xf80 kernel/hung_task.c:379
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3456 Comm: kworker/u4:9 Not tainted 6.6.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4778 [inline]
RIP: 0010:__lock_acquire+0x681/0x7c80 kernel/locking/lockdep.c:5087
Code: 83 3d 22 b0 81 15 00 0f 84 ad 01 00 00 31 db 48 81 c3 c9 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 00 84 c0 0f 85 b4 62 00 00 <45> 84 f6 0f 84 76 05 00 00 0f b6 1b 48 8b 44 24 48 42 0f b6 04 00
RSP: 0018:ffffc9000c7477c0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff906edf79 RCX: ffffffff81670411
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90d84520
RBP: ffffc9000c747a08 R08: dffffc0000000000 R09: 1ffffffff21b08a4
R10: dffffc0000000000 R11: fffffbfff21b08a5 R12: ffff88802d6264c4
R13: ffff88802d625a00 R14: 0000000000000002 R15: ffff88802d626550
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558c962cd000 CR3: 000000000cb30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754
 rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 rcu_read_lock include/linux/rcupdate.h:786 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0xef/0x610 net/batman-adv/network-coding.c:719
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/17 07:16 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in rfkill_global_led_trigger_worker
* Struck through repros no longer work on HEAD.