bisecting fixing commit since f6e27dbb1afabcba436e346d6aa88a592a1436bb building syzkaller on c1ad54410059a5d34da928d4544aaa4ec894a8b1 testing commit f6e27dbb1afabcba436e346d6aa88a592a1436bb with gcc (GCC) 8.1.0 kernel signature: 537b989ea7789c2f8b44e7e9874053011926687a all runs: crashed: WARNING in xfrm_policy_insert testing current HEAD c04fc6fa5c96ec57316527b2228fa31f26494abe testing commit c04fc6fa5c96ec57316527b2228fa31f26494abe with gcc (GCC) 8.1.0 kernel signature: 564e6fcdc588e2048b120b7b12676a0e2cd95225 run #0: crashed: WARNING in corrupted 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: 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: 23m57.375985334s (build: 16m27.393261892s, test: 6m42.127631862s) the crash still happens on HEAD commit msg: Linux 4.14.165 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: 0 PID: 7451 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: 0 PID: 7451 Comm: syz-executor.2 Not tainted 4.14.165-syzkaller #0 kobject: 'loop1' (ffff8880a4a071a0): kobject_uevent_env 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: 'loop1' (ffff8880a4a071a0): fill_kobj_path: path = '/devices/virtual/block/loop1' 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:ffff8880942e74a8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880917a2000 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffed1012b7c817 RDI: ffff8880917a2230 RBP: ffff8880942e7540 R08: ffff8880912aa4c8 R09: ffff888095be40bc R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888095be4000 xfrm_add_policy+0x229/0x500 net/xfrm/xfrm_user.c:1623 kobject: 'loop0' (ffff8880a49a97a0): kobject_uevent_env xfrm_user_rcv_msg+0x344/0x6f0 net/xfrm/xfrm_user.c:2613 netlink_rcv_skb+0x133/0x370 net/netlink/af_netlink.c:2432 xfrm_netlink_rcv+0x69/0x90 net/xfrm/xfrm_user.c:2621 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:00007f72a75a0c78 EFLAGS: 00000246 kobject: 'loop0' (ffff8880a49a97a0): fill_kobj_path: path = '/devices/virtual/block/loop0' ORIG_RAX: 000000000000002e kobject: 'loop0' (ffff8880a49a97a0): kobject_uevent_env RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a29 RDX: 0000000000000000 RSI: 000000002014f000 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f72a75a16d4 R13: 00000000004c7990 R14: 00000000004dd3b0 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..