audit: type=1400 audit(1569202630.232:36): avc: denied { map } for pid=6945 comm="syz-executor106" path="/root/syz-executor106821068" 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 audit: type=1800 audit(1569202630.232:37): pid=6945 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-executor106" name="bus" dev="sda1" ino=16485 res=0 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 6945 Comm: syz-executor106 Not tainted 4.14.146 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888094e3a3c0 task.stack: ffff888094cf0000 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:ffff888094cf74c0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffea000228b21c RCX: 000000000000000c RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffff888094cf77d8 R08: ffffed100fb13421 R09: ffff88807d89a080 R10: ffffed100fb13420 R11: ffff88807d89a107 R12: ffffea000228b200 R13: ffffea000228b200 R14: 0000000000000000 R15: ffff888094f4da40 FS: 0000555556f91880(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005562b68911a0 CR3: 000000009d1b0000 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: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:00007ffca2a5c1b8 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: 92 99 d8 ff e9 4a 1d 00 00 e8 f8 59 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: ffff888094cf74c0 RIP: compound_head include/linux/page-flags.h:147 [inline] RSP: ffff888094cf74c0 RIP: get_page include/linux/mm.h:833 [inline] RSP: ffff888094cf74c0 RIP: submit_page_section fs/direct-io.c:890 [inline] RSP: ffff888094cf74c0 RIP: do_direct_IO fs/direct-io.c:1097 [inline] RSP: ffff888094cf74c0 RIP: do_blockdev_direct_IO+0x1c75/0x7fd0 fs/direct-io.c:1336 RSP: ffff888094cf74c0 ---[ end trace 266a05acccaed6b8 ]---