INFO: task kworker/1:5:4033 blocked for more than 143 seconds. Not tainted 6.0.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:27184 pid: 4033 ppid: 2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xa9f/0x5270 kernel/sched/core.c:6494 schedule+0xde/0x1b0 kernel/sched/core.c:6570 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6629 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] nfc_dev_down+0x23/0x270 net/nfc/core.c:143 nfc_rfkill_set_block+0x19/0xa0 net/nfc/core.c:179 rfkill_set_block+0x191/0x440 net/rfkill/core.c:345 rfkill_sync_work+0x89/0xc0 net/rfkill/core.c:1042 process_one_work+0x865/0x13d0 kernel/workqueue.c:2289 worker_thread+0x59c/0xec0 kernel/workqueue.c:2436 kthread+0x29e/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.0:15908 blocked for more than 143 seconds. Not tainted 6.0.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28592 pid:15908 ppid: 3889 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xa9f/0x5270 kernel/sched/core.c:6494 schedule+0xde/0x1b0 kernel/sched/core.c:6570 schedule_timeout+0x1a1/0x260 kernel/time/timer.c:1911 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1c2/0x540 kernel/sched/completion.c:106 __flush_work+0x48f/0xa30 kernel/workqueue.c:3075 __cancel_work_timer+0x315/0x460 kernel/workqueue.c:3162 rfkill_unregister+0x81/0x290 net/rfkill/core.c:1124 nfc_unregister_device+0x6c/0x2d0 net/nfc/core.c:1167 virtual_ncidev_close+0x57/0x80 drivers/nfc/virtual_ncidev.c:163 __fput+0x1f5/0x8c0 fs/file_table.c:320 task_work_run+0xc4/0x160 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:294 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0a78a3e01b RSP: 002b:00007fffba8705c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f0a78a3e01b RDX: 00007f0a78600298 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f0a78bad980 R08: 0000000000000000 R09: 00007f0a78600000 R10: 00007f0a786002a0 R11: 0000000000000293 R12: 00000000000230a2 R13: 00007fffba8706c0 R14: 00007f0a78babf80 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8b780830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8b780530 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8b781380 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6492 2 locks held by getty/3290: #0: ffff88801d77c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020282f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2177 4 locks held by kworker/1:5/4033: #0: ffff888011467d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011467d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011467d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011467d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011467d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011467d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x13d0 kernel/workqueue.c:2260 #1: ffffc9000318fdb8 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x13d0 kernel/workqueue.c:2264 #2: ffffffff8d39d408 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x1e/0xc0 net/rfkill/core.c:1040 #3: ffff8880759fc100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff8880759fc100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x23/0x270 net/nfc/core.c:143 1 lock held by syz-executor.0/15908: #0: ffff8880759fc100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff8880759fc100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x40/0x2d0 net/nfc/core.c:1165 2 locks held by syz-executor.0/15914: #0: ffff88801d9a0118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:373 [inline] #0: ffff88801d9a0118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_get_user drivers/bluetooth/hci_vhci.c:431 [inline] #0: ffff88801d9a0118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_write+0x268/0x3f0 drivers/bluetooth/hci_vhci.c:511 #1: ffffffff8d39d408 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x2c/0xa00 net/rfkill/core.c:1057 2 locks held by syz-executor.0/15921: #0: ffff88807367c918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:373 [inline] #0: ffff88807367c918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_get_user drivers/bluetooth/hci_vhci.c:431 [inline] #0: ffff88807367c918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_write+0x268/0x3f0 drivers/bluetooth/hci_vhci.c:511 #1: ffffffff8d39d408 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x2c/0xa00 net/rfkill/core.c:1057 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x5b/0x81 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xca lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x158/0x190 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0x890/0xbf0 kernel/hung_task.c:369 kthread+0x29e/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.0.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:227 [inline] RIP: 0010:__lock_acquire+0xbcb/0x56d0 kernel/locking/lockdep.c:5050 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 3a 16 90 e8 0d fa 5a 00 48 0f a3 1d 85 17 bf 0e <0f> 83 0c 0d 00 00 48 8d 1c 5b 48 c1 e3 06 48 81 c3 a0 3e 16 90 48 RSP: 0018:ffffc9000031f810 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffffffff815722f3 RDX: fffffbfff202c751 RSI: 0000000000000008 RDI: ffffffff90163a80 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff90163a87 R10: fffffbfff202c750 R11: 0000000000000000 R12: ffff8880117e4b18 R13: ffff8880117e4000 R14: ffff8880117e4a78 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ee23038390 CR3: 000000000b48e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1af/0x570 kernel/locking/lockdep.c:5631 __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x12f/0x1360 kernel/locking/mutex.c:747 arch_jump_label_transform_queue+0x5c/0x100 arch/x86/kernel/jump_label.c:136 __jump_label_update+0xea/0x330 kernel/jump_label.c:447 static_key_disable_cpuslocked+0x104/0x160 kernel/jump_label.c:207 static_key_disable+0x15/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:825 [inline] toggle_allocation_gate+0x158/0x310 mm/kfence/core.c:803 process_one_work+0x865/0x13d0 kernel/workqueue.c:2289 worker_thread+0x59c/0xec0 kernel/workqueue.c:2436 kthread+0x29e/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306