read_mapping_page failed! ERROR: (device loop0): txCommit: general protection fault, probably for non-canonical address 0xdffffc0000000029: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000148-0x000000000000014f] CPU: 0 PID: 5507 Comm: syz-executor.0 Not tainted 6.7.0-rc3-syzkaller-00284-g815fb87b7530 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:txEnd+0x1e5/0x560 fs/jfs/jfs_txnmgr.c:539 Code: 00 84 c0 0f 85 d4 02 00 00 66 41 89 1e 41 0f b7 c5 89 05 8e 83 5b 0f 4c 8b 74 24 08 49 8d 9e 4c 01 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 c3 02 00 00 8b 2b 8d 75 ff 89 33 31 ff RSP: 0018:ffffc90003d4f9b0 EFLAGS: 00010203 RAX: 0000000000000029 RBX: 000000000000014c RCX: ffff88807c1a9dc0 RDX: ffff88807c1a9dc0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff920004c8227 R08: ffffffff8315c287 R09: 1ffffffff21bae75 R10: dffffc0000000000 R11: fffffbfff21bae76 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000110 FS: 00007f87445526c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559830c97950 CR3: 000000001afb4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_missing_indices fs/jfs/jfs_dtree.c:2658 [inline] jfs_readdir+0x28ba/0x4630 fs/jfs/jfs_dtree.c:3004 wrap_directory_iterator+0x91/0xd0 fs/readdir.c:67 iterate_dir+0x1cd/0x540 fs/readdir.c:106 __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents+0x1ef/0x4c0 fs/readdir.c:307 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f874387cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f87445520c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f874399c050 RCX: 00007f874387cae9 RDX: 0000000000001000 RSI: 0000000020006600 RDI: 0000000000000005 RBP: 00007f87438c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f874399c050 R15: 00007ffcb9c935d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x1e5/0x560 fs/jfs/jfs_txnmgr.c:539 Code: 00 84 c0 0f 85 d4 02 00 00 66 41 89 1e 41 0f b7 c5 89 05 8e 83 5b 0f 4c 8b 74 24 08 49 8d 9e 4c 01 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 c3 02 00 00 8b 2b 8d 75 ff 89 33 31 ff RSP: 0018:ffffc90003d4f9b0 EFLAGS: 00010203 RAX: 0000000000000029 RBX: 000000000000014c RCX: ffff88807c1a9dc0 RDX: ffff88807c1a9dc0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff920004c8227 R08: ffffffff8315c287 R09: 1ffffffff21bae75 R10: dffffc0000000000 R11: fffffbfff21bae76 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000110 FS: 00007f87445526c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559830c97950 CR3: 000000001afb4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 84 c0 0f 85 d4 02 add %al,0x2d4850f(%rax,%rax,8) 7: 00 00 add %al,(%rax) 9: 66 41 89 1e mov %bx,(%r14) d: 41 0f b7 c5 movzwl %r13w,%eax 11: 89 05 8e 83 5b 0f mov %eax,0xf5b838e(%rip) # 0xf5b83a5 17: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 1c: 49 8d 9e 4c 01 00 00 lea 0x14c(%r14),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 c3 02 00 00 jne 0x2fa 37: 8b 2b mov (%rbx),%ebp 39: 8d 75 ff lea -0x1(%rbp),%esi 3c: 89 33 mov %esi,(%rbx) 3e: 31 ff xor %edi,%edi