ERROR: (device loop1): diWrite: ixpxd invalid ERROR: (device loop1): txCommit: 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: 6303 Comm: syz.1.52 Not tainted 6.16.0-rc3-syzkaller-00057-g92ca6c498a5e #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:metapage_write_folio+0xa8/0xca0 fs/jfs/jfs_metapage.c:428 Code: e8 8d 7f 82 fe 4d 8d 74 24 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 82 d7 e3 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 69 d7 e3 fe 49 8b 1e 4d 8d 74 24 RSP: 0018:ffffc9000b607240 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffffd40002e7366 RCX: 0000000000080000 RDX: ffffc9000bfc9000 RSI: 00000000000456c8 RDI: 00000000000456c9 RBP: ffffc9000b607350 R08: ffffea0001739b37 R09: 1ffffd40002e7366 R10: dffffc0000000000 R11: fffff940002e7367 R12: ffffea0001739b00 R13: 0000000000000082 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007febe9de36c0(0000) GS:ffff888125d83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f707ca10000 CR3: 00000000763dc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: metapage_write_one+0x244/0x440 fs/jfs/jfs_metapage.c:816 force_metapage+0x1a7/0x360 fs/jfs/jfs_metapage.c:838 txForce fs/jfs/jfs_txnmgr.c:2215 [inline] txCommit+0x4c05/0x5430 fs/jfs/jfs_txnmgr.c:1315 duplicateIXtree+0x292/0x490 fs/jfs/jfs_imap.c:3019 diNewIAG fs/jfs/jfs_imap.c:2597 [inline] diAllocExt fs/jfs/jfs_imap.c:1905 [inline] diAllocAG+0x17a7/0x1df0 fs/jfs/jfs_imap.c:1669 diAlloc+0x1d5/0x1680 fs/jfs/jfs_imap.c:1590 ialloc+0x8c/0x8f0 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x193/0xa70 fs/jfs/namei.c:225 vfs_mkdir+0x306/0x510 fs/namei.c:4375 do_mkdirat+0x247/0x590 fs/namei.c:4408 __do_sys_mkdirat fs/namei.c:4425 [inline] __se_sys_mkdirat fs/namei.c:4423 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4423 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7febe8f8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007febe9de3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007febe91b5fa0 RCX: 00007febe8f8e929 RDX: 0000000000000000 RSI: 0000200000000840 RDI: ffffffffffffff9c RBP: 00007febe9010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007febe91b5fa0 R15: 00007ffdd71fffc8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:metapage_write_folio+0xa8/0xca0 fs/jfs/jfs_metapage.c:428 Code: e8 8d 7f 82 fe 4d 8d 74 24 18 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 82 d7 e3 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 69 d7 e3 fe 49 8b 1e 4d 8d 74 24 RSP: 0018:ffffc9000b607240 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffffd40002e7366 RCX: 0000000000080000 RDX: ffffc9000bfc9000 RSI: 00000000000456c8 RDI: 00000000000456c9 RBP: ffffc9000b607350 R08: ffffea0001739b37 R09: 1ffffd40002e7366 R10: dffffc0000000000 R11: fffff940002e7367 R12: ffffea0001739b00 R13: 0000000000000082 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007febe9de36c0(0000) GS:ffff888125d83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f707ca70000 CR3: 00000000763dc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 8d 7f 82 fe call 0xfe827f92 5: 4d 8d 74 24 18 lea 0x18(%r12),%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 82 d7 e3 fe call 0xfee3d7a2 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 69 d7 e3 fe call 0xfee3d7a2 39: 49 8b 1e mov (%r14),%rbx 3c: 4d rex.WRB 3d: 8d .byte 0x8d 3e: 74 24 je 0x64