kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4903 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:lbmStartIO+0x12b/0x480 fs/jfs/jfs_logmgr.c:2143 Code: c1 ea 03 80 3c 02 00 0f 85 f5 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 20 49 8d bd e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 67 RSP: 0018:ffff888043f2f928 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888096816f00 RCX: 0000000000000003 RDX: 000000000000001c RSI: ffffffff835f37ea RDI: 00000000000000e0 RBP: ffff888097b59780 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a4762900 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 00007f85859d0700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005576e3e3d188 CR3: 0000000097f0d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x27b/0x3a0 fs/jfs/jfs_logmgr.c:2092 lmGCwrite+0x3f2/0x4e0 fs/jfs/jfs_logmgr.c:806 lmGroupCommit+0x2a4/0x770 fs/jfs/jfs_logmgr.c:708 txCommit+0xaab/0x39e0 fs/jfs/jfs_txnmgr.c:1313 jfs_truncate_nolock+0x13e/0x2a0 fs/jfs/inode.c:410 jfs_truncate+0x8f/0xd0 fs/jfs/inode.c:423 jfs_setattr+0x4f0/0x6c0 fs/jfs/file.c:131 notify_change+0x70b/0xfc0 fs/attr.c:334 do_truncate+0x134/0x1f0 fs/open.c:63 do_sys_ftruncate+0x492/0x560 fs/open.c:194 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f858745e0f9 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:00007f85859d0168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f858757df80 RCX: 00007f858745e0f9 RDX: 0000000000000000 RSI: 0000000000001100 RDI: 0000000000000004 RBP: 00007f85874b9ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdba3a646f R14: 00007f85859d0300 R15: 0000000000022000 Modules linked in: ---[ end trace df1363e3646278bd ]--- RIP: 0010:lbmStartIO+0x12b/0x480 fs/jfs/jfs_logmgr.c:2143 Code: c1 ea 03 80 3c 02 00 0f 85 f5 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 20 49 8d bd e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 67 RSP: 0018:ffff888043f2f928 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888096816f00 RCX: 0000000000000003 RDX: 000000000000001c RSI: ffffffff835f37ea RDI: 00000000000000e0 RBP: ffff888097b59780 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a4762900 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 00007f85859d0700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c02a0118d0 CR3: 0000000097f0d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 f5 02 00 00 jne 0x302 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4d 8b 6c 24 20 mov 0x20(%r12),%r13 1c: 49 8d bd e0 00 00 00 lea 0xe0(%r13),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 ef 02 00 00 jne 0x323 34: 4d 8b ad e0 00 00 00 mov 0xe0(%r13),%r13 3b: 4d 39 ee cmp %r13,%r14 3e: 74 67 je 0xa7