bisecting fixing commit since 106fa147d3daa58d2c1ae5f41a29d07036fe7d0a building syzkaller on 2c2b926cb74478a86014f40564517f7d424dc899 testing commit 106fa147d3daa58d2c1ae5f41a29d07036fe7d0a with gcc (GCC) 8.1.0 kernel signature: 1fd4a9f794c0ab9cac9552b82dec873a0e3721c5f527e5b76955c4c354f2a96a all runs: crashed: WARNING in __vm_enough_memory testing current HEAD 399849e4654ea496a6217ba4e5ee3d304c995ab4 testing commit 399849e4654ea496a6217ba4e5ee3d304c995ab4 with gcc (GCC) 8.1.0 kernel signature: 24dc55172cfd64358a568a0be8d939e8bc3cb93cd82fc41ce1142ffd254df3de all runs: crashed: WARNING in __vm_enough_memory revisions tested: 2, total time: 28m22.903411022s (build: 21m15.436049224s, test: 6m27.88911813s) the crash still happens on HEAD commit msg: Linux 4.19.131 crash: WARNING in __vm_enough_memory batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! ------------[ 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: 1 PID: 7858 at mm/util.c:670 __vm_enough_memory+0x3c3/0x4b0 mm/util.c:668 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! Kernel panic - not syncing: panic_on_warn set ... batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 CPU: 1 PID: 7858 Comm: syz-executor.3 Not tainted 4.19.131-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/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 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 56 18 9a 07 00 0f 85 ec fc ff ff 48 c7 c7 60 19 31 87 c6 05 42 18 9a 07 01 e8 00 9f 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:ffff88808c527b30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff8860e340 RCX: 1ffff1101184e16d RDX: 1ffffffff10a40b1 RSI: ffff88808c270b48 RDI: 0000000000000282 RBP: ffff88808c527b68 R08: ffff88808c270b68 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000021 R13: ffff88808c172240 R14: 0000000000000001 R15: fff800000001a76b security_vm_enough_memory_mm+0x72/0x90 security/security.c:334 mmap_region+0x687/0x1440 mm/mmap.c:1709 do_mmap+0x673/0xe90 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2326 [inline] vm_mmap_pgoff+0x195/0x210 mm/util.c:357 ksys_mmap_pgoff+0x3cf/0x5a0 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+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45cb3a 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:00007ffe292b6908 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045cb3a 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..