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: 5678 Comm: syz-executor.0 Not tainted 6.3.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:txEnd+0x1b9/0x4a0 fs/jfs/jfs_txnmgr.c:534 Code: 4d c6 23 0e 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d 39 c6 23 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 26 RSP: 0018:ffffc90004effb28 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffffc90002211110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff896b9020 RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff9038bbcf R10: 0000000000000001 R11: 1ffffffff1f673a9 R12: 0000000000000000 R13: ffffffff8bcb2600 R14: ffffc90002211112 R15: ffffc90002432060 FS: 00007ffb6f542700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f6243bf950 CR3: 000000001c78d000 CR4: 0000000000350ef0 Call Trace: add_missing_indices fs/jfs/jfs_dtree.c:2658 [inline] jfs_readdir+0x201f/0x3610 fs/jfs/jfs_dtree.c:3004 iterate_dir+0x1aa/0x6c0 fs/readdir.c:67 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents fs/readdir.c:271 [inline] __x64_sys_getdents+0x126/0x240 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:0x7ffb6e88c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007ffb6f542168 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007ffb6e9ac050 RCX: 00007ffb6e88c0c9 RDX: 000000000000004c RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007ffb6e8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffceea7b1ef R14: 00007ffb6f542300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x1b9/0x4a0 fs/jfs/jfs_txnmgr.c:534 Code: 4d c6 23 0e 49 8d bc 24 4c 01 00 00 0f b7 ed 48 89 fa 89 2d 39 c6 23 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 26 RSP: 0018:ffffc90004effb28 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: ffffc90002211110 RCX: 0000000000000000 RDX: 0000000000000029 RSI: ffffffff896b9020 RDI: 000000000000014c RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff9038bbcf R10: 0000000000000001 R11: 1ffffffff1f673a9 R12: 0000000000000000 R13: ffffffff8bcb2600 R14: ffffc90002211112 R15: ffffc90002432060 FS: 00007ffb6f542700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f6243bf950 CR3: 000000001c78d000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 4d c6 rex.WRB (bad) 2: 23 0e and (%rsi),%ecx 4: 49 8d bc 24 4c 01 00 lea 0x14c(%r12),%rdi b: 00 c: 0f b7 ed movzwl %bp,%ebp f: 48 89 fa mov %rdi,%rdx 12: 89 2d 39 c6 23 0e mov %ebp,0xe23c639(%rip) # 0xe23c651 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 26 test %esp,(%rsi)