(syz.0.102,4383,0):ocfs2_read_blocks:240 ERROR: status = -12 general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 0 PID: 4383 Comm: syz.0.102 Not tainted 6.1.111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ocfs2_buffer_cached+0xbe/0x8c0 fs/ocfs2/uptodate.c:237 Code: 00 74 08 48 89 ef e8 21 60 71 fe 48 89 5c 24 20 4c 89 f7 ff 55 00 48 89 44 24 18 49 83 c4 18 4c 89 e0 48 c1 e8 03 48 89 04 24 <42> 80 3c 28 00 74 08 4c 89 e7 e8 f3 5f 71 fe 49 8b 1c 24 49 8d 6e RSP: 0018:ffffc9000321e6a0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 1ffff1100b14d2ce RCX: dffffc0000000000 RDX: ffffc90005131000 RSI: 000000000000798e RDI: 000000000000798f RBP: ffffffff8b4ad400 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000018 R13: dffffc0000000000 R14: ffff888058a69670 R15: dffffc0000000000 FS: 00007fae90d606c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94058b0000 CR3: 000000007cb00000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_set_buffer_uptodate+0x9d/0x1450 fs/ocfs2/uptodate.c:474 ocfs2_read_blocks+0x1061/0x16e0 fs/ocfs2/buffer_head_io.c:392 ocfs2_read_virt_blocks+0x4da/0xab0 fs/ocfs2/extent_map.c:1010 ocfs2_read_dir_block fs/ocfs2/dir.c:508 [inline] ocfs2_find_entry_el fs/ocfs2/dir.c:715 [inline] ocfs2_find_entry+0x436/0x28c0 fs/ocfs2/dir.c:1080 ocfs2_find_files_on_disk+0x10d/0x3a0 fs/ocfs2/dir.c:1982 ocfs2_lookup_ino_from_name+0xad/0x1e0 fs/ocfs2/dir.c:2004 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:136 [inline] ocfs2_get_system_file_inode+0x314/0x7b0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x328/0x720 fs/ocfs2/super.c:457 ocfs2_initialize_super fs/ocfs2/super.c:2250 [inline] ocfs2_fill_super+0x2f82/0x5730 fs/ocfs2/super.c:994 mount_bdev+0x2c9/0x3f0 fs/super.c:1443 legacy_get_tree+0xeb/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x2ba/0xb40 fs/namespace.c:3051 do_mount fs/namespace.c:3394 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fae8ff7f6da Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fae90d5fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fae90d5fef0 RCX: 00007fae8ff7f6da RDX: 0000000020004440 RSI: 0000000020000040 RDI: 00007fae90d5feb0 RBP: 0000000020004440 R08: 00007fae90d5fef0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000000020000040 R13: 00007fae90d5feb0 R14: 0000000000004437 R15: 0000000020001cc0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_buffer_cached+0xbe/0x8c0 fs/ocfs2/uptodate.c:237 Code: 00 74 08 48 89 ef e8 21 60 71 fe 48 89 5c 24 20 4c 89 f7 ff 55 00 48 89 44 24 18 49 83 c4 18 4c 89 e0 48 c1 e8 03 48 89 04 24 <42> 80 3c 28 00 74 08 4c 89 e7 e8 f3 5f 71 fe 49 8b 1c 24 49 8d 6e RSP: 0018:ffffc9000321e6a0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 1ffff1100b14d2ce RCX: dffffc0000000000 RDX: ffffc90005131000 RSI: 000000000000798e RDI: 000000000000798f RBP: ffffffff8b4ad400 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000018 R13: dffffc0000000000 R14: ffff888058a69670 R15: dffffc0000000000 FS: 00007fae90d606c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94058b0000 CR3: 000000007cb00000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 74 08 48 add %dh,0x48(%rax,%rcx,1) 4: 89 ef mov %ebp,%edi 6: e8 21 60 71 fe call 0xfe71602c b: 48 89 5c 24 20 mov %rbx,0x20(%rsp) 10: 4c 89 f7 mov %r14,%rdi 13: ff 55 00 call *0x0(%rbp) 16: 48 89 44 24 18 mov %rax,0x18(%rsp) 1b: 49 83 c4 18 add $0x18,%r12 1f: 4c 89 e0 mov %r12,%rax 22: 48 c1 e8 03 shr $0x3,%rax 26: 48 89 04 24 mov %rax,(%rsp) * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 f3 5f 71 fe call 0xfe71602c 39: 49 8b 1c 24 mov (%r12),%rbx 3d: 49 rex.WB 3e: 8d .byte 0x8d 3f: 6e outsb %ds:(%rsi),(%dx)