bisecting fixing commit since 106fa147d3daa58d2c1ae5f41a29d07036fe7d0a building syzkaller on 2c2b926cb74478a86014f40564517f7d424dc899 testing commit 106fa147d3daa58d2c1ae5f41a29d07036fe7d0a with gcc (GCC) 8.1.0 kernel signature: 1e14a30dc3ac3bca57d0830692202da9f1ee4200faac5463a7e6fb06e4e829ee all runs: crashed: WARNING in __vm_enough_memory testing current HEAD b09c34517e1ac4018e3bb75ed5c8610a8a1f486b testing commit b09c34517e1ac4018e3bb75ed5c8610a8a1f486b with gcc (GCC) 8.1.0 kernel signature: a1dbf74bdc79e77afacfc2ff14049a894e0d1a00100bf632f59e7f76c077b7a3 all runs: crashed: WARNING in __vm_enough_memory revisions tested: 2, total time: 25m49.086173518s (build: 18m13.046581174s, test: 6m36.760543802s) the crash still happens on HEAD commit msg: Linux 4.19.149 crash: WARNING in __vm_enough_memory IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready ------------[ cut here ]------------ batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 memory commitment underflow WARNING: CPU: 0 PID: 7863 at mm/util.c:670 __vm_enough_memory+0x3c3/0x4b0 mm/util.c:668 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7863 Comm: kworker/u4:4 Not tainted 4.19.149-syzkaller #0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 Call Trace: batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x22a lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.7+0x1b/0x3e 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 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 RIP: 0010:__vm_enough_memory+0x3c3/0x4b0 mm/util.c:668 Code: ea 02 48 29 d0 e9 3b ff ff ff 80 3d 59 48 9a 07 00 0f 85 ec fc ff ff 48 c7 c7 e0 1f 31 87 c6 05 45 48 9a 07 01 e8 40 89 b6 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:ffff88808fa07d30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff8860e940 RCX: 1ffff1101214d5d2 RDX: 1ffffffff10a40b9 RSI: ffff888090a6ae70 RDI: 0000000000000282 RBP: ffff88808fa07d68 R08: ffff888090a6ae90 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888092c86200 R14: 0000000000000001 R15: fff8000000019f28 security_vm_enough_memory_mm+0x72/0x90 security/security.c:334 insert_vm_struct+0x1ec/0x310 mm/mmap.c:3123 __bprm_mm_init fs/exec.c:315 [inline] bprm_mm_init fs/exec.c:418 [inline] __do_execve_file.isra.12+0xcc1/0x1d40 fs/exec.c:1790 do_execveat_common fs/exec.c:1866 [inline] do_execve+0x20/0x30 fs/exec.c:1883 call_usermodehelper_exec_async+0x438/0x5b0 kernel/umh.c:107 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds..