INFO: task kworker/0:18:4808 blocked for more than 143 seconds.
Not tainted 6.1.129-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:18 state:D stack:25720 pid:4808 ppid:2 flags:0x00004000
Workqueue: events rfkill_sync_work
Call Trace:
context_switch kernel/sched/core.c:5243 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6560
schedule+0xbf/0x180 kernel/sched/core.c:6636
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6695
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
device_lock include/linux/device.h:837 [inline]
nfc_dev_down net/nfc/core.c:143 [inline]
nfc_rfkill_set_block+0x4c/0x2f0 net/nfc/core.c:179
rfkill_set_block+0x1e7/0x430 net/rfkill/core.c:345
rfkill_sync_work+0x8a/0xe0 net/rfkill/core.c:1042
process_one_work+0x917/0x1260 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task syz.8.463:6779 blocked for more than 146 seconds.
Not tainted 6.1.129-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.463 state:D stack:24664 pid:6779 ppid:5085 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5243 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6560
schedule+0xbf/0x180 kernel/sched/core.c:6636
schedule_timeout+0xac/0x300 kernel/time/timer.c:1941
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x350/0x610 kernel/sched/completion.c:138
__flush_work+0x95b/0xad0 kernel/workqueue.c:3076
__cancel_work_timer+0x519/0x6a0 kernel/workqueue.c:3163
rfkill_unregister+0x92/0x220 net/rfkill/core.c:1124
nfc_unregister_device+0x92/0x290 net/nfc/core.c:1167
virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:170
__fput+0x3f6/0x8d0 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0xa6e/0x26a0 kernel/exit.c:871
do_group_exit+0x202/0x2b0 kernel/exit.c:1021
get_signal+0x16cb/0x17a0 kernel/signal.c:2871
arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x6a/0x100 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:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7efe17d8d169
RSP: 002b:00007efe18ca4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: 0000000000000003 RBX: 00007efe17fa5fa0 RCX: 00007efe17d8d169
RDX: 0000000000000002 RSI: 0000400000000100 RDI: ffffffffffffff9c
RBP: 00007efe17e0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007efe17fa5fa0 R15: 00007ffd0e4c3b38
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d32e850 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d32f050 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/28:
#0: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510
2 locks held by dhcpcd/3916:
2 locks held by getty/4008:
#0: ffff888030e79098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x54a/0x1620 drivers/tty/n_tty.c:2198
1 lock held by syz-executor/4437:
#0: ffff8880b8e3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
3 locks held by kworker/u4:8/4519:
4 locks held by kworker/0:18/4808:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc90003c77d20 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffffffff8e810f88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x25/0xe0 net/rfkill/core.c:1040
#3: ffff888025e47100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#3: ffff888025e47100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline]
#3: ffff888025e47100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x4c/0x2f0 net/nfc/core.c:179
1 lock held by syz-executor/5085:
#0: ffffffff8e810f88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xcc/0x220 net/rfkill/core.c:1130
1 lock held by syz.8.463/6779:
#0: ffff888025e47100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#0: ffff888025e47100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x5f/0x290 net/nfc/core.c:1165
2 locks held by syz-executor/6965:
#0: ffff888059e86918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378
#1: ffffffff8e810f88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
2 locks held by syz-executor/7641:
#0: ffff888056a62118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378
#1: ffffffff8e810f88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
2 locks held by syz-executor/8293:
#0: ffff8880586a8918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378
#1: ffffffff8e810f88 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057
3 locks held by dhcpcd-run-hook/8478:
#0: ffff8880b8f3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
#1: ffff8880b8f27788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x419/0x790 kernel/sched/psi.c:999
#2: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#2: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#2: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: folio_memcg_lock+0x85/0x380 mm/memcontrol.c:2098
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ca/0x430 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4293 Comm: kworker/u4:5 Not tainted 6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31
Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 40 3a be 8c eb 0a 48 c7 c7 78 3a be 8c 4c 89 fe e8 f6 e6 cc 08 31 db eb d7 cc cc <89> f6 48 8b 0c 24 31 d2 e9 d3 ec ff ff 0f 1f 00 89 f6 48 8b 0c 24
RSP: 0018:ffffc900046d77f8 EFLAGS: 00000003
RAX: 0000000000000002 RBX: 00000000000000b0 RCX: 0000000000080000
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff912b6270
RBP: ffff88807b6c2884 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807b6c2898
R13: ffff88807b6c1dc0 R14: 0000000000000000 R15: 00000000000000b0
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f716a7120d0 CR3: 000000000d08e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:228 [inline]
check_wait_context kernel/locking/lockdep.c:4723 [inline]
__lock_acquire+0x495/0x1f80 kernel/locking/lockdep.c:4999
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
prepare_to_wait_event+0x27/0x3f0 kernel/sched/wait.c:310
toggle_allocation_gate+0x1d2/0x480 mm/kfence/core.c:812
process_one_work+0x917/0x1260 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295