BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 2 PID: 28615 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller-00061-g34e047aa16c0 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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:3649 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3748 [inline] validate_chain kernel/locking/lockdep.c:3769 [inline] __lock_acquire.cold+0x229/0x3a9 kernel/locking/lockdep.c:5027 lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] mb_cache_entry_create+0x57e/0x9c0 fs/mbcache.c:111 ext4_xattr_block_cache_insert fs/ext4/xattr.c:2964 [inline] ext4_xattr_block_set+0x2720/0x2f80 fs/ext4/xattr.c:2112 ext4_xattr_set_handle+0xd79/0x1500 fs/ext4/xattr.c:2379 ext4_xattr_set+0x13a/0x340 fs/ext4/xattr.c:2480 __vfs_setxattr+0x115/0x180 fs/xattr.c:180 __vfs_setxattr_noperm+0x125/0x5f0 fs/xattr.c:214 __vfs_setxattr_locked+0x1cf/0x260 fs/xattr.c:275 vfs_setxattr+0x13f/0x330 fs/xattr.c:301 setxattr+0x218/0x2b0 fs/xattr.c:575 path_setxattr+0x197/0x1c0 fs/xattr.c:595 __do_sys_setxattr fs/xattr.c:611 [inline] __se_sys_setxattr fs/xattr.c:607 [inline] __ia32_sys_setxattr+0xbc/0x150 fs/xattr.c:607 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6edc549 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:00000000f58d65cc EFLAGS: 00000296 ORIG_RAX: 00000000000000e2 RAX: ffffffffffffffda RBX: 0000000020000140 RCX: 00000000200002c0 RDX: 00000000200022c0 RSI: 000000000000062d RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi