bisecting fixing commit since c98875d930e915d01e8c40c7d3c16f00b3c8abe1 building syzkaller on b617407b25b37a7a8efa47127005d1f20dd0abe1 testing commit c98875d930e915d01e8c40c7d3c16f00b3c8abe1 with gcc (GCC) 8.1.0 kernel signature: f53b732de93d6d1f00bf2580e0b4466949d7f19c89035626c74747973231a0a1 all runs: crashed: WARNING in __vm_enough_memory testing current HEAD 88d6de67e390b6093f2c11189ad022988a9e2961 testing commit 88d6de67e390b6093f2c11189ad022988a9e2961 with gcc (GCC) 8.1.0 kernel signature: 38c79693219257c109894dccf7bb14313f035588e4932d4c05612288fbff9599 all runs: crashed: WARNING in __vm_enough_memory revisions tested: 2, total time: 25m8.568500368s (build: 17m46.315914013s, test: 6m21.244686893s) the crash still happens on HEAD commit msg: Linux 4.19.99 crash: WARNING in __vm_enough_memory audit: type=1400 audit(1580190790.866:41): avc: denied { map } for pid=7103 comm="syz-executor.4" path="/dev/ashmem" dev="devtmpfs" ino=16914 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 ------------[ cut here ]------------ IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready memory commitment underflow WARNING: CPU: 0 PID: 7103 at mm/util.c:652 __vm_enough_memory+0x3c3/0x4b0 mm/util.c:650 IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready Kernel panic - not syncing: panic_on_warn set ... IPv6: ADDRCONF(NETDEV_UP): veth1_to_hsr: link is not ready CPU: 0 PID: 7103 Comm: syz-executor.4 Not tainted 4.19.99-syzkaller #0 hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network 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+0x123/0x177 lib/dump_stack.c:118 panic+0x1cd/0x387 kernel/panic.c:186 __warn.cold.8+0x1b/0x3c kernel/panic.c:541 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 8021q: adding VLAN 0 to HW filter on device batadv0 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037 RIP: 0010:__vm_enough_memory+0x3c3/0x4b0 mm/util.c:650 Code: ea 02 48 29 d0 e9 3b ff ff ff 80 3d 1c 01 2b 07 00 0f 85 ec fc ff ff 48 c7 c7 20 79 d1 86 c6 05 08 01 2b 07 01 e8 20 68 b7 ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 RSP: 0018:ffff88808819fb30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff8801b0c0 RCX: 1ffff11010ddb994 RDX: 1ffffffff0fe4131 RSI: ffff888086edcc80 RDI: 0000000000000286 RBP: ffff88808819fb68 R08: ffff888086edcca0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000021 R13: ffff888086076b40 R14: 0000000000000001 R15: fff800000001284f security_vm_enough_memory_mm+0x78/0xa0 security/security.c:334 mmap_region+0x293/0x1480 mm/mmap.c:1709 do_mmap+0x6b5/0xea0 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2314 [inline] vm_mmap_pgoff+0x195/0x210 mm/util.c:357 ksys_mmap_pgoff+0xa4/0x650 mm/mmap.c:1580 __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+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458dfa Code: 89 f5 41 54 49 89 fc 55 53 74 35 49 63 e8 48 63 da 4d 89 f9 49 89 e8 4d 63 d6 48 89 da 4c 89 ee 4c 89 e7 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 4e 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 00 RSP: 002b:00007fff1825de68 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458dfa RDX: 0000000000000003 RSI: 0000000000021000 RDI: 0000000000000000 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000021000 R14: 0000000000020022 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..