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: 5481 Comm: syz-executor.0 Not tainted 6.6.0-syzkaller-03641-geb55307e6716 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:txEnd+0x219/0x5a0 fs/jfs/jfs_txnmgr.c:539 Code: 4d ef 3d 0f 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d 39 ef 3d 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:ffffc9000533fad8 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffffc900025b8110 RCX: ffffffff82fca49e RDX: 0000000000000029 RSI: ffffffff82fca4ad RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff910baaf0 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d1393a0 R15: ffffc900025b8112 FS: 00007ff0520346c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055969c170000 CR3: 00000000711c3000 CR4: 0000000000350ef0 Call Trace: add_missing_indices fs/jfs/jfs_dtree.c:2658 [inline] jfs_readdir+0x280f/0x4320 fs/jfs/jfs_dtree.c:3004 wrap_directory_iterator+0xa5/0xe0 fs/readdir.c:67 iterate_dir+0x1e5/0x5b0 fs/readdir.c:106 __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents fs/readdir.c:307 [inline] __x64_sys_getdents+0x14f/0x2d0 fs/readdir.c:307 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7ff05127c899 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:00007ff0520340c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007ff05139c050 RCX: 00007ff05127c899 RDX: 000000000000004c RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007ff0512d8ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff05139c050 R15: 00007ffc17d17ba8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x219/0x5a0 fs/jfs/jfs_txnmgr.c:539 Code: 4d ef 3d 0f 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d 39 ef 3d 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:ffffc9000533fad8 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffffc900025b8110 RCX: ffffffff82fca49e RDX: 0000000000000029 RSI: ffffffff82fca4ad RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff910baaf0 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d1393a0 R15: ffffc900025b8112 FS: 00007ff0520346c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055969c170000 CR3: 00000000711c3000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 4d ef rex.WRB out %eax,(%dx) 2: 3d 0f 49 8d bc cmp $0xbc8d490f,%eax 7: 24 4c and $0x4c,%al 9: 01 00 add %eax,(%rax) b: 00 0f add %cl,(%rdi) d: b7 ed mov $0xed,%bh f: 48 89 fa mov %rdi,%rdx 12: 89 2d 39 ef 3d 0f mov %ebp,0xf3def39(%rip) # 0xf3def51 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