bisecting fixing commit since c3038e718a19fc596f7b1baba0f83d5146dc7784 building syzkaller on d01bb02a96019cda0fa8c46e5c6d5eb66a273f17 testing commit c3038e718a19fc596f7b1baba0f83d5146dc7784 with gcc (GCC) 8.1.0 kernel signature: 6386a87ad132443a7e9dff904001a455208dd43f5314bf0dbde9101d2a066375 all runs: crashed: general protection fault in do_blockdev_direct_IO testing current HEAD c37da90efff5f183bea6ae4c2af33571f61fe317 testing commit c37da90efff5f183bea6ae4c2af33571f61fe317 with gcc (GCC) 8.1.0 kernel signature: 9094242a7bee4667c72eca20f67a4edc91d95851ed50af74cd3df689cdeef77d all runs: crashed: general protection fault in do_blockdev_direct_IO revisions tested: 2, total time: 29m13.989718527s (build: 20m57.894214046s, test: 6m27.481187763s) the crash still happens on HEAD commit msg: Linux 4.19.143 crash: general protection fault in do_blockdev_direct_IO 8021q: adding VLAN 0 to HW filter on device batadv0 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 8021q: adding VLAN 0 to HW filter on device batadv0 general protection fault: 0000 [#1] PREEMPT SMP KASAN 8021q: adding VLAN 0 to HW filter on device batadv0 CPU: 1 PID: 7260 Comm: syz-executor.4 Not tainted 4.19.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kasan: CONFIG_KASAN_INLINE enabled 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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 kasan: GPF could be caused by NULL-ptr deref or user memory access RSP: 0018:ffff888098017450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888098017790 R08: fffff94000418bc7 R09: fffff94000418bc6 R10: fffff94000418bc6 R11: ffffea00020c5e37 R12: dffffc0000000000 R13: ffffea00020c5e00 R14: ffffea00020c5e34 R15: ffff888095239a40 FS: 00007efd6be7d700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020788ffc CR3: 0000000095e4d000 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:3769 [inline] ext4_direct_IO+0x87d/0x17d0 fs/ext4/inode.c:3907 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [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/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459f79 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efd6be7cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459f79 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efd6be7d6d4 R13: 00000000004c9bcf R14: 00000000004e0790 R15: 00000000ffffffff Modules linked in: ---[ end trace 926aed9950769f31 ]--- kasan: CONFIG_KASAN_INLINE enabled general protection fault: 0000 [#2] PREEMPT SMP KASAN kasan: CONFIG_KASAN_INLINE enabled CPU: 1 PID: 7262 Comm: syz-executor.5 Tainted: G D 4.19.143-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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff888096f17450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888096f17790 R08: fffff940004adb47 R09: fffff940004adb46 R10: fffff940004adb46 R11: ffffea000256da37 R12: dffffc0000000000 R13: ffffea000256da00 R14: ffffea000256da34 R15: ffff888083277a80 FS: 00007fc93f2b4700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561bb1b5a970 CR3: 000000009520a000 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:3769 [inline] ext4_direct_IO+0x87d/0x17d0 fs/ext4/inode.c:3907 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [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/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459f79 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc93f2b3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459f79 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc93f2b46d4 R13: 00000000004c9bcf R14: 00000000004e0790 R15: 00000000ffffffff Modules linked in: ---[ end trace 926aed9950769f32 ]--- kasan: CONFIG_KASAN_INLINE enabled 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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 kasan: GPF could be caused by NULL-ptr deref or user memory access 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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 kasan: CONFIG_KASAN_INLINE enabled Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 kasan: GPF could be caused by NULL-ptr deref or user memory access Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 kasan: GPF could be caused by NULL-ptr deref or user memory access RSP: 0018:ffff888098017450 EFLAGS: 00010202 general protection fault: 0000 [#3] PREEMPT SMP KASAN RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 CPU: 0 PID: 7282 Comm: syz-executor.1 Tainted: G D 4.19.143-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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff8880a0417450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8880a0417790 R08: fffff9400049dc07 R09: fffff9400049dc06 R10: fffff9400049dc06 R11: ffffea00024ee037 R12: dffffc0000000000 R13: ffffea00024ee000 R14: ffffea00024ee034 R15: ffff888083276d80 FS: 00007ff00a584700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e35041000 CR3: 00000000832ad000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RSP: 0018:ffff888098017450 EFLAGS: 00010202 kasan: GPF could be caused by NULL-ptr deref or user memory access __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3769 [inline] ext4_direct_IO+0x87d/0x17d0 fs/ext4/inode.c:3907 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [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/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459f79 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff00a583c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459f79 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff00a5846d4 R13: 00000000004c9bcf R14: 00000000004e0790 R15: 00000000ffffffff Modules linked in: general protection fault: 0000 [#4] PREEMPT SMP KASAN CPU: 1 PID: 7270 Comm: syz-executor.0 Tainted: G D 4.19.143-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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff888095a87450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888095a87790 R08: fffff940004bc387 R09: fffff940004bc386 R10: fffff940004bc386 R11: ffffea00025e1c37 R12: dffffc0000000000 R13: ffffea00025e1c00 R14: ffffea00025e1c34 R15: ffff888083277740 FS: 00007fc9ff435700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561bb1b5a970 CR3: 0000000094b4c000 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:3769 [inline] ext4_direct_IO+0x87d/0x17d0 fs/ext4/inode.c:3907 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [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/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459f79 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc9ff434c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459f79 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc9ff4356d4 R13: 00000000004c9bcf R14: 00000000004e0790 R15: 00000000ffffffff Modules linked in: general protection fault: 0000 [#5] PREEMPT SMP KASAN CPU: 0 PID: 7271 Comm: syz-executor.2 Tainted: G D 4.19.143-syzkaller #0 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff888097faf450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888097faf790 R08: fffff94000431307 R09: fffff94000431306 R10: fffff94000431306 R11: ffffea0002189837 R12: dffffc0000000000 R13: ffffea0002189800 R14: ffffea0002189834 R15: ffff8880832770c0 FS: 00007f712ddb2700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e35041000 CR3: 0000000094b44000 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:3769 [inline] ext4_direct_IO+0x87d/0x17d0 fs/ext4/inode.c:3907 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [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/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459f79 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f712ddb1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459f79 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f712ddb26d4 R13: 00000000004c9bcf R14: 00000000004e0790 R15: 00000000ffffffff Modules linked in: general protection fault: 0000 [#6] PREEMPT SMP KASAN CPU: 1 PID: 7272 Comm: syz-executor.3 Tainted: G D 4.19.143-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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RSP: 0018:ffff888097fb7450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 ---[ end trace 926aed9950769f33 ]--- RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff888097fb7790 R08: fffff9400045f807 R09: fffff9400045f806 R10: fffff9400045f806 R11: ffffea00022fc037 R12: dffffc0000000000 R13: ffffea00022fc000 R14: ffffea00022fc034 R15: ffff888083277400 FS: 00007f120c31b700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561bb1b5a970 CR3: 0000000094da1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:931 [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+0x1bc4/0x6d30 fs/direct-io.c:1332 Call Trace: __blockdev_direct_IO+0x72/0xd9 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3769 [inline] ext4_direct_IO+0x87d/0x17d0 fs/ext4/inode.c:3907 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3065 __generic_file_write_iter+0x270/0x580 mm/filemap.c:3244 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [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/0x12d0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice fs/splice.c:1408 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459f79 Code: 2d 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f120c31ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459f79 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f120c31b6d4 R13: 00000000004c9bcf R14: 00000000004e0790 R15: 00000000ffffffff Modules linked in: RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 Code: 41 ff 0c 24 0f 85 46 ff ff ff 4c 89 ef e8 14 d1 d5 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 1d 42 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 RBP: ffff888098017790 R08: fffff94000418bc7 R09: fffff94000418bc6 RSP: 0018:ffff888098017450 EFLAGS: 00010202 R10: fffff94000418bc6 R11: ffffea00020c5e37 R12: dffffc0000000000 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81a80449 R13: ffffea00020c5e00 R14: ffffea00020c5e34 R15: ffff888095239a40 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 FS: 00007fc93f2b4700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 RBP: ffff888098017790 R08: fffff94000418bc7 R09: fffff94000418bc6 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R10: fffff94000418bc6 R11: ffffea00020c5e37 R12: dffffc0000000000 RBP: ffff888098017790 R08: fffff94000418bc7 R09: fffff94000418bc6 R13: ffffea00020c5e00 R14: ffffea00020c5e34 R15: ffff888095239a40 CR2: 0000561bb1b5a970 CR3: 000000009520a000 CR4: 00000000001406e0 FS: 00007f712ddb2700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 R10: fffff94000418bc6 R11: ffffea00020c5e37 R12: dffffc0000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 CR2: 00007f2e3505b000 CR3: 0000000094b44000 CR4: 00000000001406f0 R13: ffffea00020c5e00 R14: ffffea00020c5e34 R15: ffff888095239a40 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400