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. (syz.0.0,5319,0):ocfs2_get_dentry:64 ERROR: getting nfs sync lock(EX) failed -30 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:625 at __mutex_lock_common kernel/locking/mutex.c:625 [inline], CPU#0: syz.0.0/5319 WARNING: kernel/locking/mutex.c:625 at __mutex_lock+0x12e2/0x1550 kernel/locking/mutex.c:821, CPU#0: syz.0.0/5319 Modules linked in: CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:625 [inline] RIP: 0010:__mutex_lock+0x12e9/0x1550 kernel/locking/mutex.c:821 Code: b8 7a 90 48 c1 e8 03 0f b6 04 18 84 c0 0f 85 47 02 00 00 83 3d eb 76 90 04 00 75 13 48 8d 3d 6e 73 93 04 48 c7 c6 20 12 0d 8c <67> 48 0f b9 3a 90 e9 6b ee ff ff 90 0f 0b 90 e9 3e f2 ff ff 90 0f RSP: 0018:ffffc9000f13f780 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000100000 RDX: ffffc9000e762000 RSI: ffffffff8c0d1220 RDI: ffffffff907db510 RBP: ffffc9000f13f920 R08: ffffffff907ab883 R09: 1ffffffff20f5710 R10: dffffc0000000000 R11: fffffbfff20f5711 R12: ffff88803dca4de0 R13: 0000000000000000 R14: 1ffff92001e27f04 R15: 0000000000000000 FS: 00007f89a69f56c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564715859168 CR3: 000000001f8d0000 CR4: 0000000000352ef0 Call Trace: ocfs2_trim_fs_lock_res_init+0x33/0x1c0 fs/ocfs2/dlmglue.c:703 ocfs2_trim_fs+0x13c/0x24d0 fs/ocfs2/alloc.c:7692 ocfs2_ioctl+0x6bf/0x7e0 fs/ocfs2/ioctl.c:948 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f89aa59e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f89a69f4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f89aa825fa0 RCX: 00007f89aa59e159 RDX: 00002000000004c0 RSI: 00000000c0185879 RDI: 0000000000000000 RBP: 00007f89aa63506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f89aa826038 R14: 00007f89aa825fa0 R15: 00007ffd88a03a78 ---------------- Code disassembly (best guess): 0: b8 7a 90 48 c1 mov $0xc148907a,%eax 5: e8 03 0f b6 04 call 0x4b60f0d a: 18 84 c0 0f 85 47 02 sbb %al,0x247850f(%rax,%rax,8) 11: 00 00 add %al,(%rax) 13: 83 3d eb 76 90 04 00 cmpl $0x0,0x49076eb(%rip) # 0x4907705 1a: 75 13 jne 0x2f 1c: 48 8d 3d 6e 73 93 04 lea 0x493736e(%rip),%rdi # 0x4937391 23: 48 c7 c6 20 12 0d 8c mov $0xffffffff8c0d1220,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 90 nop 30: e9 6b ee ff ff jmp 0xffffeea0 35: 90 nop 36: 0f 0b ud2 38: 90 nop 39: e9 3e f2 ff ff jmp 0xfffff27c 3e: 90 nop 3f: 0f .byte 0xf