general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 PID: 5066 Comm: syz-executor184 Not tainted 6.3.0-rc2-syzkaller-00363-g478a351ce0d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline] RIP: 0010:jfs_flush_journal+0x99e/0xec0 fs/jfs/jfs_logmgr.c:1582 Code: b1 fe 49 8d 5f f0 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 a0 37 d9 fe 48 8b 1b 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 4c 8b 74 24 38 74 08 48 89 df e8 7e 37 d9 fe 48 8b RSP: 0018:ffffc90003d1fae0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: 7afcf5cf5c48d200 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003d1fc20 R08: ffffffff81b895aa R09: ffffc90003d1fa30 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88806d158460 R15: ffff888028c31838 FS: 000055555704b300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd2f0fd38 CR3: 0000000077b58000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_umount+0x170/0x3a0 fs/jfs/jfs_umount.c:58 jfs_put_super+0x8a/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x134/0x340 fs/super.c:491 kill_block_super+0x7e/0xe0 fs/super.c:1398 deactivate_locked_super+0xa4/0x110 fs/super.c:331 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1177 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f67891049b7 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 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:00007fffd2f10478 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f67891049b7 RDX: 00007fffd2f1053a RSI: 000000000000000a RDI: 00007fffd2f10530 RBP: 00007fffd2f10530 R08: 00000000ffffffff R09: 00007fffd2f10310 R10: 000055555704c653 R11: 0000000000000206 R12: 00007fffd2f115f0 R13: 000055555704c5f0 R14: 00007fffd2f104a0 R15: 00007fffd2f11610 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline] RIP: 0010:jfs_flush_journal+0x99e/0xec0 fs/jfs/jfs_logmgr.c:1582 Code: b1 fe 49 8d 5f f0 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 a0 37 d9 fe 48 8b 1b 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 4c 8b 74 24 38 74 08 48 89 df e8 7e 37 d9 fe 48 8b RSP: 0018:ffffc90003d1fae0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: 7afcf5cf5c48d200 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003d1fc20 R08: ffffffff81b895aa R09: ffffc90003d1fa30 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88806d158460 R15: ffff888028c31838 FS: 000055555704b300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f67890b0000 CR3: 0000000077b58000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: b1 fe mov $0xfe,%cl 2: 49 8d 5f f0 lea -0x10(%r15),%rbx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 a0 37 d9 fe callq 0xfed937bc 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 30 add $0x30,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 4c 8b 74 24 38 mov 0x38(%rsp),%r14 34: 74 08 je 0x3e 36: 48 89 df mov %rbx,%rdi 39: e8 7e 37 d9 fe callq 0xfed937bc 3e: 48 rex.W 3f: 8b .byte 0x8b