jfs_dirty_inode called on read-only volume Is remount racy? 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 0xdffffc00000000c6: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000630-0x0000000000000637] CPU: 1 PID: 10166 Comm: syz.4.944 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:JFS_SBI fs/jfs/jfs_incore.h:217 [inline] RIP: 0010:txEnd+0xb4/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 2c 8f d8 fe 41 bf 30 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 0d 8f d8 fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc9000b7576a0 EFLAGS: 00010206 RAX: 00000000000000c6 RBX: ffffc90002659020 RCX: 1ffff920016eaeb8 RDX: dffffc0000000000 RSI: ffffffff8acac900 RDI: 00000000ffffffff RBP: ffffc9000b757790 R08: ffffffff911bf54f R09: 1ffffffff2237ea9 R10: dffffc0000000000 R11: fffffbfff2237eaa R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90002659000 R15: 0000000000000630 FS: 00007f7cef01f6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f745e185900 CR3: 000000007d2a0000 CR4: 00000000003506e0 Call Trace: jfs_truncate_nolock+0x1e5/0x2c0 fs/jfs/inode.c:406 jfs_truncate+0xce/0x140 fs/jfs/inode.c:418 jfs_setattr+0x4f8/0x750 fs/jfs/file.c:122 notify_change+0xb0d/0xe10 fs/attr.c:499 do_truncate+0x1b0/0x240 fs/open.c:66 handle_truncate fs/namei.c:3299 [inline] do_open fs/namei.c:3644 [inline] path_openat+0x2a32/0x3230 fs/namei.c:3797 do_filp_open+0x1f5/0x430 fs/namei.c:3824 do_sys_openat2+0x134/0x1d0 fs/open.c:1421 do_sys_open fs/open.c:1436 [inline] __do_sys_creat fs/open.c:1514 [inline] __se_sys_creat fs/open.c:1508 [inline] __x64_sys_creat+0x90/0xb0 fs/open.c:1508 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7cee19c799 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7cef01f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f7cee415fa0 RCX: 00007f7cee19c799 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080 RBP: 00007f7cee232bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7cee416038 R14: 00007f7cee415fa0 R15: 00007ffcfd433958 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:JFS_SBI fs/jfs/jfs_incore.h:217 [inline] RIP: 0010:txEnd+0xb4/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 2c 8f d8 fe 41 bf 30 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 0d 8f d8 fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc9000b7576a0 EFLAGS: 00010206 RAX: 00000000000000c6 RBX: ffffc90002659020 RCX: 1ffff920016eaeb8 RDX: dffffc0000000000 RSI: ffffffff8acac900 RDI: 00000000ffffffff RBP: ffffc9000b757790 R08: ffffffff911bf54f R09: 1ffffffff2237ea9 R10: dffffc0000000000 R11: fffffbfff2237eaa R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc90002659000 R15: 0000000000000630 FS: 00007f7cef01f6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f745e185900 CR3: 000000007d2a0000 CR4: 00000000003506e0 ---------------- 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 2c 8f d8 fe call 0xfed88f46 1a: 41 bf 30 06 00 00 mov $0x630,%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 0d 8f d8 fe call 0xfed88f46 39: 49 8b 1f mov (%r15),%rbx 3c: 48 83 c3 30 add $0x30,%rbx