metapage_write_end_io: I/O error ERROR: (device loop3): release_metapage: metapage_write_one() failed ERROR: (device loop3): remounting filesystem as read-only Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASA[ 336.404552][ T7747] 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: 7747 Comm: syz.3.198 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:metapage_write_folio+0xa8/0xca0 fs/jfs/jfs_metapage.c:428 Code: e8 5d 4c 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 92 04 e4 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 79 04 e4 fe 49 8b 1e 4d 8d 74 24 RSP: 0018:ffffc90003f77320 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffffd400032c5fe RCX: 0000000000080000 RDX: ffffc900104eb000 RSI: 0000000000001d8d RDI: 0000000000001d8e RBP: ffffc90003f77430 R08: ffffea0001962ff7 R09: 1ffffd400032c5fe R10: dffffc0000000000 R11: fffff9400032c5ff R12: ffffea0001962fc0 R13: 0000000000000082 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f25f41ce6c0(0000) GS:ffff888126ef7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001cc0 CR3: 0000000052754000 CR4: 00000000003526f0 Call Trace: metapage_write_one+0x24c/0x450 fs/jfs/jfs_metapage.c:818 force_metapage+0x1a7/0x360 fs/jfs/jfs_metapage.c:840 txForce fs/jfs/jfs_txnmgr.c:2216 [inline] txCommit+0x4c05/0x5430 fs/jfs/jfs_txnmgr.c:1316 diNewIAG fs/jfs/jfs_imap.c:2592 [inline] diAllocExt fs/jfs/jfs_imap.c:1905 [inline] diAllocAG+0x1770/0x1df0 fs/jfs/jfs_imap.c:1669 diAlloc+0x1d4/0x1670 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:4453 do_mkdirat+0x247/0x590 fs/namei.c:4486 __do_sys_mkdirat fs/namei.c:4503 [inline] __se_sys_mkdirat fs/namei.c:4501 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4501 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f25f5f6de17 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007f25f41cde68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f25f41cdef0 RCX: 00007f25f5f6de17 RDX: 00000000000001ff RSI: 00002000000000c0 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000000c0 R13: 00007f25f41cdeb0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:metapage_write_folio+0xa8/0xca0 fs/jfs/jfs_metapage.c:428 Code: e8 5d 4c 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 92 04 e4 fe 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 79 04 e4 fe 49 8b 1e 4d 8d 74 24 RSP: 0018:ffffc90003f77320 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffffd400032c5fe RCX: 0000000000080000 RDX: ffffc900104eb000 RSI: 0000000000001d8d RDI: 0000000000001d8e RBP: ffffc90003f77430 R08: ffffea0001962ff7 R09: 1ffffd400032c5fe R10: dffffc0000000000 R11: fffff9400032c5ff R12: ffffea0001962fc0 R13: 0000000000000082 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f25f41ce6c0(0000) GS:ffff888126ef7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001cc0 CR3: 0000000052754000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: e8 5d 4c 82 fe call 0xfe824c62 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 92 04 e4 fe call 0xfee404b2 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 79 04 e4 fe call 0xfee404b2 39: 49 8b 1e mov (%r14),%rbx 3c: 4d rex.WRB 3d: 8d .byte 0x8d 3e: 74 24 je 0x64