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 Modules linked in: CPU: 0 PID: 10283 Comm: syz-executor.2 Not tainted 4.14.305-syzkaller #0 attempt to access beyond end of device Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 task: ffff8880b04945c0 task.stack: ffff88804e1d8000 RIP: 0010:lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: 0018:ffff88804e1df8b8 EFLAGS: 00010202 loop1: rw=2049, want=45104, limit=40427 RAX: dffffc0000000000 RBX: ffff88809ee39900 RCX: 0000000000000003 RDX: 000000000000001c RSI: ffffffff8305e98b RDI: 00000000000000e0 RBP: ffff8880abfd9300 R08: 0000000000000001 R09: ffff8880abfd9300 R10: ffff8880abfd9387 R11: 0000000000000000 R12: ffff8880af615200 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc9445a4700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10ec7dc000 CR3: 000000009a267000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x254/0x380 fs/jfs/jfs_logmgr.c:2092 lmGCwrite+0x3d4/0x4d0 fs/jfs/jfs_logmgr.c:806 lmGroupCommit+0x21d/0x640 fs/jfs/jfs_logmgr.c:708 txCommit+0x947/0x3580 fs/jfs/jfs_txnmgr.c:1313 jfs_commit_inode+0x1f0/0x320 fs/jfs/inode.c:120 jfs_fsync+0xf6/0x1e0 fs/jfs/file.c:50 vfs_fsync_range+0x103/0x260 fs/sync.c:196 generic_write_sync include/linux/fs.h:2684 [inline] generic_file_write_iter+0x410/0x650 mm/filemap.c:3212 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fc9460320f9 RSP: 002b:00007fc9445a4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc946151f80 RCX: 00007fc9460320f9 RDX: 0000000000000088 RSI: 0000000020000400 RDI: 0000000000000004 RBP: 00007fc94608dae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2e71036f R14: 00007fc9445a4300 R15: 0000000000022000 Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 03 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 d5 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 RIP: lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: ffff88804e1df8b8 ---[ end trace ff679ef3b73c8234 ]--- ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 06 03 00 00 jne 0x314 e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4d 8b 6c 24 20 mov 0x20(%r12),%r13 1d: 49 8d bd e0 00 00 00 lea 0xe0(%r13),%rdi 24: 48 89 fa mov %rdi,%rdx 27: 48 c1 ea 03 shr $0x3,%rdx * 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2f: 0f 85 d5 02 00 00 jne 0x30a 35: 4d 8b ad e0 00 00 00 mov 0xe0(%r13),%r13 3c: 4d 39 ee cmp %r13,%r14 3f: 74 .byte 0x74