bisecting fixing commit since 98db2bf27b9ed2d5ed0b6c9c8a4bfcb127a19796 building syzkaller on 5d7b90f1af2e3bf33992b75e7fcf0bab6bf49bd6 testing commit 98db2bf27b9ed2d5ed0b6c9c8a4bfcb127a19796 with gcc (GCC) 8.1.0 kernel signature: 449974576d20759c65f70b19a209b2c5ba109924be363f4466540127d7e0f054 run #0: crashed: WARNING in xfrm_policy_insert run #1: crashed: WARNING in xfrm_policy_insert run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD c10b57a567e4333b9fdf60b5ec36de9859263ca2 testing commit c10b57a567e4333b9fdf60b5ec36de9859263ca2 with gcc (GCC) 8.1.0 kernel signature: 8ce8500029b09f2f9e9aadc9045d48ddc81ddb4fdea0601e8704f45c4f34e01b 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: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 38m20.285004935s (build: 18m13.463710165s, test: 19m31.972146621s) the crash still happens on HEAD commit msg: Linux 4.14.176 crash: WARNING in xfrm_policy_insert netlink: 11579 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 40803 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 11579 bytes leftover after parsing attributes in process `syz-executor.5'. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16273 at net/xfrm/xfrm_policy.c:754 xfrm_policy_insert+0x58f/0x14d0 net/xfrm/xfrm_policy.c:799 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 16273 Comm: syz-executor.1 Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 panic+0x1b0/0x358 kernel/panic.c:183 __warn.cold.8+0x25/0x2c kernel/panic.c:547 report_bug+0x1a4/0x1f3 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] do_error_trap+0x1bd/0x310 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:xfrm_policy_insert+0x58f/0x14d0 net/xfrm/xfrm_policy.c:754 RSP: 0018:ffff88808d7df628 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880a46f0d80 RCX: 0000000000000000 RDX: 000000000088fe10 RSI: ffffed1011ef4c17 RDI: ffff8880a46f0fb0 RBP: ffff88808d7df6c0 R08: ffff8880949da008 R09: ffff88808f7a60bc R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88808f7a6000 xfrm_add_policy+0x264/0x590 net/xfrm/xfrm_user.c:1624 xfrm_user_rcv_msg+0x344/0x6f0 net/xfrm/xfrm_user.c:2617 netlink_rcv_skb+0x133/0x370 net/netlink/af_netlink.c:2433 xfrm_netlink_rcv+0x69/0x90 net/xfrm/xfrm_user.c:2625 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x40b/0x600 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x730/0xbd0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 SyS_sendto+0x9/0x10 net/socket.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c6c9 RSP: 002b:00007f8b84138c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f8b841396d4 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..