bisecting fixing commit since c3038e718a19fc596f7b1baba0f83d5146dc7784 building syzkaller on d01bb02a96019cda0fa8c46e5c6d5eb66a273f17 testing commit c3038e718a19fc596f7b1baba0f83d5146dc7784 with gcc (GCC) 8.4.1 20210217 kernel signature: d8ce7ba6cca44a227ae7f2ea842cc739f38c83cc190a5f5dff38a78512233dd5 run #0: crashed: general protection fault in do_blockdev_direct_IO run #1: crashed: general protection fault in do_blockdev_direct_IO run #2: crashed: general protection fault in do_blockdev_direct_IO run #3: crashed: general protection fault in do_blockdev_direct_IO run #4: crashed: general protection fault in do_blockdev_direct_IO run #5: crashed: general protection fault in do_blockdev_direct_IO run #6: crashed: general protection fault in do_blockdev_direct_IO run #7: crashed: general protection fault in do_blockdev_direct_IO run #8: crashed: general protection fault in do_blockdev_direct_IO run #9: crashed: general protection fault in do_blockdev_direct_IO run #10: crashed: general protection fault in do_blockdev_direct_IO run #11: crashed: general protection fault in do_blockdev_direct_IO run #12: crashed: general protection fault in do_blockdev_direct_IO run #13: crashed: general protection fault in do_blockdev_direct_IO run #14: crashed: general protection fault in do_blockdev_direct_IO run #15: crashed: general protection fault in do_blockdev_direct_IO run #16: crashed: general protection fault in do_blockdev_direct_IO run #17: crashed: general protection fault in do_blockdev_direct_IO run #18: crashed: KASAN: use-after-free Read in class_equal run #19: crashed: general protection fault in do_blockdev_direct_IO testing current HEAD 1e986fe9ad15b8406034c504afc5ae76f0a8e852 testing commit 1e986fe9ad15b8406034c504afc5ae76f0a8e852 with gcc (GCC) 8.4.1 20210217 kernel signature: 35848521c1ecd027c702b2892d755d2dd9cd2e8273a4d915316c929c6f654760 run #0: crashed: general protection fault in do_blockdev_direct_IO run #1: crashed: general protection fault in do_blockdev_direct_IO run #2: crashed: general protection fault in do_blockdev_direct_IO run #3: crashed: general protection fault in do_blockdev_direct_IO run #4: crashed: general protection fault in do_blockdev_direct_IO run #5: crashed: general protection fault in do_blockdev_direct_IO run #6: crashed: kernel BUG in do_blockdev_direct_IO run #7: crashed: general protection fault in do_blockdev_direct_IO run #8: crashed: general protection fault in do_blockdev_direct_IO run #9: crashed: general protection fault in do_blockdev_direct_IO revisions tested: 2, total time: 28m22.572199657s (build: 21m20.645694917s, test: 6m5.854442748s) the crash still happens on HEAD commit msg: Linux 4.19.191 crash: general protection fault in do_blockdev_direct_IO IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 kasan: CONFIG_KASAN_INLINE enabled 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 CPU: 0 PID: 6533 Comm: syz-executor.5 Not tainted 4.19.191-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:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RSP: 0018:ffff8881e4377450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8881e4377790 R08: fffff94000f41447 R09: fffff94000f41446 R10: fffff94000f41446 R11: ffffea0007a0a237 R12: 0000000000000000 R13: ffffea0007a0a200 R14: ffffea0007a0a234 R15: ffff8881e58cfa40 FS: 00007ff07b78e700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 kasan: CONFIG_KASAN_INLINE enabled CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71e4084de0 CR3: 00000001e5edd006 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xe0 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0x87f/0x17d0 fs/ext4/inode.c:3915 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3073 __generic_file_write_iter+0x279/0x590 mm/filemap.c:3252 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 fs/read_write.c:960 [inline] do_iter_write+0x12a/0x510 fs/read_write.c:941 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x55d/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0xa25/0x12b0 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:0x461949 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff07b78e1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 kasan: CONFIG_KASAN_INLINE enabled RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000006 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8f90 R14: 00000000004b50c4 R15: 00007ff07b78e6bc Modules linked in: kasan: GPF could be caused by NULL-ptr deref or user memory access kasan: GPF could be caused by NULL-ptr deref or user memory access kasan: CONFIG_KASAN_INLINE enabled kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access kasan: CONFIG_KASAN_INLINE enabled general protection fault: 0000 [#2] PREEMPT SMP KASAN kasan: GPF could be caused by NULL-ptr deref or user memory access CPU: 0 PID: 6541 Comm: syz-executor.0 Tainted: G D 4.19.191-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:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RSP: 0018:ffff8881e5a67450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8881e5a67790 R08: fffff94000e91b07 R09: fffff94000e91b06 R10: fffff94000e91b06 R11: ffffea000748d837 R12: 0000000000000000 R13: ffffea000748d800 R14: ffffea000748d834 R15: ffff8881e58cf700 FS: 00007fa2db970700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020788ffc CR3: 00000001e6651002 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xe0 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0x87f/0x17d0 fs/ext4/inode.c:3915 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3073 __generic_file_write_iter+0x279/0x590 mm/filemap.c:3252 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 fs/read_write.c:960 [inline] do_iter_write+0x12a/0x510 fs/read_write.c:941 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x55d/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0xa25/0x12b0 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:0x461949 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa2db9701a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000006 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8f90 R14: 00000000004b50c4 R15: 00007fa2db9706bc Modules linked in: general protection fault: 0000 [#3] PREEMPT SMP KASAN CPU: 1 PID: 6538 Comm: syz-executor.1 Tainted: G D 4.19.191-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:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RSP: 0018:ffff8881e3847450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8881e3847790 R08: fffff94000ef4bc7 R09: fffff94000ef4bc6 R10: fffff94000ef4bc6 R11: ffffea00077a5e37 R12: 0000000000000000 R13: ffffea00077a5e00 R14: ffffea00077a5e34 R15: ffff8881ce47d0c0 FS: 00007facef94e700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561c618a1860 CR3: 00000001e5a5e005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xe0 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0x87f/0x17d0 fs/ext4/inode.c:3915 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3073 __generic_file_write_iter+0x279/0x590 mm/filemap.c:3252 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 fs/read_write.c:960 [inline] do_iter_write+0x12a/0x510 fs/read_write.c:941 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x55d/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0xa25/0x12b0 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:0x461949 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007facef94e1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000006 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8f90 R14: 00000000004b50c4 R15: 00007facef94e6bc Modules linked in: general protection fault: 0000 [#4] PREEMPT SMP KASAN CPU: 0 PID: 6543 Comm: syz-executor.4 Tainted: G D 4.19.191-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:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 kasan: GPF could be caused by NULL-ptr deref or user memory access RSP: 0018:ffff8881cf3ef450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8881cf3ef790 R08: fffff94000e91c07 R09: fffff94000e91c06 R10: fffff94000e91c06 R11: ffffea000748e037 R12: 0000000000000000 R13: ffffea000748e000 R14: ffffea000748e034 R15: ffff8881ce47d740 FS: 00007fbf3a040700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd122151000 CR3: 00000001ce491004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xe0 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0x87f/0x17d0 fs/ext4/inode.c:3915 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3073 __generic_file_write_iter+0x279/0x590 mm/filemap.c:3252 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 fs/read_write.c:960 [inline] do_iter_write+0x12a/0x510 fs/read_write.c:941 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x55d/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0xa25/0x12b0 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:0x461949 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbf3a0401a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000006 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8f90 R14: 00000000004b50c4 R15: 00007fbf3a0406bc Modules linked in: general protection fault: 0000 [#5] PREEMPT SMP KASAN CPU: 1 PID: 6548 Comm: syz-executor.3 Tainted: G D 4.19.191-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:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RSP: 0018:ffff8881d6c9f450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8881d6c9f790 R08: fffff94000f1c647 R09: fffff94000f1c646 R10: fffff94000f1c646 R11: ffffea00078e3237 R12: 0000000000000000 R13: ffffea00078e3200 R14: ffffea00078e3234 R15: ffff8881ce47d400 FS: 00007fd43f4ac700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561c618a6140 CR3: 00000001e43a0001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xe0 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0x87f/0x17d0 fs/ext4/inode.c:3915 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3073 __generic_file_write_iter+0x279/0x590 mm/filemap.c:3252 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 fs/read_write.c:960 [inline] do_iter_write+0x12a/0x510 fs/read_write.c:941 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x55d/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0xa25/0x12b0 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:0x461949 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd43f4ac1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000006 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8f90 R14: 00000000004b50c4 R15: 00007fd43f4ac6bc Modules linked in: general protection fault: 0000 [#6] PREEMPT SMP KASAN CPU: 0 PID: 6540 Comm: syz-executor.2 Tainted: G D 4.19.191-syzkaller #0 ---[ end trace 997f6841f49e7775 ]--- Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RSP: 0018:ffff8881e4f37450 EFLAGS: 00010202 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RBP: ffff8881e4f37790 R08: fffff94000e8e8c7 R09: fffff94000e8e8c6 R10: fffff94000e8e8c6 R11: ffffea0007474637 R12: 0000000000000000 R13: ffffea0007474600 R14: ffffea0007474634 R15: ffff8881ce47da80 FS: 00007f495c81a700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd12215d000 CR3: 00000001e69c0004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0x72/0xe0 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0x87f/0x17d0 fs/ext4/inode.c:3915 generic_file_direct_write+0x1ee/0x410 mm/filemap.c:3073 __generic_file_write_iter+0x279/0x590 mm/filemap.c:3252 ext4_file_write_iter+0x282/0xe60 fs/ext4/file.c:272 RIP: 0010:__read_once_size include/linux/compiler.h:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x4ae/0x960 fs/read_write.c:681 do_iter_write fs/read_write.c:960 [inline] do_iter_write+0x12a/0x510 fs/read_write.c:941 vfs_iter_write+0x5b/0xb0 fs/read_write.c:973 iter_file_splice_write+0x55d/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0xa25/0x12b0 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:0x461949 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f495c81a1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000461949 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000006 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8f90 R14: 00000000004b50c4 R15: 00007f495c81a6bc Modules linked in: ---[ end trace 997f6841f49e7776 ]--- Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RIP: 0010:__read_once_size include/linux/compiler.h:261 [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:890 [inline] RIP: 0010:do_direct_IO fs/direct-io.c:1097 [inline] RIP: 0010:do_blockdev_direct_IO+0xeb0/0x6f70 fs/direct-io.c:1333 RSP: 0018:ffff8881e4377450 EFLAGS: 00010202 Code: 00 00 48 c7 84 24 90 02 00 00 00 00 00 00 45 85 e4 0f 85 35 0c 00 00 48 8b 84 24 f0 00 00 00 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 ba 51 00 00 48 8b b4 24 f0 00 00 00 48 8b 46 08 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RSP: 0018:ffff8881e4377450 EFLAGS: 00010202 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff81a536fe RBP: ffff8881e4377790 R08: fffff94000f41447 R09: fffff94000f41446 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000008 R10: fffff94000f41446 R11: ffffea0007a0a237 R12: 0000000000000000 RBP: ffff8881e4377790 R08: fffff94000f41447 R09: fffff94000f41446 R13: ffffea0007a0a200 R14: ffffea0007a0a234 R15: ffff8881e58cfa40 FS: 00007fd43f4ac700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f66f0031108 CR3: 00000001e43a0001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400