Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 123 Comm: jfsCommit 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:metapage_write_folio+0xa2/0xd40
Code: f3 e8 52 c9 5e fe 4c 8d 73 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 d8 4d cc fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 bf 4d cc fe 49 8b 06 48 89 44 24
RSP: 0018:ffffc9000310f860 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffea0005b89e80 RCX: ffff888104e80000
RDX: 0000000000000000 RSI: ffffc9000310f9c0 RDI: ffffea0005b89e80
RBP: ffffc9000310f970 R08: ffffea0005b89eb7 R09: 1ffffd4000b713d6
R10: dffffc0000000000 R11: fffff94000b713d7 R12: 1ffff92000621f18
R13: ffffea0005b89e80 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff88818dc26000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559981ed9950 CR3: 0000000020e16000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 metapage_write_one+0x2c4/0x520
 release_metapage+0x583/0xa60
 txUnlock+0x51c/0xde0
 jfs_lazycommit+0x59f/0xac0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:metapage_write_folio+0xa2/0xd40
Code: f3 e8 52 c9 5e fe 4c 8d 73 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 d8 4d cc fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 bf 4d cc fe 49 8b 06 48 89 44 24
RSP: 0018:ffffc9000310f860 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffea0005b89e80 RCX: ffff888104e80000
RDX: 0000000000000000 RSI: ffffc9000310f9c0 RDI: ffffea0005b89e80
RBP: ffffc9000310f970 R08: ffffea0005b89eb7 R09: 1ffffd4000b713d6
R10: dffffc0000000000 R11: fffff94000b713d7 R12: 1ffff92000621f18
R13: ffffea0005b89e80 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff88818dc26000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559981ed9950 CR3: 0000000114718000 CR4: 00000000000006f0
