INFO: task kworker/1:2:877 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:0 pid:877 tgid:877 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: usb_hub_wq hub_event Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5583 [inline] __schedule+0x1368/0x2b50 kernel/sched/core.c:7382 __schedule_loop kernel/sched/core.c:7459 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7474 schedule_timeout+0xc0/0x28c kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common kernel/sched/completion.c:132 [inline] wait_for_completion+0x178/0x2c8 kernel/sched/completion.c:153 pn533_acr122_poweron_rdr drivers/nfc/pn533/usb.c:421 [inline] pn533_usb_probe+0x8bc/0xcf0 drivers/nfc/pn533/usb.c:546 usb_probe_interface+0x374/0x7fc drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x29c/0x800 drivers/base/dd.c:707 __driver_probe_device+0x1e0/0x350 drivers/base/dd.c:869 driver_probe_device+0x6c/0x19c drivers/base/dd.c:899 __device_attach_driver+0x198/0x2f8 drivers/base/dd.c:1027 bus_for_each_drv+0x144/0x1dc drivers/base/bus.c:500 __device_attach+0x248/0x378 drivers/base/dd.c:1131 device_initial_probe+0x8c/0xf4 drivers/base/dd.c:1190 __bus_probe_device+0x58/0x120 drivers/base/bus.c:614 bus_probe_device+0x20/0x30 drivers/base/bus.c:632 device_add+0x6cc/0x9e0 drivers/base/core.c:3778 usb_set_configuration+0x1184/0x158c drivers/usb/core/message.c:2280 usb_generic_driver_probe+0x8c/0x148 drivers/usb/core/generic.c:250 usb_probe_device+0x114/0x2b0 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x29c/0x800 drivers/base/dd.c:707 __driver_probe_device+0x1e0/0x350 drivers/base/dd.c:869 driver_probe_device+0x6c/0x19c drivers/base/dd.c:899 __device_attach_driver+0x198/0x2f8 drivers/base/dd.c:1027 bus_for_each_drv+0x144/0x1dc drivers/base/bus.c:500 __device_attach+0x248/0x378 drivers/base/dd.c:1131 device_initial_probe+0x8c/0xf4 drivers/base/dd.c:1190 __bus_probe_device+0x58/0x120 drivers/base/bus.c:614 bus_probe_device+0x20/0x30 drivers/base/bus.c:632 device_add+0x6cc/0x9e0 drivers/base/core.c:3778 usb_new_device+0x9c4/0x11f8 drivers/usb/core/hub.c:2713 hub_port_connect drivers/usb/core/hub.c:5585 [inline] hub_port_connect_change drivers/usb/core/hub.c:5725 [inline] port_event drivers/usb/core/hub.c:5889 [inline] hub_event+0x1ef0/0x39fc drivers/usb/core/hub.c:5971 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 INFO: task syz.0.17:4990 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.17 state:D stack:0 pid:4990 tgid:4990 ppid:4885 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5583 [inline] __schedule+0x1368/0x2b50 kernel/sched/core.c:7382 __schedule_loop kernel/sched/core.c:7459 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7474 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7531 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x5d8/0x10b8 kernel/locking/mutex.c:821 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:874 device_lock include/linux/device.h:1109 [inline] usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 chrdev_open+0x398/0x3e8 fs/char_dev.c:413 do_dentry_open+0x5bc/0xfb4 fs/open.c:1000 vfs_open_consume+0x54/0x2ec fs/open.c:1131 do_open fs/namei.c:4851 [inline] path_openat+0x1098/0x1910 fs/namei.c:5016 do_file_open+0x1c8/0x2e8 fs/namei.c:5045 do_sys_openat2+0x114/0x1ec fs/open.c:1442 do_sys_open+0xb0/0xe0 fs/open.c:1448 __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __arm64_sys_openat+0xa8/0xc4 fs/open.c:1459 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:796 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:815 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Showing all locks held in the system: locks held by kworker/0:0/9: 3, last CPU#0: #0: ffff0000d7d87148 ((wq_completion)wg-crypt-wg1#10){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000d7d87148 ((wq_completion)wg-crypt-wg1#10){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff80008fa17c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:218 [inline] #1: ffff80008fa17c20 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: __schedule+0x2330/0x2b50 kernel/sched/core.c:7376 #2: ffff0000d2965160 (&r->consumer_lock){+.+.}-{3:3}, at: spin_lock_bh include/linux/spinlock.h:353 [inline] #2: ffff0000d2965160 (&r->consumer_lock){+.+.}-{3:3}, at: ptr_ring_consume_bh include/linux/ptr_ring.h:397 [inline] #2: ffff0000d2965160 (&r->consumer_lock){+.+.}-{3:3}, at: wg_packet_decrypt_worker+0x63c/0xa00 drivers/net/wireguard/receive.c:499 locks held by khungtaskd/31: 1, last CPU#1: #0: ffff800089aa5660 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089aa5660 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089aa5660 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871 locks held by kworker/1:2/877: 5, on CPU#1: #0: ffff0000c380cd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c380cd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800093ac7c20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800093ac7c20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #2: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x128/0x39fc drivers/usb/core/hub.c:5917 #3: ffff0000db8b91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #3: ffff0000db8b91d8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x378 drivers/base/dd.c:1106 #4: ffff0000d2e981a0 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #4: ffff0000d2e981a0 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x378 drivers/base/dd.c:1106 locks held by getty/4492: 2, on CPU#0: #0: ffff0000d16c90a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000932bb2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x350/0xffc drivers/tty/n_tty.c:2211 locks held by syz.0.17/4990: 1, on CPU#1: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.1.18/5044: 1, on CPU#0: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.2.19/5082: 1, on CPU#0: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.3.20/5121: 1, on CPU#0: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.4.21/5168: 1, on CPU#0: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.5.22/5214: 1, on CPU#0: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.6.23/5257: 1, on CPU#0: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.7.24/5301: 1, on CPU#1: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.8.25/5350: 1, on CPU#1: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz.9.26/5395: 1, on CPU#1: #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #0: ffff0000ca4c91d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x670 drivers/usb/core/devio.c:1054 locks held by syz-executor/5398: 6, last CPU#0: #0: ffff0000d13a0478 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2762 [inline] #0: ffff0000d13a0478 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x248/0xa0c fs/read_write.c:683 #1: ffff0000d9983880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b0/0x3b8 fs/kernfs/file.c:336 #2: ffff0000ca1ceb48 (kn->active#55){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff0000ca1ceb48 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f0/0x3b8 fs/kernfs/file.c:337 #3: ffff80008a3ad420 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd8/0x2d4 drivers/net/netdevsim/bus.c:233 #4: ffff0000cbd3a128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #4: ffff0000cbd3a128 (&dev->mutex){....}-{4:4}, at: __device_driver_lock+0x94/0xcc drivers/base/dd.c:1046 #5: ffff0000cbd39258 (&devlink->lock_key#2){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:314 =============================================