BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 0 PID: 24039 Comm: syz-executor.2 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 alloc_list_entry kernel/locking/lockdep.c:1353 [inline] add_lock_to_list.constprop.0.cold+0x11/0x18 kernel/locking/lockdep.c:1374 check_prev_add kernel/locking/lockdep.c:3007 [inline] check_prevs_add kernel/locking/lockdep.c:3060 [inline] validate_chain kernel/locking/lockdep.c:3675 [inline] __lock_acquire+0x2f37/0x54c0 kernel/locking/lockdep.c:4901 lock_acquire kernel/locking/lockdep.c:5511 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5476 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 free_percpu mm/percpu.c:2097 [inline] free_percpu+0x37/0xae0 mm/percpu.c:2081 sbitmap_queue_free include/linux/sbitmap.h:372 [inline] blk_mq_free_tags+0xab/0x220 block/blk-mq-tag.c:533 blk_mq_sched_tags_teardown block/blk-mq-sched.c:541 [inline] blk_mq_exit_sched+0x2e1/0x460 block/blk-mq-sched.c:633 __elevator_exit+0x28/0x40 block/elevator.c:194 blk_exit_queue block/blk-sysfs.c:753 [inline] blk_release_queue+0x25e/0x4d0 block/blk-sysfs.c:814 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c8/0x540 lib/kobject.c:753 disk_release+0x1cd/0x250 block/genhd.c:1215 device_release+0x9f/0x240 drivers/base/core.c:2108 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c8/0x540 lib/kobject.c:753 put_device+0x1b/0x30 drivers/base/core.c:3341 put_disk+0x44/0x60 block/genhd.c:1415 loop_remove drivers/block/loop.c:2193 [inline] loop_control_ioctl drivers/block/loop.c:2290 [inline] loop_control_ioctl+0x46e/0x4f0 drivers/block/loop.c:2250 __do_compat_sys_ioctl+0x1d3/0x230 fs/ioctl.c:842 do_syscall_32_irqs_on arch/x86/entry/common.c:77 [inline] __do_fast_syscall_32+0x56/0x90 arch/x86/entry/common.c:140 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:165 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fb3549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55ad5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000004c81 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000