general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 0 PID: 4999 Comm: syz.1.195 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lmWriteRecord+0x75/0x12e0 fs/jfs/jfs_logmgr.c:368 Code: 89 84 24 80 00 00 00 42 80 3c 28 00 74 08 48 89 df e8 1f f5 da fe 48 89 5c 24 60 4c 8b 23 49 8d 5c 24 38 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 fc f4 da fe 4c 8b 3b 48 8b 44 24 RSP: 0018:ffffc900033f7540 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000038 RCX: 0000000000080000 RDX: ffffc9000e8aa000 RSI: 0000000000004dfe RDI: 0000000000004dff RBP: ffff8880625ef8b8 R08: ffffffff82ef6d9b R09: fffff5200067ee85 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880625ef800 R15: ffffc90002b12048 FS: 00007f4bb831e6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4bb831df98 CR3: 0000000060f08000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lmLog+0x792/0xab0 fs/jfs/jfs_logmgr.c:314 dtLog fs/jfs/jfs_txnmgr.c:1652 [inline] txLog fs/jfs/jfs_txnmgr.c:1400 [inline] txCommit+0x236b/0x6ba0 fs/jfs/jfs_txnmgr.c:1264 add_missing_indices+0x8af/0xbf0 fs/jfs/jfs_dtree.c:2959 jfs_readdir+0x2008/0x3bc0 fs/jfs/jfs_dtree.c:3315 iterate_dir+0x224/0x570 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents+0x1e8/0x4c0 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4bba4ced29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4bb831e038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f4bba6bf080 RCX: 00007f4bba4ced29 RDX: 0000000000000073 RSI: 0000000020000780 RDI: 0000000000000004 RBP: 00007f4bba54ab08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4bba6bf080 R15: 00007fff6a8c98a8 Modules linked in: ---[ end trace 4cd1ed2962fbfa7a ]--- RIP: 0010:lmWriteRecord+0x75/0x12e0 fs/jfs/jfs_logmgr.c:368 Code: 89 84 24 80 00 00 00 42 80 3c 28 00 74 08 48 89 df e8 1f f5 da fe 48 89 5c 24 60 4c 8b 23 49 8d 5c 24 38 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 fc f4 da fe 4c 8b 3b 48 8b 44 24 RSP: 0018:ffffc900033f7540 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000038 RCX: 0000000000080000 RDX: ffffc9000e8aa000 RSI: 0000000000004dfe RDI: 0000000000004dff RBP: ffff8880625ef8b8 R08: ffffffff82ef6d9b R09: fffff5200067ee85 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880625ef800 R15: ffffc90002b12048 FS: 00007f4bb831e6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff170255000 CR3: 0000000060f08000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 84 24 80 00 00 00 mov %eax,0x80(%rsp) 7: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) c: 74 08 je 0x16 e: 48 89 df mov %rbx,%rdi 11: e8 1f f5 da fe call 0xfedaf535 16: 48 89 5c 24 60 mov %rbx,0x60(%rsp) 1b: 4c 8b 23 mov (%rbx),%r12 1e: 49 8d 5c 24 38 lea 0x38(%r12),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 fc f4 da fe call 0xfedaf535 39: 4c 8b 3b mov (%rbx),%r15 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 44 rex.R 3f: 24 .byte 0x24