INFO: task udevd:3934 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:0 pid:3934 ppid:1 flags:0x00000004 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:840 [inline] uevent_show+0x16c/0x32c drivers/base/core.c:2669 dev_attr_show+0x60/0xcc drivers/base/core.c:2372 sysfs_kf_seq_show+0x2c8/0x434 fs/sysfs/file.c:59 kernfs_seq_show+0x150/0x1fc fs/kernfs/file.c:223 seq_read_iter+0x3ac/0xc00 fs/seq_file.c:230 kernfs_fop_read_iter+0x140/0x5f0 fs/kernfs/file.c:297 call_read_iter include/linux/fs.h:2259 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x5ac/0x7c4 fs/read_write.c:470 ksys_read+0x120/0x210 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __arm64_sys_read+0x7c/0x90 fs/read_write.c:621 __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 kworker/0:12:4706 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:4706 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.2.169:4955 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.169 state:D stack:0 pid:4955 ppid:4331 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 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 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2038/0x2b28 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.4.172:4962 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.172 state:D stack:0 pid:4962 ppid:4318 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:840 [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 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015297870 (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: ffff800015298090 (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: ffff800015296f00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by udevd/3934: #0: ffff0000d5e2c668 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xa8/0xc00 fs/seq_file.c:182 #1: ffff0000d2e0fc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x3c0 fs/kernfs/file.c:172 #2: ffff0000f37d1918 (kn->active#4){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000f37d1918 (kn->active#4){.+.+}-{0:0}, at: kernfs_seq_start+0xa4/0x3c0 fs/kernfs/file.c:173 #3: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #3: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: uevent_show+0x16c/0x32c drivers/base/core.c:2669 2 locks held by getty/4079: #0: ffff0000d646d098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80002079b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 1 lock held by syz-executor/4322: #0: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 2 locks held by kworker/0:10/4703: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000214f7c20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 3 locks held by kworker/0:12/4706: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021757c20 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x30/0xe4 net/rfkill/core.c:181 2 locks held by syz.2.169/4955: #0: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #0: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x68/0x288 net/nfc/core.c:1165 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x208 net/rfkill/core.c:1130 2 locks held by syz.4.172/4962: #0: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x21c/0x5a4 net/rfkill/core.c:1278 #1: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #1: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff0000c4ea5100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x4c/0x2a8 net/nfc/core.c:179 2 locks held by kworker/0:13/5266: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000219e7c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 2 locks held by syz-executor/5640: #0: ffff0000dc8c9918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/5641: #0: ffff0000d5849918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 1 lock held by syz.1.644/6194: #0: ffff80001529cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffff80001529cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x264/0x6f0 kernel/rcu/tree_exp.h:962 2 locks held by syz-executor/6275: #0: ffff0000dce7b118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/7015: #0: ffff0000f3f50918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/7016: #0: ffff0000f4391118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/7463: #0: ffff0000dc588118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/7793: #0: ffff0000f5571918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 2 locks held by syz-executor/7794: #0: ffff0000f5572118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x3c/0x6cc drivers/bluetooth/hci_vhci.c:378 #1: ffff8000179dfa28 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x44/0x77c net/rfkill/core.c:1057 =============================================