bisecting fixing commit since 106fa147d3daa58d2c1ae5f41a29d07036fe7d0a building syzkaller on 2c2b926cb74478a86014f40564517f7d424dc899 testing commit 106fa147d3daa58d2c1ae5f41a29d07036fe7d0a with gcc (GCC) 8.4.1 20210217 kernel signature: e87afeb740d9386eb62d394d33e6f5ea6dc0b97c3012afb46016ecee3f9f8cca all runs: crashed: WARNING in __vm_enough_memory testing current HEAD 830a059cbba6832c11fefc0894c7ec7a27f75734 testing commit 830a059cbba6832c11fefc0894c7ec7a27f75734 with gcc (GCC) 8.4.1 20210217 kernel signature: 50f6e317dbd27c75b77237ffd6f325a2c41c56bf2d3560cdff7eb3df70b19782 all runs: crashed: WARNING in __vm_enough_memory revisions tested: 2, total time: 22m43.269006523s (build: 16m5.801888538s, test: 6m5.954147097s) the crash still happens on HEAD commit msg: Linux 4.19.186 crash: WARNING in __vm_enough_memory batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 ------------[ cut here ]------------ batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! memory commitment underflow WARNING: CPU: 1 PID: 7183 at mm/util.c:670 __vm_enough_memory+0x3c3/0x4b0 mm/util.c:668 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 Modules linked in: batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! CPU: 1 PID: 7183 Comm: syz-executor.3 Not tainted 4.19.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 dc 9c 07 00 0f 85 ec fc ff ff 48 c7 c7 a0 16 31 87 c6 05 f0 db 9c 07 01 e8 15 fb 3e 05 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 RSP: 0018:ffff8881d47e7c40 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff8860e2c0 RCX: 1ffff1103b6f7d25 RDX: 1ffffffff10a3f71 RSI: ffff8881db7be908 RDI: 0000000000000286 RBP: ffff8881d47e7c78 R08: ffff8881db7be928 R09: 0000000000000000 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000020 R13: ffff8881d8e39140 R14: 0000000000000001 R15: fff800000001a003 FS: 0000000002999400(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000050f6b0 CR3: 00000001d93e3001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: security_vm_enough_memory_mm+0x72/0x90 security/security.c:334 mprotect_fixup+0x526/0x8b0 mm/mprotect.c:423 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! 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 IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x464427 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:00007ffdb5e941e8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 0000000000021000 RCX: 0000000000464427 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f874b551000 RBP: 00007ffdb5e942c0 R08: 00000000ffffffff R09: 00007f874b570700 R10: 0000000000020022 R11: 0000000000000206 R12: 00007ffdb5e943b0 R13: 00007f874b570700 R14: 0000000000000000 R15: 0000000000022000 irq event stamp: 1064 batman_adv: batadv0: Interface activated: batadv_slave_1 hardirqs last enabled at (1063): [] vprintk_emit+0x34f/0x540 kernel/printk/printk.c:1949 hardirqs last disabled at (1064): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1058): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (1039): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (1039): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace 808cb8a81e919d32 ]--- IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready