------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 7504 at kernel/locking/lockdep.c:1960 print_bfs_bug+0x130/0x1e0 kernel/locking/lockdep.c:1960 Modules linked in: CPU: 0 PID: 7504 Comm: kworker/u4:1 Not tainted 5.9.0-rc7-next-20200929-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:print_bfs_bug+0x130/0x1e0 kernel/locking/lockdep.c:1960 Code: e2 08 00 74 2c 48 c7 c7 c0 af a6 8d e8 49 51 01 00 66 90 85 db 75 05 5b 5d 41 5c c3 89 ee 48 c7 c7 20 e8 ab 88 e8 cb 15 c1 06 <0f> 0b 5b 5d 41 5c c3 0f 0b e8 b2 ba e9 06 85 c0 74 d7 48 c7 c0 78 RSP: 0018:ffffc900065e7098 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88804a8a64c0 RSI: ffffffff815df155 RDI: fffff52000cbce05 RBP: 00000000ffffffff R08: 0000000000000001 R09: ffff8880ae420f8b R10: 0000000000000000 R11: 207065646b636f6c R12: ffff88804a8a64c0 R13: dffffc0000000000 R14: 0000000000000006 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32e21000 CR3: 0000000089810000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_irq_usage+0x6b4/0xc60 kernel/locking/lockdep.c:2585 check_prev_add kernel/locking/lockdep.c:2823 [inline] check_prevs_add kernel/locking/lockdep.c:2944 [inline] validate_chain kernel/locking/lockdep.c:3562 [inline] __lock_acquire+0x2873/0x56d0 kernel/locking/lockdep.c:4796 lock_acquire+0x1f2/0xaa0 kernel/locking/lockdep.c:5398 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 alloc_object lib/debugobjects.c:239 [inline] __debug_object_init+0x5c6/0xd10 lib/debugobjects.c:548 debug_object_init lib/debugobjects.c:595 [inline] debug_object_activate+0x32c/0x3e0 lib/debugobjects.c:681 debug_rcu_head_queue kernel/rcu/rcu.h:176 [inline] __call_rcu kernel/rcu/tree.c:2943 [inline] call_rcu+0x2c/0x7d0 kernel/rcu/tree.c:3030 radix_tree_node_free lib/radix-tree.c:309 [inline] delete_node+0xef/0x8c0 lib/radix-tree.c:572 __radix_tree_delete+0x190/0x370 lib/radix-tree.c:1378 radix_tree_delete_item+0xe7/0x230 lib/radix-tree.c:1429 kernfs_put.part.0+0x294/0x540 fs/kernfs/dir.c:535 kernfs_put+0x42/0x50 fs/kernfs/dir.c:511 __kernfs_remove+0x6ef/0xa30 fs/kernfs/dir.c:1344 kernfs_remove_by_name_ns+0x51/0xb0 fs/kernfs/dir.c:1516 kernfs_remove_by_name include/linux/kernfs.h:593 [inline] remove_files+0x96/0x1c0 fs/sysfs/group.c:28 sysfs_remove_group+0x87/0x170 fs/sysfs/group.c:289 ib_free_port_attrs+0x31f/0x5b0 drivers/infiniband/core/sysfs.c:1342 remove_one_compat_dev drivers/infiniband/core/device.c:946 [inline] rdma_dev_exit_net+0x2fe/0x540 drivers/infiniband/core/device.c:1084 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:186 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:603 process_one_work+0x933/0x15a0 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296