INFO: task kworker/0:12:4624 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:12 state:D stack:0 pid:4624 ppid:2 flags:0x00000008 Workqueue: events rfkill_global_led_trigger_worker Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 rfkill_global_led_trigger_worker+0x30/0xe4 net/rfkill/core.c:181 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 INFO: task syz.0.106:4765 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.106 state:D stack:0 pid:4765 ppid:4320 flags:0x0000000d Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 nfc_unregister_device+0x94/0x288 net/nfc/core.c:1167 nci_unregister_device+0x1dc/0x21c net/nfc/nci/core.c:1311 virtual_ncidev_close+0x70/0xb0 drivers/nfc/virtual_ncidev.c:170 __fput+0x1bc/0x7c0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x270 kernel/task_work.c:203 get_signal+0x1120/0x1310 kernel/signal.c:2648 do_signal arch/arm64/kernel/signal.c:1081 [inline] do_notify_resume+0x340/0x2b0c arch/arm64/kernel/signal.c:1134 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x138 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.1.108:4788 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.108 state:D stack:0 pid:4788 ppid:4326 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 hci_unregister_dev+0x314/0x4b4 net/bluetooth/hci_core.c:2722 hci_uart_tty_close+0x178/0x29c drivers/bluetooth/hci_ldisc.c:554 tty_ldisc_close drivers/tty/tty_ldisc.c:456 [inline] tty_ldisc_kill+0x184/0x2ec drivers/tty/tty_ldisc.c:614 tty_ldisc_release+0x188/0x238 drivers/tty/tty_ldisc.c:782 tty_release_struct+0x34/0xd4 drivers/tty/tty_io.c:1689 tty_release+0xa0c/0x1208 drivers/tty/tty_io.c:1860 __fput+0x1bc/0x7c0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x270 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x138 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.2.109:4823 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.109 state:D stack:0 pid:4823 ppid:4328 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 device_lock include/linux/device.h:837 [inline] nfc_dev_down net/nfc/core.c:143 [inline] nfc_rfkill_set_block+0x4c/0x2a8 net/nfc/core.c:179 rfkill_set_block+0x18c/0x374 net/rfkill/core.c:345 rfkill_fop_write+0x488/0x5a4 net/rfkill/core.c:1286 vfs_write+0x29c/0x7c4 fs/read_write.c:582 ksys_write+0x120/0x210 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.2.109:4835 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.109 state:D stack:0 pid:4835 ppid:4328 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 rfkill_register+0x44/0x77c net/rfkill/core.c:1057 hci_register_dev+0x3e4/0x95c net/bluetooth/hci_core.c:2622 hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:693 [inline] hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:719 [inline] hci_uart_tty_ioctl+0x754/0xa94 drivers/bluetooth/hci_ldisc.c:774 tty_ioctl+0x920/0xd8c drivers/tty/tty_io.c:2785 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015297770 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015297f90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015296e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4080: #0: ffff0000d6de5098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80002083e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 3 locks held by kworker/0:12/4624: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000215d7c20 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x30/0xe4 net/rfkill/core.c:181 2 locks held by kworker/0:13/4628: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021697c20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 2 locks held by syz.0.106/4765: #0: ffff0000d4da6100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #0: ffff0000d4da6100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x68/0x288 net/nfc/core.c:1165 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 3 locks held by syz.1.108/4788: #0: ffff0000d1379098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_write+0x3c/0x4c drivers/tty/tty_ldsem.c:366 #1: ffff0000ddd66098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: ldsem_down_write_nested+0x44/0x58 drivers/tty/tty_ldsem.c:427 #2: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 2 locks held by syz.2.109/4823: #0: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x21c/0x5a4 net/rfkill/core.c:1278 #1: ffff0000d4da6100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #1: ffff0000d4da6100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff0000d4da6100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x4c/0x2a8 net/nfc/core.c:179 2 locks held by syz.2.109/4835: #0: ffff0000d137e098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 1 lock held by syz.3.136/4989: #0: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 1 lock held by syz.4.177/5138: #0: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 2 locks held by syz-executor/5423: #0: ffff0000f349a118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5424: #0: ffff0000d1b10118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5432: #0: ffff0000dccfb918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5462: #0: ffff0000c4d49118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5463: #0: ffff0000dd7e9918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5466: #0: ffff0000f6371918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5473: #0: ffff0000dc68c918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5474: #0: ffff0000c40c1918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5478: #0: ffff0000d23ee118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179e02e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 =============================================