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: 5038 Comm: syz-executor215 Not tainted 6.5.0-rc3-syzkaller-00283-g12214540ad87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:txEnd+0x219/0x5a0 fs/jfs/jfs_txnmgr.c:539 Code: 5d 73 30 0f 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d 49 73 30 0f 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 cb RSP: 0018:ffffc9000340fb00 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffffc90002681110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff82f54bdd RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff90f0f600 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cf1f8c0 R15: ffffc90002681112 FS: 00007fa91c1736c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9235ef270 CR3: 000000007cc0d000 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+0x280f/0x4320 fs/jfs/jfs_dtree.c:3004 iterate_dir+0x201/0x740 fs/readdir.c:67 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents fs/readdir.c:271 [inline] __x64_sys_getdents+0x14f/0x2d0 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa9235d7c99 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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:00007fa91c173218 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fa9236656d8 RCX: 00007fa9235d7c99 RDX: 000000000000004c RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007fa9236656d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 61746f7571727375 R14: 726765746e696f6e R15: 7261637369646f6e Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x219/0x5a0 fs/jfs/jfs_txnmgr.c:539 Code: 5d 73 30 0f 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d 49 73 30 0f 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 cb RSP: 0018:ffffc9000340fb00 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffffc90002681110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff82f54bdd RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff90f0f600 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cf1f8c0 R15: ffffc90002681112 FS: 00007fa91c1736c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9235ef270 CR3: 000000007cc0d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5d pop %rbp 1: 73 30 jae 0x33 3: 0f 49 8d bc 24 4c 01 cmovns 0x14c24bc(%rbp),%ecx a: 00 00 add %al,(%rax) c: 0f b7 ed movzwl %bp,%ebp f: 48 89 fa mov %rdi,%rdx 12: 89 2d 49 73 30 0f mov %ebp,0xf307349(%rip) # 0xf307361 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 cb test %ecx,%ebx