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: 0 PID: 10183 Comm: syz-executor.5 Not tainted 4.14.304-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
task: ffff8880471285c0 task.stack: ffff888046c70000
RIP: 0010:lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143
RSP: 0018:ffff888046c77430 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88809377e400 RCX: 0000000000000003
RDX: 000000000000001c RSI: ffffffff8305e7cb RDI: 00000000000000e0
RBP: ffff8880a18b8e80 R08: 0000000000000001 R09: ffff8880a18b8e80
R10: ffff8880a18b8f07 R11: 0000000000000000 R12: ffff888099fb2d80
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f51a79b1700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055db40cc5957 CR3: 000000009463b000 CR4: 00000000003426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lbmWrite+0x254/0x380 fs/jfs/jfs_logmgr.c:2092
 lmGCwrite+0x3d4/0x4d0 fs/jfs/jfs_logmgr.c:806
 lmGroupCommit+0x21d/0x640 fs/jfs/jfs_logmgr.c:708
 txCommit+0x947/0x3580 fs/jfs/jfs_txnmgr.c:1313
 jfs_commit_inode+0x1f0/0x320 fs/jfs/inode.c:120
XFS (loop0): Mounting V4 Filesystem
 jfs_fsync+0xf6/0x1e0 fs/jfs/file.c:50
 vfs_fsync_range+0x103/0x260 fs/sync.c:196
XFS (loop0): Ending clean mount
 generic_write_sync include/linux/fs.h:2684 [inline]
 generic_file_write_iter+0x410/0x650 mm/filemap.c:3212
 call_write_iter include/linux/fs.h:1780 [inline]
 do_iter_readv_writev+0x4cf/0x5f0 fs/read_write.c:675
 do_iter_write+0x152/0x550 fs/read_write.c:954
 vfs_iter_write+0x70/0xa0 fs/read_write.c:967
 iter_file_splice_write+0x52b/0xa90 fs/splice.c:749
 do_splice_from fs/splice.c:851 [inline]
 direct_splice_actor+0x115/0x160 fs/splice.c:1018
 splice_direct_to_actor+0x27c/0x730 fs/splice.c:973
 do_splice_direct+0x164/0x210 fs/splice.c:1061
 do_sendfile+0x47f/0xb30 fs/read_write.c:1441
 SYSC_sendfile64 fs/read_write.c:1502 [inline]
 SyS_sendfile64+0xff/0x110 fs/read_write.c:1488
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f51a943f0c9
RSP: 002b:00007f51a79b1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f51a955ef80 RCX: 00007f51a943f0c9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005
RBP: 00007f51a949aae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0800000080000016 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc98a44c0f R14: 00007f51a79b1300 R15: 0000000000022000
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: ffff888046c77430
---[ end trace cc0c032e228de62c ]---
XFS (loop0): Unmounting Filesystem
----------------
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