------------[ cut here ]------------ WARNING: CPU: 0 PID: 25592 at net/xfrm/xfrm_policy.c:761 xfrm_policy_insert+0x717/0x1000 net/xfrm/xfrm_policy.c:761 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 25592 Comm: syz-executor.2 Not tainted 4.14.157-syzkaller #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe5/0x154 lib/dump_stack.c:58 panic+0x1f1/0x3da kernel/panic.c:183 __warn.cold+0x2f/0x33 kernel/panic.c:547 report_bug+0x20a/0x248 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x1bf/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:xfrm_policy_insert+0x717/0x1000 net/xfrm/xfrm_policy.c:761 RSP: 0018:ffff8881980474c0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8881c7fc6d00 RCX: 000000000000076c RDX: ffffffff826960c7 RSI: ffffc9000271a000 RDI: ffff888198d236cc RBP: dffffc0000000000 R08: 0000000000007fb1 R09: ffffed103360ae80 R10: ffffed103360ae7f R11: ffff88819b0573fb R12: ffff888198d23600 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8881c7fc6e08 xfrm_add_policy+0x21d/0x480 net/xfrm/xfrm_user.c:1663 xfrm_user_rcv_msg+0x2ef/0x550 net/xfrm/xfrm_user.c:2664 netlink_rcv_skb+0x137/0x3a0 net/netlink/af_netlink.c:2432 xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2672 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x478/0x650 net/netlink/af_netlink.c:1312 netlink_sendmsg+0x66a/0xbe0 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb7/0x100 net/socket.c:656 ___sys_sendmsg+0x752/0x890 net/socket.c:2062 __sys_sendmsg+0xb6/0x150 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a679 RSP: 002b:00007f40006bdc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a679 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f40006be6d4 R13: 00000000004c9709 R14: 00000000004e1408 R15: 00000000ffffffff Kernel Offset: 0x1ec00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Rebooting in 86400 seconds..