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,5317,0):ocfs2_check_set_options:1244 ERROR: Invalid heartbeat mount options loop0: detected capacity change from 32768 to 32767 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,5317,0):ocfs2_find_entry_dx:1029 ERROR: status = -30 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted 6.14.0-rc6-syzkaller-00022-gb7f94fcf5546 #0 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+0x325/0x810 fs/ocfs2/dir.c:812 Code: 20 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 0a 43 6f fe 48 8b 03 48 89 44 24 30 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 c0 03 00 00 45 8b 3c 24 4c 89 f0 48 c1 RSP: 0018:ffffc900019a6800 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888045d188b8 RCX: 0000000000100000 RDX: ffffc9000e752000 RSI: 000000000000054b RDI: ffff888045d188a0 RBP: ffffc900019a6910 R08: ffffffff83b9e02e R09: ffffc900019a69a0 R10: 23ec6d672c196c9a R11: 608b7c562adf3b03 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880544a22c0 R15: ffff8880544a22c0 FS: 00007f6d2f7c56c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000400000002d00 CR3: 0000000040a34000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_dx_dir_lookup+0x163/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+0x1309/0x2570 fs/ocfs2/dir.c:1071 ocfs2_find_files_on_disk+0xff/0x360 fs/ocfs2/dir.c:1994 ocfs2_lookup_ino_from_name+0xb1/0x1e0 fs/ocfs2/dir.c:2016 ocfs2_lookup+0x292/0xa30 fs/ocfs2/namei.c:122 __lookup_slow+0x296/0x400 fs/namei.c:1793 lookup_slow+0x53/0x70 fs/namei.c:1810 walk_component+0x2e1/0x410 fs/namei.c:2114 lookup_last fs/namei.c:2612 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2636 filename_lookup+0x2a3/0x670 fs/namei.c:2665 kern_path+0x35/0x50 fs/namei.c:2773 unix_find_bsd net/unix/af_unix.c:1121 [inline] unix_find_other+0x161/0x990 net/unix/af_unix.c:1182 unix_dgram_sendmsg+0x93e/0x1df0 net/unix/af_unix.c:2038 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:733 ____sys_sendmsg+0x53a/0x860 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmmsg+0x36a/0x720 net/socket.c:2716 __do_sys_sendmmsg net/socket.c:2743 [inline] __se_sys_sendmmsg net/socket.c:2740 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2740 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6d2e98d169 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:00007f6d2f7c5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f6d2eba5fa0 RCX: 00007f6d2e98d169 RDX: 0000000000000002 RSI: 0000400000002d00 RDI: 0000000000000009 RBP: 00007f6d2ea0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6d2eba5fa0 R15: 00007ffd7d9e9e28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_dx_dir_lookup_rec+0x325/0x810 fs/ocfs2/dir.c:812 Code: 20 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 0a 43 6f fe 48 8b 03 48 89 44 24 30 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 c0 03 00 00 45 8b 3c 24 4c 89 f0 48 c1 RSP: 0018:ffffc900019a6800 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888045d188b8 RCX: 0000000000100000 RDX: ffffc9000e752000 RSI: 000000000000054b RDI: ffff888045d188a0 RBP: ffffc900019a6910 R08: ffffffff83b9e02e R09: ffffc900019a69a0 R10: 23ec6d672c196c9a R11: 608b7c562adf3b03 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880544a22c0 R15: ffff8880544a22c0 FS: 00007f6d2f7c56c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d2f7a3fe0 CR3: 0000000040a34000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 20 48 83 and %cl,-0x7d(%rax) 3: c3 ret 4: 40 rex 5: 48 89 d8 mov %rbx,%rax 8: 48 c1 e8 03 shr $0x3,%rax c: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 11: 74 08 je 0x1b 13: 48 89 df mov %rbx,%rdi 16: e8 0a 43 6f fe call 0xfe6f4325 1b: 48 8b 03 mov (%rbx),%rax 1e: 48 89 44 24 30 mov %rax,0x30(%rsp) 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 c0 03 00 00 jne 0x3f7 37: 45 8b 3c 24 mov (%r12),%r15d 3b: 4c 89 f0 mov %r14,%rax 3e: 48 rex.W 3f: c1 .byte 0xc1