general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 8030 Comm: syz-executor.1 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff888099bf2340 task.stack: ffff888096870000 RIP: 0010:lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: 0018:ffff888096877b98 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880aa711c00 RCX: 0000000000000003 RDX: 000000000000001c RSI: 0000000000000000 RDI: 00000000000000e0 RBP: ffff8880ab3227c0 R08: 0000000000000001 R09: ffff8880ab3227c0 R10: ffff8880ab322847 R11: 0000000000000000 R12: ffff8880956b5b40 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555555a53400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556729808 CR3: 0000000097127000 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 jfs_flush_journal.part.0+0x3e6/0x600 fs/jfs/jfs_logmgr.c:1570 jfs_flush_journal+0x23/0x30 fs/jfs/jfs_logmgr.c:1537 jfs_sync_fs+0x76/0xa0 fs/jfs/super.c:717 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem fs/sync.c:64 [inline] sync_filesystem+0xe2/0x230 fs/sync.c:48 generic_shutdown_super+0x70/0x370 fs/super.c:432 kill_block_super+0x95/0xe0 fs/super.c:1161 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fa4b8ab7547 RSP: 002b:00007fffe4f91c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa4b8ab7547 RDX: 00007fffe4f91d39 RSI: 000000000000000a RDI: 00007fffe4f91d30 RBP: 00007fffe4f91d30 R08: 00000000ffffffff R09: 00007fffe4f91b00 R10: 0000555555a54903 R11: 0000000000000246 R12: 00007fa4b8b10b24 R13: 00007fffe4f92df0 R14: 0000555555a54810 R15: 00007fffe4f92e30 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: ffff888096877b98 audit: type=1326 audit(1671408494.907:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=9636 comm="syz-executor.5" exe="/root/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fc472cec0d9 code=0x0 ---[ end trace ff8293f3de8bbf2a ]--- ---------------- 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