loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. (syz.0.0,5319,0):ocfs2_check_set_options:1244 ERROR: Invalid heartbeat mount options loop0: detected capacity change from 32768 to 31743 OCFS2: ERROR (device loop0): int ocfs2_validate_dx_root(struct super_block *, struct buffer_head *): Dir Index Root # 0 has bad signature On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. OCFS2: File system is now read-only. (syz.0.0,5319,0):ocfs2_find_entry_dx:1029 ERROR: status = -30 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-02665-g1e26c5e28ca5 #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:ocfs2_dx_dir_lookup_rec+0x32b/0x830 fs/ocfs2/dir.c:812 Code: 24 28 49 83 c6 40 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 24 70 6d fe 49 8b 06 48 89 44 24 40 4c 89 e0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 e1 03 00 00 45 8b 34 24 4c 8b 7c 24 18 4c RSP: 0018:ffffc9000d376b40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000100000 RDX: ffffc9000e642000 RSI: 000000000000225b RDI: ffff8880443808a0 RBP: ffffc9000d376c50 R08: ffffffff83be315f R09: ffffc9000d376ce0 R10: 23ec6d672c196c9a R11: 608b7c562adf3b03 R12: 0000000000000000 R13: ffffffff933fb020 R14: ffff8880443808b8 R15: ffffc9000d376bc0 FS: 00007f5afa1ad6c0(0000) GS:ffff88808c825000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ab90d86000 CR3: 0000000040472000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_dx_dir_lookup+0x165/0x930 fs/ocfs2/dir.c:860 ocfs2_dx_dir_search fs/ocfs2/dir.c:920 [inline] ocfs2_find_entry_dx fs/ocfs2/dir.c:1034 [inline] ocfs2_find_entry+0x130d/0x2570 fs/ocfs2/dir.c:1071 ocfs2_check_dir_for_entry+0x17d/0x4b0 fs/ocfs2/dir.c:2040 ocfs2_mknod+0x840/0x2b30 fs/ocfs2/namei.c:288 ocfs2_create+0x1ad/0x480 fs/ocfs2/namei.c:673 lookup_open fs/namei.c:3666 [inline] open_last_lookups fs/namei.c:3765 [inline] path_openat+0x194b/0x35d0 fs/namei.c:4001 do_filp_open+0x284/0x4e0 fs/namei.c:4031 do_sys_openat2+0x12b/0x1d0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x249/0x2a0 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5af938d169 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:00007f5afa1ad038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5af95a5fa0 RCX: 00007f5af938d169 RDX: 0000000000105042 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007f5af940e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001ff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5af95a5fa0 R15: 00007ffcaf94c1d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_dx_dir_lookup_rec+0x32b/0x830 fs/ocfs2/dir.c:812 Code: 24 28 49 83 c6 40 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 24 70 6d fe 49 8b 06 48 89 44 24 40 4c 89 e0 48 c1 e8 03 <0f> b6 04 18 84 c0 0f 85 e1 03 00 00 45 8b 34 24 4c 8b 7c 24 18 4c RSP: 0018:ffffc9000d376b40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000100000 RDX: ffffc9000e642000 RSI: 000000000000225b RDI: ffff8880443808a0 RBP: ffffc9000d376c50 R08: ffffffff83be315f R09: ffffc9000d376ce0 R10: 23ec6d672c196c9a R11: 608b7c562adf3b03 R12: 0000000000000000 R13: ffffffff933fb020 R14: ffff8880443808b8 R15: ffffc9000d376bc0 FS: 00007f5afa1ad6c0(0000) GS:ffff88808c825000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5afa18bfd8 CR3: 0000000040472000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 28 and $0x28,%al 2: 49 83 c6 40 add $0x40,%r14 6: 4c 89 f0 mov %r14,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 11: 74 08 je 0x1b 13: 4c 89 f7 mov %r14,%rdi 16: e8 24 70 6d fe call 0xfe6d703f 1b: 49 8b 06 mov (%r14),%rax 1e: 48 89 44 24 40 mov %rax,0x40(%rsp) 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 e1 03 00 00 jne 0x417 36: 45 8b 34 24 mov (%r12),%r14d 3a: 4c 8b 7c 24 18 mov 0x18(%rsp),%r15 3f: 4c rex.WR