------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 1 PID: 1186 at kernel/locking/lockdep.c:1960 print_bfs_bug+0x130/0x1e0 kernel/locking/lockdep.c:1960 Modules linked in: CPU: 1 PID: 1186 Comm: khugepaged Not tainted 5.9.0-rc7-next-20200930-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:print_bfs_bug+0x130/0x1e0 kernel/locking/lockdep.c:1960 Code: e2 08 00 74 2c 48 c7 c7 c0 7f 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 7b e5 c0 06 <0f> 0b 5b 5d 41 5c c3 0f 0b e8 62 82 e9 06 85 c0 74 d7 48 c7 c0 38 RSP: 0018:ffffc90004e16b90 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880a660c380 RSI: ffffffff815df1a5 RDI: fffff520009c2d64 RBP: 00000000ffffffff R08: 0000000000000001 R09: ffff8880ae520f8b R10: 0000000000000000 R11: 207065646b636f6c R12: ffff8880a660c380 R13: dffffc0000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002a0ea98 CR3: 000000008ecc7000 CR4: 00000000001526e0 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 destroy_inode+0x129/0x1b0 fs/inode.c:289 iput_final fs/inode.c:1654 [inline] iput.part.0+0x3fe/0x820 fs/inode.c:1680 iput+0x58/0x70 fs/inode.c:1670 dentry_unlink_inode+0x2b1/0x3d0 fs/dcache.c:374 __dentry_kill+0x3c0/0x640 fs/dcache.c:579 shrink_dentry_list+0x144/0x480 fs/dcache.c:1141 prune_dcache_sb+0xe7/0x140 fs/dcache.c:1222 super_cache_scan+0x336/0x590 fs/super.c:105 do_shrink_slab+0x3c6/0x9c0 mm/vmscan.c:513 shrink_slab+0x16f/0x5d0 mm/vmscan.c:674 shrink_node_memcgs mm/vmscan.c:2653 [inline] shrink_node+0x8a2/0x1d60 mm/vmscan.c:2768 shrink_zones mm/vmscan.c:2971 [inline] do_try_to_free_pages+0x38b/0x1440 mm/vmscan.c:3026 try_to_free_pages+0x29f/0x720 mm/vmscan.c:3265 __perform_reclaim mm/page_alloc.c:4269 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:4290 [inline] __alloc_pages_slowpath.constprop.0+0xa03/0x27e0 mm/page_alloc.c:4694 __alloc_pages_nodemask+0x5f0/0x730 mm/page_alloc.c:4904 __alloc_pages include/linux/gfp.h:511 [inline] __alloc_pages_node include/linux/gfp.h:524 [inline] khugepaged_alloc_page+0xa0/0x170 mm/khugepaged.c:870 collapse_huge_page mm/khugepaged.c:1062 [inline] khugepaged_scan_pmd mm/khugepaged.c:1352 [inline] khugepaged_scan_mm_slot mm/khugepaged.c:2111 [inline] khugepaged_do_scan mm/khugepaged.c:2194 [inline] khugepaged+0x303b/0x5690 mm/khugepaged.c:2239 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296