JFS: discard option not supported on device JFS: discard option not supported on device JFS: discard option not supported on device 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: 1 PID: 7994 Comm: syz-executor403 Not tainted 4.14.304-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 task: ffff8880b4798180 task.stack: ffff88808d680000 RIP: 0010:lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: 0018:ffff88808d687af8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880aa21b400 RCX: 0000000000000003 RDX: 000000000000001c RSI: 0000000000000000 RDI: 00000000000000e0 RBP: ffff888097e09400 R08: 0000000000000001 R09: ffff888097e09400 R10: ffff888097e09487 R11: 0000000000000000 R12: ffff8880b3a6e480 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00005555570ea300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c7c400000 CR3: 00000000af633000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x254/0x380 fs/jfs/jfs_logmgr.c:2092 lmNextPage.isra.0+0x263/0x700 fs/jfs/jfs_logmgr.c:637 lmWriteRecord+0x8b2/0xe30 fs/jfs/jfs_logmgr.c:550 lmLogSync+0x126/0x660 fs/jfs/jfs_logmgr.c:990 jfs_syncpt+0x66/0x70 fs/jfs/jfs_logmgr.c:1062 jfs_sync_fs+0x80/0xa0 fs/jfs/super.c:718 __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:0x7f5c83930de7 RSP: 002b:00007ffe433b1518 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5c83930de7 RDX: 00007ffe433b15da RSI: 000000000000000a RDI: 00007ffe433b15d0 RBP: 00007ffe433b15d0 R08: 00000000ffffffff R09: 00007ffe433b13b0 R10: 00005555570eb683 R11: 0000000000000206 R12: 00007ffe433b2640 R13: 00005555570eb5f0 R14: 00007ffe433b1540 R15: 0000000000000039 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: ffff88808d687af8 ---[ end trace c8ed4a351e5315bf ]--- ---------------- 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