loop0: detected capacity change from 0 to 32768 lmLogOpen: exit(-6) jfs_dirty_inode called on read-only volume Is remount racy? jfs_dirty_inode called on read-only volume Is remount racy? ERROR: (device loop0): txBegin: read-only filesystem ERROR: (device loop0): remounting filesystem as read-only jfs_dirty_inode called on read-only volume 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 0xdffffc000000000a: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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+0x130/0x2c0 fs/jfs/super.c:98 Code: 8d 4c 24 60 48 c7 c7 e0 ae a4 8b 48 89 74 24 08 e8 e5 80 fe ff 4d 8d 6f 50 4d 89 ee 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 06 00 74 08 4c 89 ef e8 f1 b5 ff 00 4d 8b 65 00 4c 89 e6 RSP: 0018:ffffc9000d4377c0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff92001a86f00 RCX: 7cb418ffe990fa00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000d4378d0 R08: ffffc9000d4374e7 R09: 1ffff92001a86e9c R10: dffffc0000000000 R11: fffff52001a86e9d R12: ffffc9000d437840 R13: 0000000000000050 R14: 000000000000000a R15: 0000000000000000 FS: 00007ff93f4766c0(0000) GS:ffff88808d683000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f03e0c47d00 CR3: 000000001f9f8000 CR4: 0000000000352ef0 Call Trace: jfs_rename+0xb69/0x1610 fs/jfs/namei.c:1243 vfs_rename+0xbb6/0xee0 fs/namei.c:5929 do_renameat2+0x538/0x8e0 fs/namei.c:6047 __do_sys_renameat2 fs/namei.c:6077 [inline] __se_sys_renameat2 fs/namei.c:6074 [inline] __x64_sys_renameat2+0xce/0xe0 fs/namei.c:6074 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff93e58f7c9 Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff93f476038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007ff93e7e5fa0 RCX: 00007ff93e58f7c9 RDX: ffffffffffffff9c RSI: 0000200000000580 RDI: ffffffffffffff9c RBP: 00007ff93e613f91 R08: 0000000000000000 R09: 0000000000000000 R10: 00002000000005c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff93e7e6038 R14: 00007ff93e7e5fa0 R15: 00007ffc4fc84798 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+0x130/0x2c0 fs/jfs/super.c:98 Code: 8d 4c 24 60 48 c7 c7 e0 ae a4 8b 48 89 74 24 08 e8 e5 80 fe ff 4d 8d 6f 50 4d 89 ee 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 06 00 74 08 4c 89 ef e8 f1 b5 ff 00 4d 8b 65 00 4c 89 e6 RSP: 0018:ffffc9000d4377c0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff92001a86f00 RCX: 7cb418ffe990fa00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000d4378d0 R08: ffffc9000d4374e7 R09: 1ffff92001a86e9c R10: dffffc0000000000 R11: fffff52001a86e9d R12: ffffc9000d437840 R13: 0000000000000050 R14: 000000000000000a R15: 0000000000000000 FS: 00007ff93f4766c0(0000) GS:ffff88808d683000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc4fc83fc0 CR3: 000000001f9f8000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 8d 4c 24 60 lea 0x60(%rsp),%ecx 4: 48 c7 c7 e0 ae a4 8b mov $0xffffffff8ba4aee0,%rdi b: 48 89 74 24 08 mov %rsi,0x8(%rsp) 10: e8 e5 80 fe ff call 0xfffe80fa 15: 4d 8d 6f 50 lea 0x50(%r15),%r13 19: 4d 89 ee mov %r13,%r14 1c: 49 c1 ee 03 shr $0x3,%r14 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 80 3c 06 00 cmpb $0x0,(%r14,%rax,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 f1 b5 ff 00 call 0xffb62a 39: 4d 8b 65 00 mov 0x0(%r13),%r12 3d: 4c 89 e6 mov %r12,%rsi