Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 UID: 0 PID: 8496 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline] RIP: 0010:lmLogSync+0x244/0x9f0 fs/jfs/jfs_logmgr.c:937 Code: 06 b0 fe 4d 8d 7e f0 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 4a 16 db fe 4d 8b 3f 49 83 c7 30 4c 89 f8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ff e8 2e 16 db fe 49 8b 3f e8 b6 06 b0 fe RSP: 0018:ffffc9000ccbfb60 EFLAGS: 00010206 RAX: 0000000000000006 RBX: dffffc0000000000 RCX: ffff88802e30bc80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000ccbfc68 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc9000ccbf948 R11: fffff52001997f56 R12: 0000000000000000 R13: ffff88802a127000 R14: ffff8880287bbc38 R15: 0000000000000030 FS: 000055557c21f500(0000) GS:ffff8881266c9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6585e4a286 CR3: 000000004a0b4000 CR4: 00000000003526f0 Call Trace: jfs_syncpt+0x7b/0x90 fs/jfs/jfs_logmgr.c:1041 jfs_sync_fs+0x87/0xa0 fs/jfs/super.c:650 sync_filesystem+0x1ce/0x250 fs/sync.c:66 generic_shutdown_super+0x6f/0x2c0 fs/super.c:622 kill_block_super+0x44/0x90 fs/super.c:1722 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1318 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2b7/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa34f63c117 Code: a2 c7 05 7c 94 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe2befff68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fa34f6a471f RCX: 00007fa34f63c117 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe2bf00020 RBP: 00007ffe2bf00020 R08: 00007ffe2bf01020 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe2bf010b0 R13: 00007fa34f6a471f R14: 000000000005d21c R15: 00007ffe2bf010f0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline] RIP: 0010:lmLogSync+0x244/0x9f0 fs/jfs/jfs_logmgr.c:937 Code: 06 b0 fe 4d 8d 7e f0 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 4a 16 db fe 4d 8b 3f 49 83 c7 30 4c 89 f8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ff e8 2e 16 db fe 49 8b 3f e8 b6 06 b0 fe RSP: 0018:ffffc9000ccbfb60 EFLAGS: 00010206 RAX: 0000000000000006 RBX: dffffc0000000000 RCX: ffff88802e30bc80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000ccbfc68 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc9000ccbf948 R11: fffff52001997f56 R12: 0000000000000000 R13: ffff88802a127000 R14: ffff8880287bbc38 R15: 0000000000000030 FS: 000055557c21f500(0000) GS:ffff8881266c9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d522ff8 CR3: 000000004a0b4000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: b0 fe mov $0xfe,%al 2: 4d 8d 7e f0 lea -0x10(%r14),%r15 6: 4c 89 f8 mov %r15,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 11: 74 08 je 0x1b 13: 4c 89 ff mov %r15,%rdi 16: e8 4a 16 db fe call 0xfedb1665 1b: 4d 8b 3f mov (%r15),%r15 1e: 49 83 c7 30 add $0x30,%r15 22: 4c 89 f8 mov %r15,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2d: 74 08 je 0x37 2f: 4c 89 ff mov %r15,%rdi 32: e8 2e 16 db fe call 0xfedb1665 37: 49 8b 3f mov (%r15),%rdi 3a: e8 b6 06 b0 fe call 0xfeb006f5