usblp 1-1:1.0: usblp0: USB Unidirectional printer dev 3 if 0 alt 2 proto 1 vid 0x0525 pid 0xA4A8 usb 1-1: USB disconnect, device number 3 ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 18029 at kernel/locking/lockdep.c:2077 print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2077 Modules linked in: CPU: 0 PID: 18029 Comm: kworker/0:7 Not tainted 6.4.0-rc1-syzkaller-00108-g19b3cf44e18c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2077 Code: 84 00 00 00 00 00 66 90 55 89 fd 53 e8 57 dc 04 01 89 c3 e8 60 fd ff ff 85 db 74 10 89 ee 48 c7 c7 a0 94 67 86 e8 7e 64 ea ff <0f> 0b 5b 5d c3 66 0f 1f 84 00 00 00 00 00 53 31 c9 31 d2 31 f6 48 RSP: 0018:ffffc900059c70f0 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000c4bb000 RDX: 0000000000040000 RSI: ffffffff81163677 RDI: 0000000000000001 RBP: 00000000ffffffff R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000528090 R12: ffff8881093ec598 R13: 0000000000000102 R14: ffffc900059c7218 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d925000 CR3: 000000010e766000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_irq_usage+0x56c/0x1a40 kernel/locking/lockdep.c:2845 check_prev_add kernel/locking/lockdep.c:3112 [inline] check_prevs_add kernel/locking/lockdep.c:3227 [inline] validate_chain kernel/locking/lockdep.c:3842 [inline] __lock_acquire+0x2f39/0x5df0 kernel/locking/lockdep.c:5074 lock_acquire kernel/locking/lockdep.c:5691 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5656 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] klist_release+0x169/0x480 lib/klist.c:190 kref_put include/linux/kref.h:65 [inline] klist_dec_and_del lib/klist.c:206 [inline] klist_put+0x151/0x1d0 lib/klist.c:217 device_del+0x351/0xa30 drivers/base/core.c:3808 device_unregister+0x1e/0xc0 drivers/base/core.c:3844 device_destroy+0x9a/0xd0 drivers/base/core.c:4404 usb_deregister_dev+0x9d/0x320 drivers/usb/core/file.c:237 usblp_disconnect+0x4a/0x330 drivers/usb/class/usblp.c:1396 usb_unbind_interface+0x1dc/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:569 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:561 __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x443/0x610 drivers/base/dd.c:1295 bus_remove_device+0x22c/0x420 drivers/base/bus.c:574 device_del+0x399/0xa30 drivers/base/core.c:3814 usb_disable_device+0x360/0x7b0 drivers/usb/core/message.c:1420 usb_disconnect+0x2db/0x8a0 drivers/usb/core/hub.c:2238 hub_port_connect drivers/usb/core/hub.c:5246 [inline] hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] port_event drivers/usb/core/hub.c:5711 [inline] hub_event+0x2073/0x4ed0 drivers/usb/core/hub.c:5793 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 process_scheduled_works kernel/workqueue.c:2468 [inline] worker_thread+0x881/0x10c0 kernel/workqueue.c:2554 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308