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: 117 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 53 f8 db fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 3a f8 db fe 49 8b 1e 43 c6 44 3c
RSP: 0018:ffffc900031477a0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffea0006aab200 RCX: ffff888169915700
RDX: 0000000000000000 RSI: ffffc90003147900 RDI: ffffea0006aab200
RBP: ffffc900031478b0 R08: ffffea0006aab237 R09: 1ffffd4000d55646
R10: dffffc0000000000 R11: fffff94000d55647 R12: 1ffff92000628f00
R13: ffffea0006aab200 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8882a9d12000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555589164a28 CR3: 0000000112f62000 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+0x4d3/0x870
 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 53 f8 db fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 3a f8 db fe 49 8b 1e 43 c6 44 3c
RSP: 0018:ffffc900031477a0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffea0006aab200 RCX: ffff888169915700
RDX: 0000000000000000 RSI: ffffc90003147900 RDI: ffffea0006aab200
RBP: ffffc900031478b0 R08: ffffea0006aab237 R09: 1ffffd4000d55646
R10: dffffc0000000000 R11: fffff94000d55647 R12: 1ffff92000628f00
R13: ffffea0006aab200 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8882a9d12000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555589164a28 CR3: 0000000112f62000 CR4: 00000000000006f0
