usb 1-1: reset high-speed USB device number 2 using dummy_hcd zd1211rw 1-1:1.203: phy0 zd1211rw 1-1:1.203: error ioread32(CR_REG1): -11 usb 1-1: reset high-speed USB device number 2 using dummy_hcd zd1211rw 1-1:1.73: phy1 zd1211rw 1-1:1.203: error ioread32(CR_REG1): -11 ============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- kworker/0:1/11 is trying to acquire lock: ffff88811c1e5e00 (&chip->mutex){+.+.}-{4:4}, at: zd_chip_disable_rxtx+0x1f/0x50 drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1465 but task is already holding lock: ffff88811c24de00 (&chip->mutex){+.+.}-{4:4}, at: pre_reset+0x20b/0x280 drivers/net/wireless/zydas/zd1211rw/zd_usb.c:1505 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&chip->mutex); lock(&chip->mutex); *** DEADLOCK *** May be due to missing lock nesting notation 6 locks held by kworker/0:1/11: #0: ffff888103aa7d40 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900000bfd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 #2: ffff88810ab5b1d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1102 [inline] #2: ffff88810ab5b1d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899 #3: ffff88811b6871d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1102 [inline] #3: ffff88811b6871d8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1073 #4: ffff88811bf7b1a0 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1102 [inline] #4: ffff88811bf7b1a0 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1073 #5: ffff88811c24de00 (&chip->mutex){+.+.}-{4:4}, at: pre_reset+0x20b/0x280 drivers/net/wireless/zydas/zd1211rw/zd_usb.c:1505 stack backtrace: CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_deadlock_bug.cold+0xbd/0xca kernel/locking/lockdep.c:3041 check_deadlock kernel/locking/lockdep.c:3093 [inline] validate_chain kernel/locking/lockdep.c:3895 [inline] __lock_acquire+0x1256/0x1a40 kernel/locking/lockdep.c:5237 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x1b9/0x370 kernel/locking/lockdep.c:5825 __mutex_lock_common kernel/locking/mutex.c:646 [inline] __mutex_lock+0x1a4/0x1bd0 kernel/locking/mutex.c:821 zd_chip_disable_rxtx+0x1f/0x50 drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1465 zd_op_stop+0x6b/0x1a0 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:343 zd_usb_stop drivers/net/wireless/zydas/zd1211rw/zd_usb.c:1480 [inline] pre_reset+0x191/0x280 drivers/net/wireless/zydas/zd1211rw/zd_usb.c:1503 usb_reset_device+0x3f1/0xaa0 drivers/usb/core/hub.c:6399 probe+0x118/0x5d0 drivers/net/wireless/zydas/zd1211rw/zd_usb.c:1372 usb_probe_interface+0x303/0x8f0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x20e/0x450 drivers/base/dd.c:868 driver_probe_device+0x4a/0x140 drivers/base/dd.c:898 __device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500 __device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098 device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x64/0x160 drivers/base/bus.c:620 device_add+0x121d/0x1970 drivers/base/core.c:3772 usb_set_configuration+0xd97/0x1c60 drivers/usb/core/message.c:2268 usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250 usb_probe_device+0xef/0x400 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x20e/0x450 drivers/base/dd.c:868 driver_probe_device+0x4a/0x140 drivers/base/dd.c:898 __device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500 __device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098 device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x64/0x160 drivers/base/bus.c:620 device_add+0x121d/0x1970 drivers/base/core.c:3772 usb_new_device.cold+0x685/0x115c drivers/usb/core/hub.c:2695 hub_port_connect drivers/usb/core/hub.c:5567 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x314d/0x4af0 drivers/usb/core/hub.c:5953 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 zd1211rw 1-1:1.73: error ioread32(CR_REG1): -11 usb 1-1: reset high-speed USB device number 2 using dummy_hcd ieee80211 phy2: Selected rate control algorithm 'minstrel_ht' zd1211rw 1-1:1.242: phy2 zd1211rw 1-1:1.203: error ioread32(CR_REG1): -11 zd1211rw 1-1:1.73: error ioread32(CR_REG1): -11 zd1211rw 1-1:1.242: error ioread32(CR_REG1): -11 usb 1-1: reset high-speed USB device number 2 using dummy_hcd ieee80211 phy3: Selected rate control algorithm 'minstrel_ht' zd1211rw 1-1:1.14: phy3