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 CPU: 0 PID: 8099 Comm: syz-executor385 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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:ffff8880b161fa70 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a9b41300 RCX: 0000000000000003 RDX: 000000000000001c RSI: ffffffff835f37ea RDI: 00000000000000e0 RBP: ffff8880a16be3c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b078a480 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000555555978300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f178d908000 CR3: 00000000a57c8000 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 lmNextPage.isra.0+0x285/0x740 fs/jfs/jfs_logmgr.c:637 lmWriteRecord+0x94a/0xee0 fs/jfs/jfs_logmgr.c:550 lmLogSync+0x154/0x6e0 fs/jfs/jfs_logmgr.c:990 jfs_syncpt+0x78/0x90 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+0x105/0x250 fs/sync.c:64 generic_shutdown_super+0x70/0x370 fs/super.c:442 kill_block_super+0x97/0xf0 fs/super.c:1185 deactivate_locked_super+0x94/0x160 fs/super.c:329 deactivate_super+0x174/0x1a0 fs/super.c:360 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fd10eafd887 Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe31a86a58 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fd10eafd887 RDX: 00007ffe31a86b1a RSI: 000000000000000a RDI: 00007ffe31a86b10 RBP: 00007ffe31a86b10 R08: 00000000ffffffff R09: 00007ffe31a868f0 R10: 0000555555979683 R11: 0000000000000202 R12: 00007ffe31a87b80 R13: 00005555559795f0 R14: 00007ffe31a86a80 R15: 0000000000000039 Modules linked in: ---[ end trace 65d868153f37bce1 ]--- 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:ffff8880b161fa70 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a9b41300 RCX: 0000000000000003 RDX: 000000000000001c RSI: ffffffff835f37ea RDI: 00000000000000e0 RBP: ffff8880a16be3c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b078a480 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000555555978300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f178d908000 CR3: 00000000a57c8000 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