------------[ cut here ]------------ WARNING: CPU: 0 PID: 10423 at net/xfrm/xfrm_policy.c:797 xfrm_policy_insert+0x6fa/0x10e0 net/xfrm/xfrm_policy.c:797 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 10423 Comm: syz-executor.1 Not tainted 4.9.203-syzkaller #0 ffff88019f95f3b0 ffffffff81b55f6b 0000000000000000 ffffffff82a3b700 00000000ffffffff 0000000000000000 0000000000000009 ffff88019f95f490 ffffffff813ff061 0000000041b58ab3 ffffffff82e31763 ffffffff813fee81 Call Trace: [<00000000c9ca521c>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000c9ca521c>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<0000000067846441>] panic+0x1e0/0x3c4 kernel/panic.c:181 [<00000000308c5f46>] __warn.cold+0x2f/0x2f kernel/panic.c:547 [<0000000008da16cf>] warn_slowpath_null+0x2d/0x40 kernel/panic.c:590 [<0000000046fb0531>] xfrm_policy_insert+0x6fa/0x10e0 net/xfrm/xfrm_policy.c:797 [<000000003655d419>] xfrm_add_policy+0x23c/0x4b0 net/xfrm/xfrm_user.c:1636 [<000000004b62648f>] xfrm_user_rcv_msg+0x32c/0x5e0 net/xfrm/xfrm_user.c:2615 [<0000000002e81e90>] netlink_rcv_skb+0xd4/0x2e0 net/netlink/af_netlink.c:2365 [<00000000d5bcd52f>] xfrm_netlink_rcv+0x70/0x90 net/xfrm/xfrm_user.c:2623 [<00000000656d9f91>] netlink_unicast_kernel net/netlink/af_netlink.c:1285 [inline] [<00000000656d9f91>] netlink_unicast+0x4c6/0x6d0 net/netlink/af_netlink.c:1311 [<00000000ff1d1095>] netlink_sendmsg+0x6b6/0xc80 net/netlink/af_netlink.c:1859 [<00000000b68838e9>] sock_sendmsg_nosec net/socket.c:649 [inline] [<00000000b68838e9>] sock_sendmsg+0xbe/0x110 net/socket.c:659 [<0000000086282ecc>] ___sys_sendmsg+0x78b/0x8b0 net/socket.c:1983 [<00000000bf029e2e>] __sys_sendmsg+0xc8/0x170 net/socket.c:2017 [<00000000827db08a>] SYSC_sendmsg net/socket.c:2028 [inline] [<00000000827db08a>] SyS_sendmsg+0x2d/0x50 net/socket.c:2024 [<0000000002fb8d86>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000666e3ab3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Kernel Offset: disabled Rebooting in 86400 seconds..