BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor0/7181 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 1 PID: 7181 Comm: syz-executor0 Not tainted 4.9.78-g7be1985 #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cd137490 ffffffff81d94409 0000000000000001 ffffffff83c18800 ffffffff83f45480 ffff8801cda2c800 0000000000000003 ffff8801cd1374d0 ffffffff81dfb9d4 ffff8801cd1374e8 ffffffff83f45480 dffffc0000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46 [] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7199 at net/core/dev.c:2466 skb_warn_bad_offload+0x2af/0x390 net/core/dev.c:2461 syz3: caps=(0x00000400000058c1, 0x0000000000000000) len=14 data_len=0 gso_size=574 gso_type=5 ip_summed=0 Kernel panic - not syncing: panic_on_warn set ... [] ipcomp_alloc_tfms net/xfrm/xfrm_ipcomp.c:286 [inline] [] ipcomp_init_state+0x188/0x930 net/xfrm/xfrm_ipcomp.c:363 [] ipcomp4_init_state+0xb0/0x7d0 net/ipv4/ipcomp.c:137 [] __xfrm_init_state+0x3e7/0xb30 net/xfrm/xfrm_state.c:2096 [] xfrm_state_construct net/xfrm/xfrm_user.c:590 [inline] [] xfrm_add_sa+0x1916/0x2e40 net/xfrm/xfrm_user.c:639 [] xfrm_user_rcv_msg+0x413/0x6a0 net/xfrm/xfrm_user.c:2525 [] netlink_rcv_skb+0x13e/0x370 net/netlink/af_netlink.c:2351 [] xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2533 [] netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline] [] netlink_unicast+0x511/0x750 net/netlink/af_netlink.c:1301 [] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] ___sys_sendmsg+0x6d1/0x7e0 net/socket.c:1969 [] __sys_sendmsg+0xd6/0x190 net/socket.c:2003 [] SYSC_sendmsg net/socket.c:2014 [inline] [] SyS_sendmsg+0x2d/0x50 net/socket.c:2010 [] entry_SYSCALL_64_fastpath+0x29/0xe8 CPU: 0 PID: 7199 Comm: syz-executor3 Not tainted 4.9.78-g7be1985 #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cd38f428 ffffffff81d94409 ffffffff83a47c40 ffff8801cd38f500 ffffffff83ee2a00 ffffffff82f3531f 0000000000000009 ffff8801cd38f4f0 ffffffff8142f4a1 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f2e5 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] panic+0x1bc/0x3a8 kernel/panic.c:179 [] __warn+0x1c4/0x1e0 kernel/panic.c:542 [] warn_slowpath_fmt+0xc4/0x110 kernel/panic.c:565 [] skb_warn_bad_offload+0x2af/0x390 net/core/dev.c:2461 [] __skb_gso_segment+0x52b/0x670 net/core/dev.c:2767 [] skb_gso_segment include/linux/netdevice.h:4000 [inline] [] validate_xmit_skb+0x44e/0x980 net/core/dev.c:3003 [] validate_xmit_skb_list+0xb7/0x120 net/core/dev.c:3052 [] sch_direct_xmit+0x34a/0x5d0 net/sched/sch_generic.c:177 [] __dev_xmit_skb net/core/dev.c:3133 [inline] [] __dev_queue_xmit+0x15fd/0x1e60 net/core/dev.c:3393 [] ? 0xffffffff810002b8 [] dev_queue_xmit+0x17/0x20 net/core/dev.c:3458 [] packet_snd net/packet/af_packet.c:2953 [inline] [] packet_sendmsg+0x2ccc/0x4760 net/packet/af_packet.c:2978 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x29/0xe8 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..