bisecting fixing commit since 4938296e03bd227e5020d63d418956fe52baf97c building syzkaller on 4d1b57d4d1aa7f8938163f8debd9293c062482b0 testing commit 4938296e03bd227e5020d63d418956fe52baf97c compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: af0a9b1b233a793737f4f6f39480f156096384bd1b2ca90fc98c67c19f1bfe5e all runs: crashed: WARNING in __vm_enough_memory testing current HEAD 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 testing commit 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 3d005845ee917f5b4f084646c0f355b2631b905ed085ac5cc0d0b49640b6fa6b all runs: crashed: WARNING in __vm_enough_memory revisions tested: 2, total time: 30m28.935950638s (build: 23m18.030129831s, test: 6m37.369579282s) the crash still happens on HEAD commit msg: Linux 4.19.204 crash: WARNING in __vm_enough_memory IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready device veth1_macvtap entered promiscuous mode device veth1_macvtap entered promiscuous mode ------------[ cut here ]------------ memory commitment underflow WARNING: CPU: 1 PID: 9756 at mm/util.c:670 __vm_enough_memory+0x3c3/0x4b0 mm/util.c:668 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 9756 Comm: syz-executor.2 Not tainted 4.19.204-syzkaller #0 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+0x17c/0x226 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.7+0x1b/0x36 kernel/panic.c:541 report_bug+0x1a1/0x200 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x200/0x350 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:1038 RIP: 0010:__vm_enough_memory+0x3c3/0x4b0 mm/util.c:668 Code: ea 02 48 29 d0 e9 3b ff ff ff 80 3d 04 6d 25 09 00 0f 85 ec fc ff ff 48 c7 c7 a0 e4 10 88 c6 05 f0 6c 25 09 01 e8 12 d1 05 06 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 RSP: 0018:ffff88809d78fc40 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff899fe5e0 RCX: 1ffff110135a9155 RDX: 1ffffffff13224a9 RSI: ffff88809ad48a88 RDI: 0000000000000282 RBP: ffff88809d78fc78 R08: ffff88809ad48aa8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000020 R13: ffff8880b4218700 R14: 0000000000000001 R15: fff8000000026309 security_vm_enough_memory_mm+0x72/0x90 security/security.c:334 mprotect_fixup+0x526/0x8b0 mm/mprotect.c:423 do_mprotect_pkey+0x3ff/0x800 mm/mprotect.c:589 __do_sys_mprotect mm/mprotect.c:614 [inline] __se_sys_mprotect mm/mprotect.c:611 [inline] __x64_sys_mprotect+0x73/0xb0 mm/mprotect.c:611 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4666f7 Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffe75a3c48 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 0000000000021000 RCX: 00000000004666f7 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f465eb44000 RBP: 00007fffe75a3d20 R08: 00000000ffffffff R09: 00007f465eb63700 R10: 0000000000020022 R11: 0000000000000206 R12: 00007fffe75a3e30 R13: 00007f465eb63700 R14: 0000000000000000 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..