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 0xdffffc00000000cd: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000668-0x000000000000066f]
CPU: 1 UID: 0 PID: 14625 Comm: syz.2.1089 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:txEnd+0xb4/0x530
Code: 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 ec 2d ca fe 41 bf 68 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 cd 2d ca fe 49 8b 1f 48 83 c3 30
RSP: 0018:ffffc90007217ae0 EFLAGS: 00010202
RAX: 00000000000000cd RBX: ffffc90002a11020 RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffffffff8e237adc RDI: 00000000ffffffff
RBP: ffffc90007217d68 R08: ffffffff9057cd37 R09: 1ffffffff20af9a6
R10: dffffc0000000000 R11: fffffbfff20af9a7 R12: 00000000ffffffe2
R13: dffffc0000000000 R14: ffffc90002a11000 R15: 0000000000000668
FS:  00007f86a45126c0(0000) GS:ffff8882a8f47000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005616a964b550 CR3: 000000011e7de000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 jfs_mkdir+0x2f5/0xb00
 vfs_mkdir+0x406/0x620
 filename_mkdirat+0x285/0x510
 __se_sys_mkdirat+0x35/0x150
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f86a359e0d9
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:00007f86a4512028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f86a3825fa0 RCX: 00007f86a359e0d9
RDX: 00000000000001ff RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f86a3635024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f86a3826038 R14: 00007f86a3825fa0 R15: 00007ffd51eb3ce8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txEnd+0xb4/0x530
Code: 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 ec 2d ca fe 41 bf 68 06 00 00 4c 03 3b 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 cd 2d ca fe 49 8b 1f 48 83 c3 30
RSP: 0018:ffffc90007217ae0 EFLAGS: 00010202
RAX: 00000000000000cd RBX: ffffc90002a11020 RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffffffff8e237adc RDI: 00000000ffffffff
RBP: ffffc90007217d68 R08: ffffffff9057cd37 R09: 1ffffffff20af9a6
R10: dffffc0000000000 R11: fffffbfff20af9a7 R12: 00000000ffffffe2
R13: dffffc0000000000 R14: ffffc90002a11000 R15: 0000000000000668
FS:  00007f86a45126c0(0000) GS:ffff8882a8f47000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005616a964b550 CR3: 000000011e7de000 CR4: 00000000000006f0
