bisecting fixing commit since 9b15f7fae677336e04b9e026ff91854e43165455 building syzkaller on 5d7b90f1af2e3bf33992b75e7fcf0bab6bf49bd6 testing commit 9b15f7fae677336e04b9e026ff91854e43165455 with gcc (GCC) 8.1.0 kernel signature: e82e78ae73c0401f9731053977ec3cac29624ea98d40b4ac7589737a753843a7 run #0: crashed: WARNING in xfrm_policy_insert run #1: crashed: WARNING in xfrm_policy_insert run #2: crashed: WARNING in xfrm_policy_insert run #3: crashed: WARNING in xfrm_policy_insert run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD 6dd0e32665e591e9debe3edaf73c2f8135bf047e testing commit 6dd0e32665e591e9debe3edaf73c2f8135bf047e with gcc (GCC) 8.1.0 kernel signature: 2b195ea4273d8d7631ef1ba757fceba3cf5eee922c6550f7af00221413e2c18e run #0: crashed: WARNING in xfrm_policy_insert run #1: crashed: WARNING in xfrm_policy_insert run #2: crashed: WARNING in xfrm_policy_insert run #3: crashed: WARNING in xfrm_policy_insert run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 40m13.515061734s (build: 17m47.485631833s, test: 21m42.960787551s) the crash still happens on HEAD commit msg: Linux 4.19.115 crash: WARNING in xfrm_policy_insert netlink: 11579 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 11579 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 40803 bytes leftover after parsing attributes in process `syz-executor.4'. ------------[ cut here ]------------ netlink: 40803 bytes leftover after parsing attributes in process `syz-executor.3'. WARNING: CPU: 1 PID: 21188 at net/xfrm/xfrm_policy.c:763 xfrm_policy_insert.cold.56+0x18/0xb4 net/xfrm/xfrm_policy.c:763 Kernel panic - not syncing: panic_on_warn set ... netlink: 11579 bytes leftover after parsing attributes in process `syz-executor.1'. CPU: 1 PID: 21188 Comm: syz-executor.0 Not tainted 4.19.115-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+0x123/0x177 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.8+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:1037 RIP: 0010:xfrm_policy_insert.cold.56+0x18/0xb4 net/xfrm/xfrm_policy.c:763 Code: c7 c7 20 c3 c8 87 48 89 e5 e8 7f 3d 69 fb 0f 0b 5d c3 48 c7 c7 20 c3 c8 87 4c 89 45 88 48 89 4d 90 4c 89 4d 98 e8 63 3d 69 fb <0f> 0b 4c 8b 45 88 4c 89 f0 83 e0 07 4c 8b 4d 98 83 c0 03 48 8b 4d RSP: 0018:ffff8880a098f5c0 EFLAGS: 00010282 RAX: 0000000000000024 RBX: ffff8880a0558480 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8a183960 RBP: ffff8880a098f658 R08: ffffed1015d63ee3 R09: ffffed1015d63ee2 R10: ffffed1015d63ee2 R11: ffff8880aeb1f717 R12: dffffc0000000000 R13: ffff8880913bc000 R14: ffff8880913bc0b4 R15: ffff8880a8457b00 xfrm_add_policy+0x26c/0x5b0 net/xfrm/xfrm_user.c:1670 xfrm_user_rcv_msg+0x34c/0x710 net/xfrm/xfrm_user.c:2681 netlink_rcv_skb+0x142/0x390 net/netlink/af_netlink.c:2455 xfrm_netlink_rcv+0x69/0x90 net/xfrm/xfrm_user.c:2689 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x443/0x650 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x765/0xc40 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:632 __sys_sendto+0x1f2/0x2e0 net/socket.c:1787 __do_sys_sendto net/socket.c:1799 [inline] __se_sys_sendto net/socket.c:1795 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1795 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c6c9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fcc9f69dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fcc9f69e6d4 RCX: 000000000045c6c9 RDX: 000000000000ff3b RSI: 0000000020000000 RDI: 0000000000000005 RBP: 000000000076bf20 R08: 0000000000000000 R09: fffffffffffffd62 R10: 0f00000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009d6 R14: 00000000004cc793 R15: 000000000076bf2c Kernel Offset: disabled Rebooting in 86400 seconds..