loop0: detected capacity change from 0 to 32768 ocfs2: Readonly device (7,0) detected. Cluster services will not be used for this mount. Recovery will be skipped. ocfs2: Mounting device (7,0) on (node local, slot 65535) with ordered data mode. ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 5341 at kernel/locking/mutex.c:577 __mutex_lock_common kernel/locking/mutex.c:577 [inline] WARNING: CPU: 0 PID: 5341 at kernel/locking/mutex.c:577 __mutex_lock+0x10ae/0x1340 kernel/locking/mutex.c:760 Modules linked in: CPU: 0 UID: 0 PID: 5341 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-09014-gd6084bb815c4 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:577 [inline] RIP: 0010:__mutex_lock+0x10ae/0x1340 kernel/locking/mutex.c:760 Code: 0f b6 04 28 84 c0 0f 85 71 02 00 00 83 3d dd 3b 2c 04 00 75 19 90 48 c7 c7 60 e0 8a 8b 48 c7 c6 00 e1 8a 8b e8 23 91 0e f6 90 <0f> 0b 90 90 90 e9 9a f0 ff ff 90 0f 0b 90 e9 56 f4 ff ff 90 0f 0b RSP: 0018:ffffc9000d4b7760 EFLAGS: 00010246 RAX: 55dd39116345f200 RBX: ffffc9000d4b7840 RCX: 0000000000100000 RDX: ffffc9000dd1a000 RSI: 00000000000007d3 RDI: 00000000000007d4 RBP: ffffc9000d4b7920 R08: ffff88801fc24253 R09: 1ffff11003f8484a R10: dffffc0000000000 R11: ffffed1003f8484b R12: ffff888033490df0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f0c0a92d6c0(0000) GS:ffff88808d26b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0bfe9ff000 CR3: 0000000034858000 CR4: 0000000000352ef0 Call Trace: ocfs2_trim_fs_lock_res_init+0x33/0x1c0 fs/ocfs2/dlmglue.c:703 ocfs2_trim_fs+0x129/0x2380 fs/ocfs2/alloc.c:7682 ocfs2_ioctl+0x694/0x750 fs/ocfs2/ioctl.c:936 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c09b8eb69 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:00007f0c0a92d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0c09db5fa0 RCX: 00007f0c09b8eb69 RDX: 0000200000000080 RSI: 00000000c0185879 RDI: 000000000000000b RBP: 00007f0c09c11df1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0c09db5fa0 R15: 00007ffc6b1e4258