find_entry called with index = 0 jfs_dirty_inode called on read-only volume Is remount racy? jfs_dirty_inode called on read-only volume Is remount racy? general protection fault, probably for non-canonical address 0xdffffc00000000cf: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000678-0x000000000000067f] CPU: 0 PID: 10225 Comm: syz.6.1115 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:JFS_SBI fs/jfs/jfs_incore.h:217 [inline] RIP: 0010:txEnd+0xb0/0x520 fs/jfs/jfs_txnmgr.c:507 Code: 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 40 09 e3 fe 41 bf 78 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 21 09 e3 fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc900034271a0 EFLAGS: 00010206 RAX: 00000000000000cf RBX: ffffc90002679020 RCX: 1ffff92000684e18 RDX: dffffc0000000000 RSI: ffffffff8a6c0600 RDI: 00000000ffffffff RBP: ffffc90003427410 R08: dffffc0000000000 R09: fffffbfff2119052 R10: fffffbfff2119052 R11: 1ffffffff2119051 R12: ffff888054bf4a48 R13: dffffc0000000000 R14: ffffc90002679000 R15: 0000000000000678 FS: 00007f18ec7da6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcecd03ffa4 CR3: 000000002fb1b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_create+0x32d/0xa50 fs/jfs/namei.c:159 lookup_open fs/namei.c:3490 [inline] open_last_lookups fs/namei.c:3558 [inline] path_openat+0x1187/0x2e70 fs/namei.c:3788 do_filp_open+0x1c1/0x3c0 fs/namei.c:3818 file_open_name fs/open.c:1265 [inline] filp_open+0x173/0x1d0 fs/open.c:1285 do_coredump+0x1ad7/0x22b0 fs/coredump.c:765 get_signal+0x10aa/0x1350 kernel/signal.c:2857 arch_do_signal_or_restart+0xb7/0x1240 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:316 exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1490 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f18eb98f751 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:fffffffffffffe70 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f18ebbe6180 RCX: 00007f18eb98f749 RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000 RBP: 00007f18eba13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f18ebbe6218 R14: 00007f18ebbe6180 R15: 00007ffcb45cbb38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:JFS_SBI fs/jfs/jfs_incore.h:217 [inline] RIP: 0010:txEnd+0xb0/0x520 fs/jfs/jfs_txnmgr.c:507 Code: 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 40 09 e3 fe 41 bf 78 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 21 09 e3 fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc900034271a0 EFLAGS: 00010206 RAX: 00000000000000cf RBX: ffffc90002679020 RCX: 1ffff92000684e18 RDX: dffffc0000000000 RSI: ffffffff8a6c0600 RDI: 00000000ffffffff RBP: ffffc90003427410 R08: dffffc0000000000 R09: fffffbfff2119052 R10: fffffbfff2119052 R11: 1ffffffff2119051 R12: ffff888054bf4a48 R13: dffffc0000000000 R14: ffffc90002679000 R15: 0000000000000678 FS: 00007f18ec7da6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcecd03ffa4 CR3: 000000002fb1b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 49 8d 5e 20 lea 0x20(%r14),%rbx 4: 48 89 d8 mov %rbx,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 10: 74 08 je 0x1a 12: 48 89 df mov %rbx,%rdi 15: e8 40 09 e3 fe call 0xfee3095a 1a: 41 bf 78 06 00 00 mov $0x678,%r15d 20: 4c 03 3b add (%rbx),%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 21 09 e3 fe call 0xfee3095a 39: 49 8b 1f mov (%r15),%rbx 3c: 48 83 c3 30 add $0x30,%rbx