BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 9128 Comm: kworker/u4:2 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: loop0 loop_rootcg_workfn Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 add_chain_cache kernel/locking/lockdep.c:3637 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3736 [inline] validate_chain kernel/locking/lockdep.c:3757 [inline] __lock_acquire.cold+0x372/0x3ab kernel/locking/lockdep.c:5015 lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] __sb_start_write include/linux/fs.h:1812 [inline] sb_start_write include/linux/fs.h:1882 [inline] file_start_write include/linux/fs.h:3008 [inline] lo_write_bvec+0x3b6/0x6d0 drivers/block/loop.c:327 lo_write_simple drivers/block/loop.c:350 [inline] do_req_filebacked drivers/block/loop.c:668 [inline] loop_handle_cmd drivers/block/loop.c:2201 [inline] loop_process_work+0xc60/0x24e0 drivers/block/loop.c:2241 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295