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: 5931 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline]
RIP: 0010:lmLogSync+0x244/0x9f0 fs/jfs/jfs_logmgr.c:937
Code: 66 aa fe 4d 8d 7e f0 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 5a 00 d9 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 3e 00 d9 fe 49 8b 3f e8 66 66 aa fe
RSP: 0018:ffffc90004167b60 EFLAGS: 00010206
RAX: 0000000000000006 RBX: dffffc0000000000 RCX: ffff888101b11d40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004167c68 R08: ffffc90004167aaf R09: 0000000000000000
R10: ffffc90004167948 R11: fffff5200082cf56 R12: ffff88817513b000
R13: ffffc90004167bc0 R14: ffff88810c406038 R15: 0000000000000030
FS:  0000555575985500(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c009085000 CR3: 0000000113252000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 jfs_syncpt+0x7b/0x90 fs/jfs/jfs_logmgr.c:1041
 jfs_sync_fs+0x87/0xa0 fs/jfs/super.c:650
 sync_filesystem+0xee/0x230 fs/sync.c:56
 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:0x7f2b7579bf17
Code: a2 c7 05 7c 96 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:00007ffebdca68a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f2b7580471f RCX: 00007f2b7579bf17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffebdca6960
RBP: 00007ffebdca6960 R08: 00007ffebdca7960 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffebdca79f0
R13: 00007f2b7580471f R14: 00000000000148af R15: 00007ffebdca7a30
 </TASK>
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: 66 aa fe 4d 8d 7e f0 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 5a 00 d9 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 3e 00 d9 fe 49 8b 3f e8 66 66 aa fe
RSP: 0018:ffffc90004167b60 EFLAGS: 00010206
RAX: 0000000000000006 RBX: dffffc0000000000 RCX: ffff888101b11d40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004167c68 R08: ffffc90004167aaf R09: 0000000000000000
R10: ffffc90004167948 R11: fffff5200082cf56 R12: ffff88817513b000
R13: ffffc90004167bc0 R14: ffff88810c406038 R15: 0000000000000030
FS:  0000555575985500(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556a63ae10a8 CR3: 0000000113252000 CR4: 00000000000006f0
----------------
Code disassembly (best guess):
   0:	66 aa                	data16 stos %al,%es:(%rdi)
   2:	fe 4d 8d             	decb   -0x73(%rbp)
   5:	7e f0                	jle    0xfffffff7
   7:	4c 89 f8             	mov    %r15,%rax
   a:	48 c1 e8 03          	shr    $0x3,%rax
   e:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  12:	74 08                	je     0x1c
  14:	4c 89 ff             	mov    %r15,%rdi
  17:	e8 5a 00 d9 fe       	call   0xfed90076
  1c:	4d 8b 3f             	mov    (%r15),%r15
  1f:	49 83 c7 30          	add    $0x30,%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ff             	mov    %r15,%rdi
  33:	e8 3e 00 d9 fe       	call   0xfed90076
  38:	49 8b 3f             	mov    (%r15),%rdi
  3b:	e8 66 66 aa fe       	call   0xfeaa66a6
