audit: type=1400 audit(1556013134.198:36): avc: denied { map } for pid=7770 comm="syz-executor064" path="/root/syz-executor064776623" 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 ------------[ cut here ]------------ audit: type=1400 audit(1556013134.198:37): avc: denied { map } for pid=7777 comm="syz-executor064" path="/dev/ashmem" dev="devtmpfs" ino=16040 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 memory commitment underflow WARNING: CPU: 0 PID: 7777 at mm/util.c:650 __vm_enough_memory+0x47f/0x5a0 mm/util.c:650 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7777 Comm: syz-executor064 Not tainted 4.19.36 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 panic+0x263/0x51d kernel/panic.c:185 __warn.cold+0x20/0x54 kernel/panic.c:540 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:997 RIP: 0010:__vm_enough_memory+0x47f/0x5a0 mm/util.c:650 Code: e8 16 97 db ff 0f b6 75 d0 40 84 f6 0f 85 4c fc ff ff e8 c4 95 db ff 48 c7 c7 60 b9 52 87 c6 05 bd 44 a6 07 01 e8 df 71 af ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 0f b6 14 RSP: 0018:ffff88808fff7a68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: fff8000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8155df26 RDI: ffffed1011ffef3f RBP: ffff88808fff7aa0 R08: ffff88809833e140 R09: ffffed1015d03ee3 R10: ffffed1015d03ee2 R11: ffff8880ae81f717 R12: 0000000000000001 R13: ffff88807df54940 R14: ffffffff88821580 R15: 0000000000000c68 security_vm_enough_memory_mm+0xa0/0xd0 security/security.c:338 shmem_acct_size mm/shmem.c:150 [inline] __shmem_file_setup.part.0+0x194/0x2b0 mm/shmem.c:3948 __shmem_file_setup mm/shmem.c:3945 [inline] shmem_file_setup+0x66/0x90 mm/shmem.c:3992 ashmem_mmap+0x35f/0x520 drivers/staging/android/ashmem.c:388 call_mmap include/linux/fs.h:1816 [inline] mmap_region+0xc34/0x1760 mm/mmap.c:1762 do_mmap+0x8e2/0x1080 mm/mmap.c:1535 do_mmap_pgoff include/linux/mm.h:2306 [inline] vm_mmap_pgoff+0x1c5/0x230 mm/util.c:357 ksys_mmap_pgoff+0x4aa/0x630 mm/mmap.c:1585 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0xe9/0x1b0 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441289 Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffcacd057d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441289 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000020ffc000 RBP: 00000000006cb018 R08: 0000000000000003 R09: 0000000000000000 R10: 0080000000000012 R11: 0000000000000246 R12: 0000000000402000 R13: 0000000000402090 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..