Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 118 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+0xa7/0xcf0
Code: fe 48 89 5c 24 18 4c 8d 73 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 e3 3c d9 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 ca 3c d9 fe 49 8b 1e 43 c6 44 3c
RSP: 0018:ffffc900031a77c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffea00067e5d40 RCX: ffff888102729d40
RDX: 0000000000000000 RSI: ffffc900031a7920 RDI: ffffea00067e5d40
RBP: ffffc900031a78d0 R08: ffffea00067e5d77 R09: 1ffffd4000cfcbae
R10: dffffc0000000000 R11: fffff94000cfcbaf R12: 1ffff92000634f04
R13: ffffea00067e5d40 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff10e19898 CR3: 00000001077ea000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 metapage_write_one+0x2c8/0x520
 release_metapage+0x5be/0xac0
 txUnlock+0x524/0xdf0
 jfs_lazycommit+0x582/0xaa0
 kthread+0x726/0x8b0
 ret_from_fork+0x51b/0xa40
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:metapage_write_folio+0xa7/0xcf0
Code: fe 48 89 5c 24 18 4c 8d 73 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 e3 3c d9 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 ca 3c d9 fe 49 8b 1e 43 c6 44 3c
RSP: 0018:ffffc900031a77c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffea00067e5d40 RCX: ffff888102729d40
RDX: 0000000000000000 RSI: ffffc900031a7920 RDI: ffffea00067e5d40
RBP: ffffc900031a78d0 R08: ffffea00067e5d77 R09: 1ffffd4000cfcbae
R10: dffffc0000000000 R11: fffff94000cfcbaf R12: 1ffff92000634f04
R13: ffffea00067e5d40 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c01d93a038 CR3: 0000000171fec000 CR4: 00000000000006f0
