audit: type=1400 audit(1571300070.510:36): avc: denied { map } for pid=6878 comm="syz-executor920" path="/root/syz-executor920076073" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access audit: type=1800 audit(1571300070.510:37): pid=6878 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-executor920" name="bus" dev="sda1" ino=16485 res=0 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 6878 Comm: syz-executor920 Not tainted 4.14.149 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808b10e480 task.stack: ffff88807f1b0000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:compound_head include/linux/page-flags.h:147 [inline] RIP: 0010:get_page include/linux/mm.h:833 [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+0x1c75/0x7fd0 fs/direct-io.c:1336 RSP: 0018:ffff88807f1b74c0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffea0002968e1c RCX: 000000000000000c RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffff88807f1b77d8 R08: ffffed1011a81d91 R09: ffff88808d40ec00 R10: ffffed1011a81d90 R11: ffff88808d40ec87 R12: ffffea0002968e00 R13: ffffea0002968e00 R14: 0000000000000000 R15: ffff8880a5dd1a40 FS: 000000000203e880(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d9c61e81b0 CR3: 0000000094544000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blockdev_direct_IO+0xa1/0xca fs/direct-io.c:1422 ext4_direct_IO_write fs/ext4/inode.c:3703 [inline] ext4_direct_IO+0x70d/0x1890 fs/ext4/inode.c:3833 generic_file_direct_write+0x1e7/0x430 mm/filemap.c:2949 __generic_file_write_iter+0x2bc/0x5b0 mm/filemap.c:3128 ext4_file_write_iter+0x2ac/0xe90 fs/ext4/file.c:268 call_write_iter include/linux/fs.h:1777 [inline] do_iter_readv_writev+0x418/0x670 fs/read_write.c:675 do_iter_write fs/read_write.c:954 [inline] do_iter_write+0x154/0x540 fs/read_write.c:935 vfs_iter_write+0x77/0xb0 fs/read_write.c:967 iter_file_splice_write+0x572/0xad0 fs/splice.c:749 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0xd92/0x1430 fs/splice.c:1382 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x440309 RSP: 002b:00007ffd33387088 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440309 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00000000006ca018 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b90 R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 Code: b2 98 d8 ff e9 4a 1d 00 00 e8 c8 56 c1 ff 48 8b 84 24 f0 00 00 00 48 8d 78 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 3d 54 00 00 48 8b 84 24 f0 00 00 00 4c 8b 60 RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff88807f1b74c0 RIP: compound_head include/linux/page-flags.h:147 [inline] RSP: ffff88807f1b74c0 RIP: get_page include/linux/mm.h:833 [inline] RSP: ffff88807f1b74c0 RIP: submit_page_section fs/direct-io.c:890 [inline] RSP: ffff88807f1b74c0 RIP: do_direct_IO fs/direct-io.c:1097 [inline] RSP: ffff88807f1b74c0 RIP: do_blockdev_direct_IO+0x1c75/0x7fd0 fs/direct-io.c:1336 RSP: ffff88807f1b74c0 ---[ end trace 6150ccd92fbd0d01 ]---