audit: type=1800 audit(1569832437.096:80): pid=9351 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=16821 res=0 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9355 Comm: syz-executor.3 Not tainted 4.19.75 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kobject: 'loop2' (00000000bb325e24): kobject_uevent_env 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:924 [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+0x2237/0x8cb0 fs/direct-io.c:1332 Code: f3 ce ff e9 47 1d 00 00 e8 16 04 b0 ff 48 8b 84 24 00 01 00 00 48 8d 78 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5d 6a 00 00 4c 8b b4 24 00 01 00 00 31 ff 4d 8b kobject: 'loop2' (00000000bb325e24): fill_kobj_path: path = '/devices/virtual/block/loop2' RSP: 0018:ffff88809f32f3e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90008271000 RDX: 0000000000000001 RSI: ffffffff81bb5e6a RDI: 0000000000000008 RBP: ffff88809f32f728 R08: ffff888058ffa480 R09: fffff940004f7447 R10: fffff940004f7446 R11: ffffea00027ba237 R12: ffffea00027ba200 R13: ffffea00027ba200 R14: 0000000000000003 R15: ffff8880574e9400 FS: 00007f742db17700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001a483a8 CR3: 000000005766e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0xa1/0xca fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3754 [inline] ext4_direct_IO+0x990/0x19e0 fs/ext4/inode.c:3881 generic_file_direct_write+0x20f/0x4b0 mm/filemap.c:3064 __generic_file_write_iter+0x2ee/0x630 mm/filemap.c:3243 ext4_file_write_iter+0x32b/0x1060 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1820 [inline] do_iter_readv_writev+0x558/0x830 fs/read_write.c:681 do_iter_write fs/read_write.c:960 [inline] do_iter_write+0x184/0x5f0 fs/read_write.c:941 vfs_iter_write+0x77/0xb0 fs/read_write.c:973 iter_file_splice_write+0x661/0xbd0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] do_splice+0x642/0x12c0 fs/splice.c:1148 __do_sys_splice fs/splice.c:1415 [inline] __se_sys_splice fs/splice.c:1395 [inline] __x64_sys_splice+0x2c6/0x330 fs/splice.c:1395 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a29 Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f742db16c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459a29 RDX: 000000000000000a RSI: 0000000000000000 RDI: 0000000000000007 RBP: 000000000075bfc8 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f742db176d4 R13: 00000000004c9234 R14: 00000000004df870 R15: 00000000ffffffff Modules linked in: audit: type=1804 audit(1569832437.106:81): pid=9351 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir221026096/syzkaller.jYm1q6/53/file0/file0" dev="sda1" ino=16821 res=1 audit: type=1800 audit(1569832437.106:82): pid=9351 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=16821 res=0 audit: type=1800 audit(1569832437.126:83): pid=9355 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=16822 res=0 kobject: 'loop2' (00000000bb325e24): kobject_uevent_env kobject: 'loop2' (00000000bb325e24): fill_kobj_path: path = '/devices/virtual/block/loop2' kobject: 'loop4' (000000003ad9878d): kobject_uevent_env kobject: 'loop4' (000000003ad9878d): fill_kobj_path: path = '/devices/virtual/block/loop4' audit: type=1800 audit(1569832437.286:84): pid=9364 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=16821 res=0 ---[ end trace 4f6126442c9c1751 ]--- kobject: 'loop0' (00000000321524d1): kobject_uevent_env kobject: 'loop0' (00000000321524d1): fill_kobj_path: path = '/devices/virtual/block/loop0' kobject: 'loop1' (000000005c2c0ce6): kobject_uevent_env audit: type=1326 audit(1569832437.856:85): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=9338 comm="syz-executor.1" exe="/root/syz-executor.1" sig=31 arch=c000003e syscall=228 compat=0 ip=0x45c86a code=0xffff0000 kobject: 'loop1' (000000005c2c0ce6): kobject_uevent_env 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:924 [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+0x2237/0x8cb0 fs/direct-io.c:1332 Code: f3 ce ff e9 47 1d 00 00 e8 16 04 b0 ff 48 8b 84 24 00 01 00 00 48 8d 78 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5d 6a 00 00 4c 8b b4 24 00 01 00 00 31 ff 4d 8b RSP: 0018:ffff88809f32f3e0 EFLAGS: 00010202 kobject: 'loop1' (000000005c2c0ce6): fill_kobj_path: path = '/devices/virtual/block/loop1' RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90008271000 RDX: 0000000000000001 RSI: ffffffff81bb5e6a RDI: 0000000000000008 kobject: 'loop1' (000000005c2c0ce6): fill_kobj_path: path = '/devices/virtual/block/loop1' RBP: ffff88809f32f728 R08: ffff888058ffa480 R09: fffff940004f7447 kobject: 'loop2' (00000000bb325e24): kobject_uevent_env kobject: 'loop2' (00000000bb325e24): fill_kobj_path: path = '/devices/virtual/block/loop2' R10: fffff940004f7446 R11: ffffea00027ba237 R12: ffffea00027ba200 R13: ffffea00027ba200 R14: 0000000000000003 R15: ffff8880574e9400 kobject: 'loop5' (000000004d6f5e25): kobject_uevent_env kobject: 'loop5' (000000004d6f5e25): fill_kobj_path: path = '/devices/virtual/block/loop5' FS: 00007f742db17700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 kobject: 'loop1' (000000005c2c0ce6): kobject_uevent_env kobject: 'loop1' (000000005c2c0ce6): fill_kobj_path: path = '/devices/virtual/block/loop1' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000018ec020 CR3: 000000005766e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400