INFO: task kworker/1:2:3583 blocked for more than 143 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:21016 pid:3583 ppid:2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rfkill_sync_work+0x25/0xe0 net/rfkill/core.c:1040 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task kworker/1:9:18153 blocked for more than 143 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:9 state:D stack:20128 pid:18153 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rfkill_global_led_trigger_worker+0x23/0xd0 net/rfkill/core.c:181 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.1:31577 blocked for more than 143 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25000 pid:31577 ppid:3563 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0xac/0x300 kernel/time/timer.c:1911 do_wait_for_common+0x441/0x5e0 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work+0x124/0x1a0 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:166 __fput+0x3b7/0x890 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f047e47b9da RSP: 002b:00007ffd655e80e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f047e47b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f047e59d980 R08: 0000001b32120000 R09: 0000000000000423 R10: 0000000081327a92 R11: 0000000000000293 R12: 000000000016d45e R13: ffffffffffffffff R14: 00007f047e000000 R15: 000000000016d11d INFO: task syz-executor.2:31586 blocked for more than 144 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25312 pid:31586 ppid:3569 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 device_lock include/linux/device.h:836 [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_fop_write+0x5b7/0x790 net/rfkill/core.c:1286 vfs_write+0x2d9/0xba0 fs/read_write.c:582 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f40dd27cae9 RSP: 002b:00007f40ddeff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f40dd39bf80 RCX: 00007f40dd27cae9 RDX: 0000000000000008 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f40dd2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f40dd39bf80 R15: 00007fff7ef3b278 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a0b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12a8b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d129ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by klogd/2957: #0: ffff8880b9939e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 2 locks held by getty/3275: #0: ffff888029114098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 3 locks held by kworker/1:2/3583: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000400fd20 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267 #2: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x25/0xe0 net/rfkill/core.c:1040 3 locks held by kworker/1:9/18153: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000c0a7d20 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267 #2: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x23/0xd0 net/rfkill/core.c:181 1 lock held by syz-executor.1/31577: #0: ffff88801fb0f100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #0: ffff88801fb0f100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x5f/0x290 net/nfc/core.c:1165 2 locks held by syz-executor.2/31586: #0: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 net/rfkill/core.c:1278 #1: ffff88801fb0f100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #1: ffff88801fb0f100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff88801fb0f100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x4c/0x2f0 net/nfc/core.c:179 2 locks held by syz-executor.2/31638: #0: ffff888075415118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6f0 drivers/bluetooth/hci_vhci.c:373 #1: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor.1/31640: #0: ffff88801726f118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6f0 drivers/bluetooth/hci_vhci.c:373 #1: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor.2/31642: #0: ffff88807bc49918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6f0 drivers/bluetooth/hci_vhci.c:373 #1: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor.1/31645: #0: ffff888076829118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x6f0 drivers/bluetooth/hci_vhci.c:373 #1: ffffffff8e549028 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 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+0x1b0/0x3f0 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+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4971 Comm: kworker/u4:13 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x56/0xb0 kernel/rcu/tree.c:720 Code: f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 80 a4 6d 00 48 c7 c3 a8 4a 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 75 1e 8b 03 65 ff 0d 05 83 8f 7e 74 0c 83 e0 04 c1 e8 02 5b RSP: 0018:ffffc90014b67a60 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: ffff8880b9834aa8 RCX: ffffffff8169ec5b RDX: 0000000000000000 RSI: ffffffff8b3ce940 RDI: ffffffff8b3ce900 RBP: ffffc90014b67bd8 R08: dffffc0000000000 R09: fffffbfff1ce6f6e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200296cf58 R13: dffffc0000000000 R14: ffffffff8cb90850 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005636506ef680 CR3: 000000007325c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xfa/0x5a0 kernel/locking/lockdep.c:5640 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306