------------[ cut here ]------------ WARNING: CPU: 2 PID: 1087 at kernel/rcu/srcutree.c:653 cleanup_srcu_struct+0x37c/0x520 kernel/rcu/srcutree.c:653 Modules linked in: CPU: 2 PID: 1087 Comm: kworker/u32:6 Not tainted 6.10.0-rc5-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: ib-unreg-wq ib_unregister_work RIP: 0010:cleanup_srcu_struct+0x37c/0x520 kernel/rcu/srcutree.c:653 Code: 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 90 0f 0b 90 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 90 <0f> 0b 90 e9 35 ff ff ff 90 0f 0b 90 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90006cefb00 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88802a834060 RCX: 0000000000000008 RDX: fffff91ffffa9154 RSI: 0000000000000008 RDI: ffffe8ffffd48a98 RBP: ffff888063dbe800 R08: 0000000000000000 R09: fffff91ffffa9153 R10: ffffe8ffffd48a9f R11: 0000000000000003 R12: ffff88802a8345f0 R13: dffffc0000000000 R14: ffff888018d3bc40 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002cf27000 CR3: 0000000058562000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000fee0000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ib_uverbs_release_dev+0x48/0x80 drivers/infiniband/core/uverbs_main.c:136 device_release+0xa1/0x240 drivers/base/core.c:2581 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1fa/0x5b0 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3787 remove_client_context+0xbf/0x120 drivers/infiniband/core/device.c:776 disable_device+0x13b/0x280 drivers/infiniband/core/device.c:1282 __ib_unregister_device+0x93/0x190 drivers/infiniband/core/device.c:1475 ib_unregister_work+0x19/0x30 drivers/infiniband/core/device.c:1586 process_one_work+0x958/0x1ad0 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244