loop0: detected capacity change from 0 to 32768 lmLogOpen: exit(-6) 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? find_entry called with index = 0 find_entry called with index = 0 find_entry called with index = 0 find_entry called with index = 0 find_entry called with index = 0 find_entry called with index = 0 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? jfs_dirty_inode called on read-only volume Is remount racy? Oops: general protection fault, probably for non-canonical address 0xdffffc00000000cf: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000678-0x000000000000067f] CPU: 0 UID: 0 PID: 5314 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 04/01/2014 RIP: 0010:JFS_SBI fs/jfs/jfs_incore.h:217 [inline] RIP: 0010:txEnd+0xb4/0x530 fs/jfs/jfs_txnmgr.c:508 Code: 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 3c 3c c5 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 1d 3c c5 fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc9000f3dfae0 EFLAGS: 00010206 RAX: 00000000000000cf RBX: ffffc90000f59020 RCX: ffffffff9a9f8501 RDX: 0000000000000001 RSI: ffffffff8e41a21f RDI: 00000000ffffffff RBP: ffffc9000f3dfd68 R08: ffffffff907a847f R09: 1ffffffff20f508f R10: dffffc0000000000 R11: fffffbfff20f5090 R12: 00000000ffffffe2 R13: dffffc0000000000 R14: ffffc90000f59000 R15: 0000000000000678 FS: 00007f66e71fb6c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f98849000 CR3: 000000004510f000 CR4: 0000000000352ef0 Call Trace: jfs_mkdir+0x2ee/0xaf0 fs/jfs/namei.c:294 vfs_mkdir+0x40c/0x620 fs/namei.c:5410 filename_mkdirat+0x285/0x510 fs/namei.c:5443 __do_sys_mkdirat fs/namei.c:5464 [inline] __se_sys_mkdirat+0x35/0x150 fs/namei.c:5461 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:0x7f66e639cfc7 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 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:00007f66e71fae18 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f66e71faea0 RCX: 00007f66e639cfc7 RDX: 00000000000001ff RSI: 0000200000002440 RDI: 00000000ffffff9c RBP: 0000200000002540 R08: 0000200000000100 R09: 0000000000000000 R10: 0000200000002540 R11: 0000000000000246 R12: 0000200000002440 R13: 00007f66e71fae60 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:JFS_SBI fs/jfs/jfs_incore.h:217 [inline] RIP: 0010:txEnd+0xb4/0x530 fs/jfs/jfs_txnmgr.c:508 Code: 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 3c 3c c5 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 1d 3c c5 fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc9000f3dfae0 EFLAGS: 00010206 RAX: 00000000000000cf RBX: ffffc90000f59020 RCX: ffffffff9a9f8501 RDX: 0000000000000001 RSI: ffffffff8e41a21f RDI: 00000000ffffffff RBP: ffffc9000f3dfd68 R08: ffffffff907a847f R09: 1ffffffff20f508f R10: dffffc0000000000 R11: fffffbfff20f5090 R12: 00000000ffffffe2 R13: dffffc0000000000 R14: ffffc90000f59000 R15: 0000000000000678 FS: 00007f66e71fb6c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f98849000 CR3: 000000004510f000 CR4: 0000000000352ef0 ---------------- 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 3c 3c c5 fe call 0xfec53c56 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 1d 3c c5 fe call 0xfec53c56 39: 49 8b 1f mov (%r15),%rbx 3c: 48 83 c3 30 add $0x30,%rbx