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: 5122 Comm: syz-executor101 Not tainted 6.2.0-rc8-next-20230217-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:txEnd+0x219/0x5a0 fs/jfs/jfs_txnmgr.c:534 Code: dd 57 fc 0e 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d c9 57 fc 0e 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:ffffc90003c9fb18 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffffc90002661110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff82f1f59d RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8ccebb40 R15: ffffc90002661112 FS: 00007f05432a8700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f05432a8718 CR3: 00000000747f7000 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+0x2a87/0x4290 fs/jfs/jfs_dtree.c:3004 iterate_dir+0x1fd/0x6f0 fs/readdir.c:67 __do_sys_getdents fs/readdir.c:300 [inline] __se_sys_getdents fs/readdir.c:285 [inline] __x64_sys_getdents+0x13e/0x350 fs/readdir.c:285 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:0x7f054a71d729 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:00007f05432a82f8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f054a7a87b0 RCX: 00007f054a71d729 RDX: 000000000000004c RSI: 0000000020000100 RDI: 0000000000000004 RBP: 0030656c69662f2e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 61746f7571727375 R13: 726765746e696f6e R14: 7261637369646f6e R15: 00007f054a7a87b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x219/0x5a0 fs/jfs/jfs_txnmgr.c:534 Code: dd 57 fc 0e 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d c9 57 fc 0e 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:ffffc90003c9fb18 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffffc90002661110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff82f1f59d RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8ccebb40 R15: ffffc90002661112 FS: 00007f05432a8700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f05432a8718 CR3: 00000000747f7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 49 8d bc 24 4c 01 00 lea 0x14c(%r12),%rdi 7: 00 8: 0f b7 ed movzwl %bp,%ebp b: 48 89 fa mov %rdi,%rdx e: 89 2d c9 57 fc 0e mov %ebp,0xefc57c9(%rip) # 0xefc57dd 14: 48 c1 ea 03 shr $0x3,%rdx 18: 66 89 43 28 mov %ax,0x28(%rbx) 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df * 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2a: 48 89 f8 mov %rdi,%rax 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 08 jl 0x3f 37: 84 d2 test %dl,%dl 39: 0f .byte 0xf 3a: 85 cb test %ecx,%ebx