INFO: task kworker/1:4:5122 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-syzkaller-00044-g633b47cb009d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:23864 pid:5122 ppid:2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 rfkill_sync_work+0x29/0xf0 net/rfkill/core.c:1040 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INFO: task kworker/1:6:5126 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-syzkaller-00044-g633b47cb009d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:23560 pid:5126 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:181 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INFO: task syz-executor.1:11522 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-syzkaller-00044-g633b47cb009d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27656 pid:11522 ppid:5079 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_timeout+0xb0/0x300 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x354/0x620 kernel/sched/completion.c:148 __flush_work+0x950/0xac0 kernel/workqueue.c:3407 __cancel_work_timer+0x51d/0x6a0 kernel/workqueue.c:3494 rfkill_unregister+0x96/0x230 net/rfkill/core.c:1124 nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167 virtual_ncidev_close+0x59/0x90 drivers/nfc/virtual_ncidev.c:163 __fput+0x3f8/0x910 fs/file_table.c:384 task_work_run+0x24a/0x300 kernel/task_work.c:180 get_signal+0x1662/0x1840 kernel/signal.c:2668 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f349d27cae9 RSP: 002b:00007f349dfb60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffff2 RBX: 00007f349d39c050 RCX: 00007f349d27cae9 RDX: 0000000000000064 RSI: 0000000020000500 RDI: 0000000000000003 RBP: 00007f349d2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f349d39c050 R15: 00007ffc1c254518 INFO: task syz-executor.3:11521 blocked for more than 144 seconds. Not tainted 6.6.0-rc3-syzkaller-00044-g633b47cb009d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23992 pid:11521 ppid:5065 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 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/0x300 net/nfc/core.c:179 rfkill_set_block+0x1e7/0x430 net/rfkill/core.c:345 rfkill_fop_write+0x5bb/0x790 net/rfkill/core.c:1286 vfs_write+0x286/0xaf0 fs/read_write.c:582 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8c7a47cae9 RSP: 002b:00007f8c7b2570c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8c7a59bf80 RCX: 00007f8c7a47cae9 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f8c7a4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8c7a59bf80 R15: 00007ffd795a2278 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 3 locks held by kworker/u4:3/48: #0: ffff8880b983c318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:999 #2: ffff8880b98296d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999 2 locks held by kworker/1:2/923: 2 locks held by getty/4782: #0: ffff8881406e60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 3 locks held by kworker/1:4/5122: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc900043afd20 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900043afd20 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #2: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x29/0xf0 net/rfkill/core.c:1040 3 locks held by kworker/1:6/5126: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc900047ffd20 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900047ffd20 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #2: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:181 1 lock held by syz-executor.1/11522: #0: ffff888078f78100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff888078f78100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165 2 locks held by syz-executor.3/11521: #0: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a9/0x790 net/rfkill/core.c:1278 #1: ffff888078f78100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #1: ffff888078f78100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff888078f78100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x50/0x300 net/nfc/core.c:179 2 locks held by syz-executor.1/11670: #0: ffff88802d160918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x720 drivers/bluetooth/hci_vhci.c:474 #1: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor.3/11671: #0: ffff88802f24d118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x720 drivers/bluetooth/hci_vhci.c:474 #1: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor.1/11678: #0: ffff88802211b118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x720 drivers/bluetooth/hci_vhci.c:474 #1: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor.3/11680: #0: ffff88802d7b0118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x720 drivers/bluetooth/hci_vhci.c:474 #1: ffffffff8e79ece8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x34/0x880 net/rfkill/core.c:1057 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc3-syzkaller-00044-g633b47cb009d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 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+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 42 Comm: kworker/u4:2 Not tainted 6.6.0-rc3-syzkaller-00044-g633b47cb009d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:match_held_lock+0x77/0xb0 kernel/locking/lockdep.c:5230 Code: c7 c2 80 12 3d 90 48 29 d0 48 c1 f8 04 48 ba c5 4e ec c4 4e ec c4 4e 48 0f af d0 bd 01 00 00 00 48 39 ca 74 02 31 ed 89 e8 5b <5d> c3 e8 c2 c2 6d f9 31 ed 85 c0 74 f0 83 3d 75 5a cd 03 00 75 e7 RSP: 0018:ffffc90000b2f610 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000006 RCX: ffffc90000b2f603 RDX: 1ffff92000165ed4 RSI: ffff888012866078 RDI: ffff888013ab8bb8 RBP: 0000000000000001 R08: ffffffff8e9a78ef R09: 1ffffffff1d34f1d R10: dffffc0000000000 R11: fffffbfff1d34f1e R12: 0000000000000006 R13: 000000000000001e R14: ffff888013ab8ac8 R15: ffff888013ab8bb8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00c75d000 CR3: 000000000d130000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_held_lock kernel/locking/lockdep.c:5243 [inline] __lock_release kernel/locking/lockdep.c:5428 [inline] lock_release+0x24b/0x9d0 kernel/locking/lockdep.c:5773 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] __text_poke+0xa77/0xcd0 arch/x86/kernel/alternative.c:1868 text_poke arch/x86/kernel/alternative.c:1892 [inline] text_poke_bp_batch+0x59a/0xb20 arch/x86/kernel/alternative.c:2225 text_poke_flush arch/x86/kernel/alternative.c:2394 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2401 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:830 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304