loop2: detected capacity change from 0 to 1024 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use)) WARNING: kernel/locking/lockdep.c:5207 at __lock_acquire+0x183b/0x2890 kernel/locking/lockdep.c:5207, CPU#0: syz.2.15272/17180 Modules linked in: CPU: 0 UID: 0 PID: 17180 Comm: syz.2.15272 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__lock_acquire+0x1842/0x2890 kernel/locking/lockdep.c:5207 Code: 89 0e 03 85 c0 74 0d 83 3d ba 4a ef 0e 00 0f 84 e7 0a 00 00 90 31 c0 e9 5a fa ff ff 48 8d 3d 55 65 f2 0e 48 c7 c6 78 b3 bd 8d <67> 48 0f b9 3a e9 b4 ec ff ff 44 8b 0d 8d 4a ef 0e 45 85 c9 0f 85 RSP: 0018:ffffc900203cf6f0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000d3d9000 RDX: 0000000000080000 RSI: ffffffff8dbdb378 RDI: ffffffff908c4c00 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888047dd4830 R12: ffff888047dd3d00 R13: 0000000000000004 R14: ffff888047dd4830 R15: 0000000000000001 FS: 00007fc5673f66c0(0000) GS:ffff8881248f2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000005140 CR3: 000000007c48e000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x179/0x330 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] ocfs2_is_hard_readonly fs/ocfs2/ocfs2.h:665 [inline] ocfs2_inode_lock_full_nested+0x101/0x1f40 fs/ocfs2/dlmglue.c:2446 ocfs2_inode_lock_tracker+0x20f/0x6e0 fs/ocfs2/dlmglue.c:2691 ocfs2_permission+0xcf/0x1c0 fs/ocfs2/file.c:1355 do_inode_permission fs/namei.c:526 [inline] inode_permission+0x400/0x640 fs/namei.c:596 xattr_permission+0x1ad/0x240 fs/xattr.c:155 vfs_getxattr+0xa4/0x290 fs/xattr.c:434 do_getxattr+0x259/0x360 fs/xattr.c:787 filename_getxattr+0xe9/0x1a0 fs/xattr.c:817 path_getxattrat+0x203/0x2d0 fs/xattr.c:859 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc56918f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc5673f6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bf RAX: ffffffffffffffda RBX: 00007fc5693e5fa0 RCX: 00007fc56918f749 RDX: 0000000000000000 RSI: 0000200000000b00 RDI: 0000200000005140 RBP: 00007fc569213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc5693e6038 R14: 00007fc5693e5fa0 R15: 00007ffe39e83ee8 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: 85 c0 test %eax,%eax 2: 74 0d je 0x11 4: 83 3d ba 4a ef 0e 00 cmpl $0x0,0xeef4aba(%rip) # 0xeef4ac5 b: 0f 84 e7 0a 00 00 je 0xaf8 11: 90 nop 12: 31 c0 xor %eax,%eax 14: e9 5a fa ff ff jmp 0xfffffa73 19: 48 8d 3d 55 65 f2 0e lea 0xef26555(%rip),%rdi # 0xef26575 20: 48 c7 c6 78 b3 bd 8d mov $0xffffffff8dbdb378,%rsi * 27: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2c: e9 b4 ec ff ff jmp 0xffffece5 31: 44 8b 0d 8d 4a ef 0e mov 0xeef4a8d(%rip),%r9d # 0xeef4ac5 38: 45 85 c9 test %r9d,%r9d 3b: 0f .byte 0xf 3c: 85 .byte 0x85