Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 111 Comm: jfsCommit 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:metapage_write_folio+0xa2/0xd40 fs/jfs/jfs_metapage.c:429 Code: f3 e8 42 19 55 fe 4c 8d 73 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 98 b7 c6 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 7f b7 c6 fe 49 8b 06 48 89 44 24 RSP: 0018:ffffc900014af860 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffea000049d140 RCX: ffff888031be8000 RDX: 0000000000000000 RSI: ffffc900014af9c0 RDI: ffffea000049d140 RBP: ffffc900014af970 R08: ffffea000049d177 R09: 1ffffd4000093a2e R10: dffffc0000000000 R11: fffff94000093a2f R12: 1ffff92000295f18 R13: ffffea000049d140 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88808c2ca000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005619b1a81310 CR3: 0000000043795000 CR4: 0000000000352ef0 Call Trace: metapage_write_one+0x2c4/0x520 fs/jfs/jfs_metapage.c:819 release_metapage+0x583/0xa60 fs/jfs/jfs_metapage.c:885 txUnlock+0x51c/0xde0 fs/jfs/jfs_txnmgr.c:949 txLazyCommit fs/jfs/jfs_txnmgr.c:2684 [inline] jfs_lazycommit+0x59f/0xac0 fs/jfs/jfs_txnmgr.c:2735 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:metapage_write_folio+0xa2/0xd40 fs/jfs/jfs_metapage.c:429 Code: f3 e8 42 19 55 fe 4c 8d 73 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 98 b7 c6 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 7f b7 c6 fe 49 8b 06 48 89 44 24 RSP: 0018:ffffc900014af860 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffea000049d140 RCX: ffff888031be8000 RDX: 0000000000000000 RSI: ffffc900014af9c0 RDI: ffffea000049d140 RBP: ffffc900014af970 R08: ffffea000049d177 R09: 1ffffd4000093a2e R10: dffffc0000000000 R11: fffff94000093a2f R12: 1ffff92000295f18 R13: ffffea000049d140 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88808c2ca000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9affaa4730 CR3: 0000000043795000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: f3 e8 42 19 55 fe repz call 0xfe551948 6: 4c 8d 73 18 lea 0x18(%rbx),%r14 a: 4c 89 f0 mov %r14,%rax d: 48 c1 e8 03 shr $0x3,%rax 11: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 16: 74 08 je 0x20 18: 4c 89 f7 mov %r14,%rdi 1b: e8 98 b7 c6 fe call 0xfec6b7b8 20: 4d 8b 36 mov (%r14),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 7f b7 c6 fe call 0xfec6b7b8 39: 49 8b 06 mov (%r14),%rax 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 44 rex.R 3f: 24 .byte 0x24