BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 18170 Comm: syz.1.2745 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/23/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3844 [inline] validate_chain kernel/locking/lockdep.c:3865 [inline] __lock_acquire+0x2618/0x7280 kernel/locking/lockdep.c:5171 lock_acquire+0x210/0x63c kernel/locking/lockdep.c:5790 __fs_reclaim_acquire mm/page_alloc.c:4749 [inline] fs_reclaim_acquire+0x98/0x124 mm/page_alloc.c:4763 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook mm/slab.h:710 [inline] slab_alloc_node mm/slub.c:3279 [inline] __kmem_cache_alloc_node+0x54/0x318 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node+0xc8/0x184 mm/slab_common.c:943 kmalloc_node include/linux/slab.h:589 [inline] kzalloc_node include/linux/slab.h:710 [inline] crypto_alloc_tfmmem crypto/api.c:504 [inline] crypto_create_tfm_node+0x90/0x338 crypto/api.c:524 crypto_alloc_tfm_node+0x148/0x304 crypto/api.c:631 crypto_alloc_tfm crypto/internal.h:109 [inline] crypto_alloc_skcipher+0x40/0x54 crypto/skcipher.c:756 fscrypt_allocate_skcipher fs/crypto/keysetup.c:91 [inline] fscrypt_prepare_key+0x98/0x34c fs/crypto/keysetup.c:144 fscrypt_set_per_file_enc_key fs/crypto/keysetup.c:170 [inline] fscrypt_setup_v2_file_key+0x270/0x578 fs/crypto/keysetup.c:359 setup_file_encryption_key fs/crypto/keysetup.c:470 [inline] fscrypt_setup_encryption_info+0x4fc/0x990 fs/crypto/keysetup.c:550 fscrypt_prepare_new_inode+0x1c8/0x2a4 fs/crypto/keysetup.c:695 f2fs_new_inode+0x3fc/0xd08 fs/f2fs/namei.c:226 f2fs_mkdir+0x118/0x4d0 fs/f2fs/namei.c:701 vfs_mkdir+0x314/0x4d8 fs/namei.c:4157 do_mkdirat+0x1b8/0x3ec fs/namei.c:4182 __do_sys_mkdirat fs/namei.c:4197 [inline] __se_sys_mkdirat fs/namei.c:4195 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4195 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585