read_mapping_page failed! ERROR: (device loop3): txCommit: general protection fault, probably for non-canonical address 0xdffffc0000000029: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000148-0x000000000000014f] CPU: 1 PID: 4486 Comm: syz.3.51 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:txEnd+0x1bc/0x520 fs/jfs/jfs_txnmgr.c:539 Code: 43 0f b6 04 2c 84 c0 0f 85 d8 02 00 00 66 41 89 2e 0f b7 44 24 04 89 05 52 12 50 13 4c 8d b3 4c 01 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 cb 02 00 00 45 8b 3e 41 8d 77 ff 41 89 RSP: 0018:ffffc9000371f9a0 EFLAGS: 00010203 RAX: 0000000000000029 RBX: 0000000000000000 RCX: ffff88801da59dc0 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1ff3622 R10: fffffbfff1ff3622 R11: 1ffffffff1ff3621 R12: 1ffff920004da227 R13: dffffc0000000000 R14: 000000000000014c R15: 0000000000000000 FS: 00007fc3ed7796c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc3ed778f98 CR3: 000000001e400000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_missing_indices+0x79e/0xaa0 fs/jfs/jfs_dtree.c:2962 jfs_readdir+0x1e43/0x3bd0 fs/jfs/jfs_dtree.c:3316 iterate_dir+0x218/0x560 fs/readdir.c:-1 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0xe5/0x260 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc3ef932929 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:00007fc3ed779038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007fc3efb5a080 RCX: 00007fc3ef932929 RDX: 0000000000001000 RSI: 0000200000000f80 RDI: 0000000000000004 RBP: 00007fc3ef9b4b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fc3efb5a080 R15: 00007ffcc92ca6c8 Modules linked in: ---[ end trace 5ec66d797b656103 ]--- RIP: 0010:txEnd+0x1bc/0x520 fs/jfs/jfs_txnmgr.c:539 Code: 43 0f b6 04 2c 84 c0 0f 85 d8 02 00 00 66 41 89 2e 0f b7 44 24 04 89 05 52 12 50 13 4c 8d b3 4c 01 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 cb 02 00 00 45 8b 3e 41 8d 77 ff 41 89 RSP: 0018:ffffc9000371f9a0 EFLAGS: 00010203 RAX: 0000000000000029 RBX: 0000000000000000 RCX: ffff88801da59dc0 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1ff3622 R10: fffffbfff1ff3622 R11: 1ffffffff1ff3621 R12: 1ffff920004da227 R13: dffffc0000000000 R14: 000000000000014c R15: 0000000000000000 FS: 00007fc3ed7796c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc3ed778f98 CR3: 000000001e400000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 43 0f b6 04 2c movzbl (%r12,%r13,1),%eax 5: 84 c0 test %al,%al 7: 0f 85 d8 02 00 00 jne 0x2e5 d: 66 41 89 2e mov %bp,(%r14) 11: 0f b7 44 24 04 movzwl 0x4(%rsp),%eax 16: 89 05 52 12 50 13 mov %eax,0x13501252(%rip) # 0x1350126e 1c: 4c 8d b3 4c 01 00 00 lea 0x14c(%rbx),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 cb 02 00 00 jne 0x302 37: 45 8b 3e mov (%r14),%r15d 3a: 41 8d 77 ff lea -0x1(%r15),%esi 3e: 41 rex.B 3f: 89 .byte 0x89