bisecting fixing commit since c3038e718a19fc596f7b1baba0f83d5146dc7784 building syzkaller on d01bb02a96019cda0fa8c46e5c6d5eb66a273f17 testing commit c3038e718a19fc596f7b1baba0f83d5146dc7784 with gcc (GCC) 8.1.0 kernel signature: 02deb3c2663370a2c1470bdd695799e4e93b73ac all runs: crashed: general protection fault in do_blockdev_direct_IO testing current HEAD 312017a460d5ea31d646e7148e400e13db799ddc testing commit 312017a460d5ea31d646e7148e400e13db799ddc with gcc (GCC) 8.1.0 kernel signature: f74b01451a31c2c29f36177ad7c0f3fed6226f35 all runs: crashed: general protection fault in do_blockdev_direct_IO revisions tested: 2, total time: 24m49.937642426s (build: 16m48.83121658s, test: 7m2.40681009s) the crash still happens on HEAD commit msg: Linux 4.19.89 crash: general protection fault in do_blockdev_direct_IO kasan: CONFIG_KASAN_INLINE enabled 8021q: adding VLAN 0 to HW filter on device batadv0 kasan: GPF could be caused by NULL-ptr deref or user memory access 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 kasan: CONFIG_KASAN_INLINE enabled CPU: 1 PID: 7100 Comm: syz-executor.1 Not tainted 4.19.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 kobject: 'vlan0' (000000003eba7d6f): kobject_add_internal: parent: 'mesh', set: '' RSP: 0018:ffff888088a07450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888088a07790 R08: fffff94000501ac7 R09: fffff94000501ac6 R10: fffff94000501ac6 R11: ffffea000280d637 R12: dffffc0000000000 R13: ffffea000280d600 R14: ffffea000280d634 R15: ffff888089c45a80 FS: 00007f507a153700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab1caf6330 CR3: 000000009a9ed000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan: GPF could be caused by NULL-ptr deref or user memory access __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 kasan: GPF could be caused by NULL-ptr deref or user memory access ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x7c8/0x1780 fs/ext4/inode.c:3881 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x281/0xe80 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x4ae/0x960 fs/read_write.c:681 do_iter_write+0x12a/0x510 fs/read_write.c:960 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x558/0xc30 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0x4fd/0x1250 fs/splice.c:1153 __do_sys_splice fs/splice.c:1420 [inline] __se_sys_splice fs/splice.c:1400 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1400 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459ef9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f507a152c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459ef9 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f507a1536d4 R13: 00000000004c9b4f R14: 00000000004e0710 R15: 00000000ffffffff Modules linked in: general protection fault: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 7097 Comm: syz-executor.0 Tainted: G D 4.19.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff88808616f450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff88808616f790 R08: fffff940004f9547 R09: fffff940004f9546 R10: fffff940004f9546 R11: ffffea00027caa37 R12: dffffc0000000000 R13: ffffea00027caa00 R14: ffffea00027caa34 R15: ffff88808884fa40 FS: 00007f4551e23700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000013a5750 CR3: 00000000a4dbb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x7c8/0x1780 fs/ext4/inode.c:3881 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x281/0xe80 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x4ae/0x960 fs/read_write.c:681 do_iter_write+0x12a/0x510 fs/read_write.c:960 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x558/0xc30 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0x4fd/0x1250 fs/splice.c:1153 __do_sys_splice fs/splice.c:1420 [inline] __se_sys_splice fs/splice.c:1400 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1400 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459ef9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4551e22c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459ef9 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4551e236d4 R13: 00000000004c9b4f R14: 00000000004e0710 R15: 00000000ffffffff Modules linked in: general protection fault: 0000 [#3] PREEMPT SMP KASAN ---[ end trace 9382048e2a0eaa4d ]--- CPU: 1 PID: 7106 Comm: syz-executor.5 Tainted: G D 4.19.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 RSP: 0018:ffff88809c867450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff88809c867790 R08: fffff94000435b47 R09: fffff94000435b46 R10: fffff94000435b46 R11: ffffea00021ada37 R12: dffffc0000000000 R13: ffffea00021ada00 R14: ffffea00021ada34 R15: ffff88808884f3c0 FS: 00007f87ca078700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000237b000 CR3: 00000000916ca000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x7c8/0x1780 fs/ext4/inode.c:3881 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x281/0xe80 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x4ae/0x960 fs/read_write.c:681 do_iter_write+0x12a/0x510 fs/read_write.c:960 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x558/0xc30 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0x4fd/0x1250 fs/splice.c:1153 __do_sys_splice fs/splice.c:1420 [inline] __se_sys_splice fs/splice.c:1400 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1400 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459ef9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f87ca077c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459ef9 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f87ca0786d4 R13: 00000000004c9b4f R14: 00000000004e0710 R15: 00000000ffffffff Modules linked in: general protection fault: 0000 [#4] PREEMPT SMP KASAN CPU: 0 PID: 7105 Comm: syz-executor.2 Tainted: G D 4.19.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 ---[ end trace 9382048e2a0eaa4e ]--- RSP: 0018:ffff8880a1007450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8880a1007790 R08: fffff9400040aa07 R09: fffff9400040aa06 R10: fffff9400040aa06 R11: ffffea0002055037 R12: dffffc0000000000 R13: ffffea0002055000 R14: ffffea0002055034 R15: ffff88808884f700 FS: 00007f5aaa39a700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000013a5750 CR3: 00000000a4ab9000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x7c8/0x1780 fs/ext4/inode.c:3881 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x281/0xe80 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x4ae/0x960 fs/read_write.c:681 do_iter_write+0x12a/0x510 fs/read_write.c:960 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x558/0xc30 fs/splice.c:750 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff888088a07450 EFLAGS: 00010202 do_splice_from fs/splice.c:852 [inline] do_splice+0x4fd/0x1250 fs/splice.c:1153 __do_sys_splice fs/splice.c:1420 [inline] __se_sys_splice fs/splice.c:1400 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1400 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459ef9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f5aaa399c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459ef9 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5aaa39a6d4 R13: 00000000004c9b4f R14: 00000000004e0710 R15: 00000000ffffffff Modules linked in: Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 kasan: CONFIG_KASAN_INLINE enabled kobject: 'loop4' (000000006a600cda): kobject_uevent_env kasan: CONFIG_KASAN_INLINE enabled kobject: 'loop4' (000000006a600cda): fill_kobj_path: path = '/devices/virtual/block/loop4' kasan: GPF could be caused by NULL-ptr deref or user memory access kobject: 'loop3' (00000000ba6cf03a): kobject_uevent_env general protection fault: 0000 [#5] PREEMPT SMP KASAN kobject: 'loop3' (00000000ba6cf03a): fill_kobj_path: path = '/devices/virtual/block/loop3' CPU: 1 PID: 7110 Comm: syz-executor.4 Tainted: G D 4.19.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff888081bff450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888081bff790 R08: fffff94000525207 R09: fffff94000525206 R10: fffff94000525206 R11: ffffea0002929037 R12: dffffc0000000000 R13: ffffea0002929000 R14: ffffea0002929034 R15: ffff888089c45740 FS: 00007facc9f64700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020788ffc CR3: 0000000086198000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x7c8/0x1780 fs/ext4/inode.c:3881 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x281/0xe80 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x4ae/0x960 fs/read_write.c:681 do_iter_write+0x12a/0x510 fs/read_write.c:960 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x558/0xc30 fs/splice.c:750 RSP: 0018:ffff888088a07450 EFLAGS: 00010202 do_splice_from fs/splice.c:852 [inline] do_splice+0x4fd/0x1250 fs/splice.c:1153 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 __do_sys_splice fs/splice.c:1420 [inline] __se_sys_splice fs/splice.c:1400 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1400 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RIP: 0033:0x459ef9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007facc9f63c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459ef9 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007facc9f646d4 R13: 00000000004c9b4f R14: 00000000004e0710 R15: 00000000ffffffff Modules linked in: kasan: GPF could be caused by NULL-ptr deref or user memory access RBP: ffff888088a07790 R08: fffff94000501ac7 R09: fffff94000501ac6 general protection fault: 0000 [#6] PREEMPT SMP KASAN R10: fffff94000501ac6 R11: ffffea000280d637 R12: dffffc0000000000 CPU: 1 PID: 7109 Comm: syz-executor.3 Tainted: G D 4.19.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:get_page include/linux/mm.h:919 [inline] RIP: 0010:submit_page_section fs/direct-io.c:889 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1096 [inline] RIP: 0010:do_blockdev_direct_IO+0x1c8d/0x6d00 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 8b 11 d6 ff e9 39 ff ff ff 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 7f 40 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff8880821df450 EFLAGS: 00010202 R13: ffffea000280d600 R14: ffffea000280d634 R15: ffff888089c45a80 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a681c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8880821df790 R08: fffff94000527007 R09: fffff94000527006 R10: fffff94000527006 R11: ffffea0002938037 R12: dffffc0000000000 R13: ffffea0002938000 R14: ffffea0002938034 R15: ffff888089c45400 FS: 00007f2cd6d86700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007f507a153700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CR2: 00000000013afa78 CR3: 000000009aaa6000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 CR2: 00007f7692dfe000 CR3: 000000009a9ed000 CR4: 00000000001406f0 ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x7c8/0x1780 fs/ext4/inode.c:3881 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x281/0xe80 fs/ext4/file.c:270 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400