(syz.3.29,3801,1):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: 3801 Comm: syz.3.29 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ocfs2_buffer_cached+0xbf/0x7b0 fs/ocfs2/uptodate.c:237 Code: 74 08 48 89 ef e8 11 ab 81 fe 4c 89 7c 24 20 48 89 5c 24 08 48 89 df ff 55 00 48 89 44 24 18 49 83 c5 18 4d 89 ec 49 c1 ec 03 <43> 80 3c 34 00 74 08 4c 89 ef e8 e2 aa 81 fe 49 8b 55 00 48 8b 44 RSP: 0018:ffffc900034c66a0 EFLAGS: 00010206 RAX: 0000000000000042 RBX: ffff888061c79670 RCX: dffffc0000000000 RDX: ffffc90004c31000 RSI: 000000000001d40f RDI: 000000000001d410 RBP: ffffffff8ac71000 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000003 R13: 0000000000000018 R14: dffffc0000000000 R15: 1ffff1100c38f2ce FS: 00007f58088396c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f580a3a40a0 CR3: 00000000787d5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_set_buffer_uptodate+0x9d/0x11a0 fs/ocfs2/uptodate.c:474 ocfs2_read_blocks+0xf2c/0x1490 fs/ocfs2/buffer_head_io.c:392 ocfs2_read_virt_blocks+0x4b1/0xa10 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+0x437/0x26d0 fs/ocfs2/dir.c:1080 ocfs2_find_files_on_disk+0xea/0x310 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:458 ocfs2_initialize_super fs/ocfs2/super.c:2276 [inline] ocfs2_fill_super+0x479e/0x58a0 fs/ocfs2/super.c:995 mount_bdev+0x2c9/0x3f0 fs/super.c:1398 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1528 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f580a3c26da 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:00007f5808838e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5808838ef0 RCX: 00007f580a3c26da RDX: 0000000020004440 RSI: 0000000020000040 RDI: 00007f5808838eb0 RBP: 0000000020004440 R08: 00007f5808838ef0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f5808838eb0 R14: 0000000000004437 R15: 0000000020001cc0 Modules linked in: ---[ end trace 72d6ae6dadaef6ab ]--- RIP: 0010:ocfs2_buffer_cached+0xbf/0x7b0 fs/ocfs2/uptodate.c:237 Code: 74 08 48 89 ef e8 11 ab 81 fe 4c 89 7c 24 20 48 89 5c 24 08 48 89 df ff 55 00 48 89 44 24 18 49 83 c5 18 4d 89 ec 49 c1 ec 03 <43> 80 3c 34 00 74 08 4c 89 ef e8 e2 aa 81 fe 49 8b 55 00 48 8b 44 RSP: 0018:ffffc900034c66a0 EFLAGS: 00010206 RAX: 0000000000000042 RBX: ffff888061c79670 RCX: dffffc0000000000 RDX: ffffc90004c31000 RSI: 000000000001d40f RDI: 000000000001d410 RBP: ffffffff8ac71000 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000003 R13: 0000000000000018 R14: dffffc0000000000 R15: 1ffff1100c38f2ce FS: 00007f58088396c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f580a3a40a0 CR3: 00000000787d5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 74 08 je 0xa 2: 48 89 ef mov %rbp,%rdi 5: e8 11 ab 81 fe call 0xfe81ab1b a: 4c 89 7c 24 20 mov %r15,0x20(%rsp) f: 48 89 5c 24 08 mov %rbx,0x8(%rsp) 14: 48 89 df mov %rbx,%rdi 17: ff 55 00 call *0x0(%rbp) 1a: 48 89 44 24 18 mov %rax,0x18(%rsp) 1f: 49 83 c5 18 add $0x18,%r13 23: 4d 89 ec mov %r13,%r12 26: 49 c1 ec 03 shr $0x3,%r12 * 2a: 43 80 3c 34 00 cmpb $0x0,(%r12,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 e2 aa 81 fe call 0xfe81ab1b 39: 49 8b 55 00 mov 0x0(%r13),%rdx 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 44 rex.R