jfs_dirty_inode called on read-only volume Is remount racy? Is remount racy? jfs_rename did not expect dtDelete to return rc = -2 ERROR: (device (efault)): jfs_rename: Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 UID: 0 PID: 6424 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:sb_rdonly include/linux/fs/super.h:187 [inline] RIP: 0010:jfs_handle_error fs/jfs/super.c:66 [inline] RIP: 0010:jfs_error+0x13b/0x2c0 fs/jfs/super.c:98 Code: 8d b7 58 08 00 00 48 8b 55 08 48 8d 4c 24 60 48 c7 c7 c0 04 ad 8b 48 89 34 24 e8 40 76 fe ff 4d 8d 67 60 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 96 a7 0a 01 4c 89 64 24 08 4d 8b RSP: 0018:ffffc9000370f7c0 EFLAGS: 00010206 RAX: 0000000000000027 RBX: 1ffff920006e1f00 RCX: 0547e4e7690b3300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000370f8d0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10170a490b R12: 0000000000000060 R13: dffffc0000000000 R14: 000000000000000c R15: 0000000000000000 FS: 00007fc716d4e6c0(0000) GS:ffff888124ab9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ee21f99c0 CR3: 00000000269ba000 CR4: 00000000003526f0 Call Trace: jfs_rename+0xce7/0x1870 fs/jfs/namei.c:1244 vfs_rename+0xbd9/0xef0 fs/namei.c:6207 filename_renameat2+0x533/0x9b0 fs/namei.c:6325 __do_sys_renameat2 fs/namei.c:6354 [inline] __se_sys_renameat2+0x5a/0x2c0 fs/namei.c:6349 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc7176ea679 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:00007fc716d4e028 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fc717955fa0 RCX: 00007fc7176ea679 RDX: ffffffffffffff9c RSI: 0000200000000580 RDI: ffffffffffffff9c RBP: 00007fc71777dee0 R08: 0000000000000000 R09: 0000000000000000 R10: 00002000000005c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc717956038 R14: 00007fc717955fa0 R15: 00007ffcd4626838 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sb_rdonly include/linux/fs/super.h:187 [inline] RIP: 0010:jfs_handle_error fs/jfs/super.c:66 [inline] RIP: 0010:jfs_error+0x13b/0x2c0 fs/jfs/super.c:98 Code: 8d b7 58 08 00 00 48 8b 55 08 48 8d 4c 24 60 48 c7 c7 c0 04 ad 8b 48 89 34 24 e8 40 76 fe ff 4d 8d 67 60 4d 89 e6 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 e7 e8 96 a7 0a 01 4c 89 64 24 08 4d 8b RSP: 0018:ffffc9000370f7c0 EFLAGS: 00010206 RAX: 0000000000000027 RBX: 1ffff920006e1f00 RCX: 0547e4e7690b3300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000370f8d0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10170a490b R12: 0000000000000060 R13: dffffc0000000000 R14: 000000000000000c R15: 0000000000000000 FS: 00007fc716d4e6c0(0000) GS:ffff888124ab9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ee16d5000 CR3: 00000000269ba000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 8d b7 58 08 00 00 lea 0x858(%rdi),%esi 6: 48 8b 55 08 mov 0x8(%rbp),%rdx a: 48 8d 4c 24 60 lea 0x60(%rsp),%rcx f: 48 c7 c7 c0 04 ad 8b mov $0xffffffff8bad04c0,%rdi 16: 48 89 34 24 mov %rsi,(%rsp) 1a: e8 40 76 fe ff call 0xfffe765f 1f: 4d 8d 67 60 lea 0x60(%r15),%r12 23: 4d 89 e6 mov %r12,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 96 a7 0a 01 call 0x10aa7cf 39: 4c 89 64 24 08 mov %r12,0x8(%rsp) 3e: 4d rex.WRB 3f: 8b .byte 0x8b