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: 2062 Comm: syz-executor048 Not tainted 4.9.141+ #23 task: ffff8801cffa8000 task.stack: ffff8801ce4e8000 RIP: 0010:[] [] __read_once_size include/linux/compiler.h:243 [inline] RIP: 0010:[] [] compound_head include/linux/page-flags.h:143 [inline] RIP: 0010:[] [] put_page include/linux/mm.h:782 [inline] RIP: 0010:[] [] dio_cleanup fs/direct-io.c:433 [inline] RIP: 0010:[] [] do_blockdev_direct_IO fs/direct-io.c:1276 [inline] RIP: 0010:[] [] __blockdev_direct_IO+0x1a99/0xbd10 fs/direct-io.c:1360 RSP: 0018:ffff8801ce4ef330 EFLAGS: 00010202 RAX: 0000000000000004 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815cf6f1 RDI: 0000000000000020 RBP: ffff8801ce4ef650 R08: ffff8801cffa88b0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8801ce678000 FS: 0000000000000000(0000) GS:ffff8801db600000(0063) knlGS:0000000008f64840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020011000 CR3: 00000001cf7cd000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801cffa8920 fffffbfff0604a02 ffff8801ce4ef440 ffff8801ce678098 ffff8801ce698000 0000000000001000 ffffffff83c78930 ffff8801ce678079 ffff8801ce4ef540 1df18cdd09f90347 ffff8801ce4ef4a0 0000000000000fff Call Trace: [] ext4_direct_IO_write fs/ext4/inode.c:3507 [inline] [] ext4_direct_IO+0x978/0x29c0 fs/ext4/inode.c:3663 [] generic_file_direct_write+0x284/0x510 mm/filemap.c:2655 [] __generic_file_write_iter+0x21f/0x540 mm/filemap.c:2835 [] ext4_file_write_iter+0x63d/0xd70 fs/ext4/file.c:165 [] vfs_iter_write+0x2d7/0x450 fs/read_write.c:390 [] iter_file_splice_write+0x5fb/0xb30 fs/splice.c:768 [] do_splice_from fs/splice.c:870 [inline] [] do_splice fs/splice.c:1166 [inline] [] SYSC_splice fs/splice.c:1416 [inline] [] SyS_splice+0xe4d/0x14d0 fs/splice.c:1399 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Code: 89 84 24 98 02 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 7a 8e 00 00 4f 8b ac e7 a8 00 00 00 49 8d 7d 20 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 93 8d 00 00 4d 8b 65 20 41 f6 c4 01 0f 85 8c RIP [] __read_once_size include/linux/compiler.h:243 [inline] RIP [] compound_head include/linux/page-flags.h:143 [inline] RIP [] put_page include/linux/mm.h:782 [inline] RIP [] dio_cleanup fs/direct-io.c:433 [inline] RIP [] do_blockdev_direct_IO fs/direct-io.c:1276 [inline] RIP [] __blockdev_direct_IO+0x1a99/0xbd10 fs/direct-io.c:1360 RSP ---[ end trace bd4929314ee461fa ]---