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? 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? 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? Oops: general protection fault, probably for non-canonical address 0xdffffc00000000c5: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000628-0x000000000000062f] CPU: 0 UID: 0 PID: 5331 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 4c b2 ce fe 41 bf 28 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 2d b2 ce fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc900037eebc0 EFLAGS: 00010206 RAX: 00000000000000c5 RBX: ffffc90000e89020 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff8dfa8cfd RDI: 00000000ffffffff RBP: ffffc900037eee50 R08: ffffffff9030ccf7 R09: 1ffffffff206199e R10: dffffc0000000000 R11: fffffbfff206199f R12: 00000000ffffffe2 R13: dffffc0000000000 R14: ffffc90000e89000 R15: 0000000000000628 FS: 00007f90bbd966c0(0000) GS:ffff88808c885000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e3eb8dd30 CR3: 00000000442e5000 CR4: 0000000000352ef0 Call Trace: jfs_create+0x377/0xb10 fs/jfs/namei.c:160 lookup_open fs/namei.c:4511 [inline] open_last_lookups fs/namei.c:4611 [inline] path_openat+0x1395/0x3860 fs/namei.c:4855 do_file_open+0x23e/0x4a0 fs/namei.c:4887 file_open_name fs/open.c:1322 [inline] filp_open+0x16d/0x1d0 fs/open.c:1339 coredump_file fs/coredump.c:935 [inline] do_coredump fs/coredump.c:1105 [inline] vfs_coredump+0x1fc0/0x4530 fs/coredump.c:1206 get_signal+0x1107/0x1330 kernel/signal.c:3022 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f90baf9cdd9 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:00007f90bbd95fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffe5 RBX: 00007f90bb215fa0 RCX: 00007f90baf9cdd9 RDX: 0000000000000000 RSI: 0010000000000000 RDI: 0000200000000140 RBP: 00007f90bb032d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f90bb216038 R14: 00007f90bb215fa0 R15: 00007ffccd710c68 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 4c b2 ce fe 41 bf 28 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 2d b2 ce fe 49 8b 1f 48 83 c3 30 RSP: 0018:ffffc900037eebc0 EFLAGS: 00010206 RAX: 00000000000000c5 RBX: ffffc90000e89020 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff8dfa8cfd RDI: 00000000ffffffff RBP: ffffc900037eee50 R08: ffffffff9030ccf7 R09: 1ffffffff206199e R10: dffffc0000000000 R11: fffffbfff206199f R12: 00000000ffffffe2 R13: dffffc0000000000 R14: ffffc90000e89000 R15: 0000000000000628 FS: 00007f90bbd966c0(0000) GS:ffff88808c885000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e3eb8dd30 CR3: 00000000442e5000 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 4c b2 ce fe call 0xfeceb266 1a: 41 bf 28 06 00 00 mov $0x628,%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 2d b2 ce fe call 0xfeceb266 39: 49 8b 1f mov (%r15),%rbx 3c: 48 83 c3 30 add $0x30,%rbx