BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 8791 Comm: syz.3.214 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lookup_chain_cache_add kernel/locking/lockdep.c:3851 [inline] validate_chain kernel/locking/lockdep.c:3872 [inline] __lock_acquire+0x1fb8/0x77c8 kernel/locking/lockdep.c:5202 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5825 do_write_seqcount_begin_nested include/linux/seqlock.h:454 [inline] do_write_seqcount_begin include/linux/seqlock.h:480 [inline] psi_group_change+0x270/0x11d8 kernel/sched/psi.c:792 psi_task_change+0xf4/0x228 kernel/sched/psi.c:912 psi_enqueue kernel/sched/stats.h:158 [inline] enqueue_task+0x1d0/0x204 kernel/sched/core.c:2029 activate_task kernel/sched/core.c:2067 [inline] ttwu_do_activate+0x19c/0x688 kernel/sched/core.c:3680 ttwu_queue kernel/sched/core.c:3953 [inline] try_to_wake_up+0x6a4/0x1274 kernel/sched/core.c:4281 wake_up_process+0x18/0x24 kernel/sched/core.c:4414 kick_pool+0x3f0/0x59c kernel/workqueue.c:1279 __queue_work+0xe28/0x1308 kernel/workqueue.c:2340 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390 queue_work include/linux/workqueue.h:662 [inline] loop_queue_work drivers/block/loop.c:902 [inline] loop_queue_rq+0x974/0xadc drivers/block/loop.c:1877 __blk_mq_issue_directly block/blk-mq.c:2573 [inline] blk_mq_request_issue_directly+0x31c/0x568 block/blk-mq.c:2658 blk_mq_plug_issue_direct+0x200/0x4ec block/blk-mq.c:2679 blk_mq_flush_plug_list+0x650/0x1350 block/blk-mq.c:2791 __blk_flush_plug+0x388/0x460 block/blk-core.c:1199 blk_finish_plug block/blk-core.c:1226 [inline] __submit_bio+0x39c/0x4c4 block/blk-core.c:623 __submit_bio_noacct_mq block/blk-core.c:696 [inline] submit_bio_noacct_nocheck+0x3ac/0xca8 block/blk-core.c:725 submit_bio_noacct+0xc6c/0x166c block/blk-core.c:854 submit_bio+0x374/0x564 block/blk-core.c:896 submit_bh_wbc+0x3f8/0x4c8 fs/buffer.c:2819 submit_bh+0x30/0x40 fs/buffer.c:2824 nilfs_mdt_submit_block+0x3b0/0x8f0 fs/nilfs2/mdt.c:150 nilfs_mdt_read_block+0xe4/0x3d8 fs/nilfs2/mdt.c:175 nilfs_mdt_get_block+0x110/0xae8 fs/nilfs2/mdt.c:250 nilfs_palloc_get_block+0x170/0x2c4 fs/nilfs2/alloc.c:217 nilfs_palloc_get_desc_block fs/nilfs2/alloc.c:266 [inline] nilfs_palloc_prepare_alloc_entry+0x348/0x1158 fs/nilfs2/alloc.c:529 nilfs_dat_prepare_alloc+0x34/0x128 fs/nilfs2/dat.c:78 nilfs_bmap_prepare_alloc_ptr fs/nilfs2/bmap.h:195 [inline] nilfs_direct_insert+0x178/0x458 fs/nilfs2/direct.c:127 nilfs_bmap_do_insert fs/nilfs2/bmap.c:129 [inline] nilfs_bmap_insert+0x1f8/0x35c fs/nilfs2/bmap.c:155 nilfs_get_block+0x33c/0x7ec fs/nilfs2/inode.c:98 __block_write_begin_int+0x580/0x166c fs/buffer.c:2121 block_write_begin+0xa0/0x11c fs/buffer.c:2231 nilfs_write_begin+0xa8/0x114 fs/nilfs2/inode.c:259 generic_perform_write+0x29c/0x868 mm/filemap.c:4054 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4155 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:4181 iter_file_splice_write+0x898/0xfdc fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0xec/0x1d8 fs/splice.c:1164 splice_direct_to_actor+0x438/0xa0c fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x1e4/0x304 fs/splice.c:1233 do_sendfile+0x46c/0xbd0 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1455 [inline] __se_sys_sendfile64 fs/read_write.c:1441 [inline] __arm64_sys_sendfile64+0x148/0x3a4 fs/read_write.c:1441 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600