bisecting fixing commit since f6e27dbb1afabcba436e346d6aa88a592a1436bb building syzkaller on c1ad54410059a5d34da928d4544aaa4ec894a8b1 testing commit f6e27dbb1afabcba436e346d6aa88a592a1436bb with gcc (GCC) 8.1.0 kernel signature: ad396b28eadab1e23fe01cd90f8440b1677de317 all runs: crashed: WARNING in xfrm_policy_insert testing current HEAD a844dc4c544291470aa69edbe2434b040794e269 testing commit a844dc4c544291470aa69edbe2434b040794e269 with gcc (GCC) 8.1.0 kernel signature: 542dbbd8600be401171a5e991eef80ffdca9ad00 run #0: crashed: WARNING in xfrm_policy_insert run #1: crashed: WARNING in corrupted run #2: crashed: WARNING in xfrm_policy_insert run #3: crashed: WARNING in xfrm_policy_insert run #4: crashed: WARNING in xfrm_policy_insert run #5: crashed: WARNING in xfrm_policy_insert run #6: crashed: WARNING in xfrm_policy_insert run #7: crashed: WARNING in xfrm_policy_insert run #8: crashed: WARNING in xfrm_policy_insert run #9: crashed: WARNING in xfrm_policy_insert revisions tested: 2, total time: 23m22.33854753s (build: 16m12.836445703s, test: 6m31.527961393s) the crash still happens on HEAD commit msg: Linux 4.14.158 crash: WARNING in xfrm_policy_insert IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7022 at net/xfrm/xfrm_policy.c:752 xfrm_policy_insert+0x594/0x14c0 net/xfrm/xfrm_policy.c:797 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 7022 Comm: syz-executor.3 Not tainted 4.14.158-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 kobject: 'loop0' (ffff8880a493a520): kobject_uevent_env kobject: 'loop0' (ffff8880a493a520): fill_kobj_path: path = '/devices/virtual/block/loop0' 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+0x594/0x14c0 net/xfrm/xfrm_policy.c:752 RSP: 0018:ffff8880947ef4a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880834d4480 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffed1013363657 RDI: ffff8880834d46b0 RBP: ffff8880947ef540 R08: ffff8880977da008 R09: ffff888099b1b2bc R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888099b1b200 xfrm_add_policy+0x229/0x500 net/xfrm/xfrm_user.c:1623 kobject: 'loop4' (ffff8880a4ab0920): kobject_uevent_env xfrm_user_rcv_msg+0x344/0x6f0 net/xfrm/xfrm_user.c:2613 kobject: 'loop4' (ffff8880a4ab0920): fill_kobj_path: path = '/devices/virtual/block/loop4' netlink_rcv_skb+0x133/0x370 net/netlink/af_netlink.c:2432 xfrm_netlink_rcv+0x69/0x90 net/xfrm/xfrm_user.c:2621 kobject: 'loop0' (ffff8880a493a520): kobject_uevent_env netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x40d/0x5f0 net/netlink/af_netlink.c:1312 netlink_sendmsg+0x730/0xbd0 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 ___sys_sendmsg+0x625/0x920 net/socket.c:2062 __sys_sendmsg+0xc1/0x140 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0xd/0x20 net/socket.c:2103 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a29 RSP: 002b:00007f0839246c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a29 RDX: 0000000000000000 RSI: 000000002014f000 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08392476d4 R13: 00000000004c7990 R14: 00000000004dd3b0 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..