audit: type=1400 audit(1556176623.238:247): avc: denied { map } for pid=15042 comm="syz-executor.5" path="/root/syzkaller-testdir884044855/syzkaller.4LKcXm/365/bus" dev="sda1" ino=16540 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 15044 at fs/direct-io.c:293 dio_complete+0x671/0x800 fs/direct-io.c:293 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 15044 Comm: syz-executor.5 Not tainted 4.14.113 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x19c lib/dump_stack.c:53 panic+0x1f2/0x438 kernel/panic.c:182 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 __warn.cold+0x2f/0x34 kernel/panic.c:546 report_bug+0x216/0x254 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:944 RIP: 0010:dio_complete+0x671/0x800 fs/direct-io.c:293 RSP: 0018:ffff88808ac37678 EFLAGS: 00010216 RAX: 0000000000040000 RBX: 00000000000bfe00 RCX: ffffc90005e3d000 RDX: 0000000000012f49 RSI: ffffffff819ae051 RDI: ffff888050dd37bc RBP: ffff88808ac376c0 R08: ffff88809fbd8680 R09: 0000000000000003 R10: 0000000000000000 R11: ffff88809fbd8680 R12: ffff8880a5e5bb40 R13: 00000000000bfe00 R14: ffff888050dd39b8 R15: 0000000000000000 do_blockdev_direct_IO+0x530e/0x7fc0 fs/direct-io.c:1374 __blockdev_direct_IO+0xa1/0xd0 fs/direct-io.c:1400 ext4_direct_IO_write fs/ext4/inode.c:3697 [inline] ext4_direct_IO+0x70d/0x1890 fs/ext4/inode.c:3827 generic_file_direct_write+0x1ec/0x430 mm/filemap.c:2927 __generic_file_write_iter+0x2bc/0x5b0 mm/filemap.c:3106 ext4_file_write_iter+0x2c0/0xfd0 fs/ext4/file.c:264 call_write_iter include/linux/fs.h:1774 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x4ae/0x6c0 fs/read_write.c:482 vfs_write+0x198/0x500 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xb8/0x180 fs/read_write.c:581 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x458d99 RSP: 002b:00007efef6942c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458d99 RDX: 00000000000bfe00 RSI: 0000000020000200 RDI: 0000000000000006 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efef69436d4 R13: 00000000004c8825 R14: 00000000004defa0 R15: 00000000ffffffff CPU: 1 PID: 15064 Comm: syz-executor.1 Not tainted 4.14.113 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x19c lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10f/0x159 lib/fault-inject.c:149 should_failslab+0xdb/0x130 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x2d9/0x780 mm/slab.c:3550 kmem_cache_zalloc include/linux/slab.h:651 [inline] alloc_buffer_head+0x24/0xe0 fs/buffer.c:3425 alloc_page_buffers+0xb7/0x200 fs/buffer.c:874 create_empty_buffers+0x39/0x480 fs/buffer.c:1579 create_page_buffers+0x153/0x1c0 fs/buffer.c:1696 __block_write_begin_int+0x195/0x1100 fs/buffer.c:2006 __block_write_begin fs/buffer.c:2077 [inline] block_write_begin+0x5f/0x190 fs/buffer.c:2136 cont_write_begin+0x430/0x770 fs/buffer.c:2486 fat_write_begin+0x8d/0x120 fs/fat/inode.c:222 generic_perform_write+0x1ff/0x490 mm/filemap.c:3024 __generic_file_write_iter+0x239/0x5b0 mm/filemap.c:3149 generic_file_write_iter+0x303/0x660 mm/filemap.c:3177 call_write_iter include/linux/fs.h:1774 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x4ae/0x6c0 fs/read_write.c:482 vfs_write+0x198/0x500 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xb8/0x180 fs/read_write.c:581 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x458d99 RSP: 002b:00007f74eb33cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f74eb33cc90 RCX: 0000000000458d99 RDX: 00000000ffffff35 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f74eb33d6d4 R13: 00000000004c87ee R14: 00000000004def58 R15: 0000000000000007 Kernel Offset: disabled Rebooting in 86400 seconds..