audit: type=1400 audit(1571586237.504:36): avc: denied { map } for pid=6907 comm="syz-executor479" path="/root/syz-executor479783216" dev="sda1" ino=16483 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(1571586237.504:37): pid=6907 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-executor479" name="bus" dev="sda1" ino=16484 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: 0 PID: 6907 Comm: syz-executor479 Not tainted 4.14.150 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888079d9a140 task.stack: ffff8880a8fc0000
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:ffff8880a8fc74c0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffffea000230e21c RCX: 000000000000000c
RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000020
RBP: ffff8880a8fc77d8 R08: ffffed1012a64029 R09: ffff8880953200c0
R10: ffffed1012a64028 R11: ffff888095320147 R12: ffffea000230e200
R13: ffffea000230e200 R14: 0000000000000000 R15: ffff88809eb11a40
FS: 00000000019ca880(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d88df0d190 CR3: 0000000078d63000 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:0x4402f9
RSP: 002b:00007ffdd1035868 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004402f9
RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00000000006ca018 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b80
R13: 0000000000401c10 R14: 0000000000000000 R15: 0000000000000000
Code: 32 93 d8 ff e9 4a 1d 00 00 e8 b8 50 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: ffff8880a8fc74c0
RIP: compound_head include/linux/page-flags.h:147 [inline] RSP: ffff8880a8fc74c0
RIP: get_page include/linux/mm.h:833 [inline] RSP: ffff8880a8fc74c0
RIP: submit_page_section fs/direct-io.c:890 [inline] RSP: ffff8880a8fc74c0
RIP: do_direct_IO fs/direct-io.c:1097 [inline] RSP: ffff8880a8fc74c0
RIP: do_blockdev_direct_IO+0x1c75/0x7fd0 fs/direct-io.c:1336 RSP: ffff8880a8fc74c0
---[ end trace 34fecd29fd5cea4d ]---