read_mapping_page failed! ERROR: (device loop0): txAbort: 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: 5097 Comm: syz-executor839 Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:txEnd+0x21d/0x4c0 fs/jfs/jfs_txnmgr.c:534 Code: eb 0e 45 0f b7 ed 49 8d bc 24 4c 01 00 00 44 89 2d f8 63 eb 0e 48 89 fa 48 c1 ea 03 66 89 43 28 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 30 RSP: 0018:ffffc90003f4fb18 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffffc90002671110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff82e8496f RDI: 000000000000014c RBP: ffffffff8cccdde0 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc90002671112 FS: 00007f1d980a1700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d980a1718 CR3: 0000000076595000 CR4: 0000000000350ef0 Call Trace: add_missing_indices fs/jfs/jfs_dtree.c:2658 [inline] jfs_readdir+0x2865/0x4230 fs/jfs/jfs_dtree.c:3004 iterate_dir+0x1fd/0x6f0 fs/readdir.c:67 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents fs/readdir.c:271 [inline] __x64_sys_getdents+0x13e/0x2c0 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1d9f516729 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1d980a12f8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f1d9f5a17b0 RCX: 00007f1d9f516729 RDX: 000000000000004c RSI: 0000000020000100 RDI: 0000000000000004 RBP: 0030656c69662f2e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 61746f7571727375 R13: 726765746e696f6e R14: 7261637369646f6e R15: 00007f1d9f5a17b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x21d/0x4c0 fs/jfs/jfs_txnmgr.c:534 Code: eb 0e 45 0f b7 ed 49 8d bc 24 4c 01 00 00 44 89 2d f8 63 eb 0e 48 89 fa 48 c1 ea 03 66 89 43 28 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 30 RSP: 0018:ffffc90003f4fb18 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffffc90002671110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff82e8496f RDI: 000000000000014c RBP: ffffffff8cccdde0 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffc90002671112 FS: 00007f1d980a1700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d980a1718 CR3: 0000000076595000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: eb 0e jmp 0x10 2: 45 0f b7 ed movzwl %r13w,%r13d 6: 49 8d bc 24 4c 01 00 lea 0x14c(%r12),%rdi d: 00 e: 44 89 2d f8 63 eb 0e mov %r13d,0xeeb63f8(%rip) # 0xeeb640d 15: 48 89 fa mov %rdi,%rdx 18: 48 c1 ea 03 shr $0x3,%rdx 1c: 66 89 43 28 mov %ax,0x28(%rbx) 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 30 test %esi,(%rax)