=============================== [ INFO: suspicious RCU usage. ] 4.4.147-ga5fc665 #80 Not tainted ------------------------------- kernel/rcu/tree_plugin.h:685 Illegal synchronize_rcu() in RCU read-side critical section! IPVS: length: 31 != 24 other info that might help us debug this: rcu_scheduler_active = 1, debug_locks = 0 4 locks held by syz-executor5/25201: #0: (l2tp_sock){+.....}, at: [] spin_lock include/linux/spinlock.h:302 [inline] #0: (l2tp_sock){+.....}, at: [] l2tp_xmit_skb+0x38c/0xeb0 net/l2tp/l2tp_core.c:1139 #1: (rcu_read_lock){......}, at: [] inet6_csk_xmit+0xff/0x490 net/ipv6/inet6_connection_sock.c:163 #2: (rcu_read_lock_bh){......}, at: [] ip6_finish_output2+0x1d5/0x1ca0 net/ipv6/ip6_output.c:71 #3: (&n->lock){++--..}, at: [] __neigh_event_send+0x2f/0xc50 net/core/neighbour.c:969 stack backtrace: CPU: 0 PID: 25201 Comm: syz-executor5 Not tainted 4.4.147-ga5fc665 #80 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 49ec0f0632d0038e ffff8800a3fff090 ffffffff81e12a4d ffff8800add30000 0000000000000000 0000000000000001 ffffffff83a68200 ffff8800b98dfa58 ffff8800a3fff0c0 ffffffff814108b7 ffff8800b98df900 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] lockdep_rcu_suspicious.cold.47+0x110/0x141 kernel/locking/lockdep.c:4305 [] synchronize_rcu+0x78/0xa0 kernel/rcu/tree_plugin.h:682 [] __l2tp_session_unhash+0x38a/0x520 net/l2tp/l2tp_core.c:1702 [] l2tp_tunnel_closeall+0x1cb/0x350 net/l2tp/l2tp_core.c:1270 [] l2tp_tunnel_destruct+0x2f2/0x590 net/l2tp/l2tp_core.c:1230 [] sk_destruct+0x4c/0x4c0 net/core/sock.c:1447 [] __sk_free+0x4f/0x220 net/core/sock.c:1480 [] sock_wfree+0x103/0x140 net/core/sock.c:1667 [] skb_release_head_state+0x103/0x210 net/core/skbuff.c:646 [] skb_release_all+0x15/0x60 net/core/skbuff.c:659 [] __kfree_skb+0x15/0x20 net/core/skbuff.c:675 [] kfree_skb+0xf7/0x3e0 net/core/skbuff.c:696 [] __neigh_event_send+0x652/0xc50 net/core/neighbour.c:1016 [] neigh_event_send include/net/neighbour.h:431 [inline] [] neigh_resolve_output+0x4eb/0x790 net/core/neighbour.c:1310 [] dst_neigh_output include/net/dst.h:461 [inline] [] ip6_finish_output2+0x929/0x1ca0 net/ipv6/ip6_output.c:113 [] ip6_finish_output+0x3b8/0x760 net/ipv6/ip6_output.c:131 [] NF_HOOK_COND include/linux/netfilter.h:240 [inline] [] ip6_output+0x1b8/0x520 net/ipv6/ip6_output.c:145 [] dst_output include/net/dst.h:498 [inline] [] NF_HOOK_THRESH include/linux/netfilter.h:226 [inline] [] NF_HOOK include/linux/netfilter.h:249 [inline] [] ip6_xmit+0xc7a/0x1a00 net/ipv6/ip6_output.c:242 [] inet6_csk_xmit+0x245/0x490 net/ipv6/inet6_connection_sock.c:176 [] l2tp_xmit_core net/l2tp/l2tp_core.c:1084 [inline] [] l2tp_xmit_skb+0xbeb/0xeb0 net/l2tp/l2tp_core.c:1179 [] pppol2tp_sendmsg+0x4e0/0x7d0 net/l2tp/l2tp_ppp.c:355 [] sock_sendmsg_nosec net/socket.c:626 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:636 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1963 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2048 [] SYSC_sendmmsg net/socket.c:2078 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2073 [] entry_SYSCALL_64_fastpath+0x22/0x9e BUG: sleeping function called from invalid context at kernel/sched/completion.c:90 in_atomic(): 1, irqs_disabled(): 0, pid: 25201, name: syz-executor5 INFO: lockdep is turned off. Preemption disabled at:[] sock_sendmsg_nosec net/socket.c:626 [inline] Preemption disabled at:[] sock_sendmsg+0xcc/0x110 net/socket.c:636 CPU: 0 PID: 25201 Comm: syz-executor5 Not tainted 4.4.147-ga5fc665 #80 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 49ec0f0632d0038e ffff8800a3ffee10 ffffffff81e12a4d ffff8800add30000 0000000000000000 ffff8800add30000 000000000000005a ffff8800add30000 ffff8800a3ffee48 ffffffff8140e9d5 ffff8800add30000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] ___might_sleep.cold.116+0x1bd/0x1d3 kernel/sched/core.c:7988 [] __might_sleep+0x90/0x1a0 kernel/sched/core.c:7948 [] __wait_for_common kernel/sched/completion.c:90 [inline] [] wait_for_common kernel/sched/completion.c:101 [inline] [] wait_for_completion+0x89/0x2e0 kernel/sched/completion.c:122 [] __wait_rcu_gp+0x137/0x1b0 kernel/rcu/update.c:347 [] synchronize_rcu.part.55+0x94/0xd0 kernel/rcu/tree_plugin.h:691 [] synchronize_rcu+0x37/0xa0 kernel/rcu/tree_plugin.h:692 [] __l2tp_session_unhash+0x38a/0x520 net/l2tp/l2tp_core.c:1702 [] l2tp_tunnel_closeall+0x1cb/0x350 net/l2tp/l2tp_core.c:1270 [] l2tp_tunnel_destruct+0x2f2/0x590 net/l2tp/l2tp_core.c:1230 [] sk_destruct+0x4c/0x4c0 net/core/sock.c:1447 [] __sk_free+0x4f/0x220 net/core/sock.c:1480 [] sock_wfree+0x103/0x140 net/core/sock.c:1667 [] skb_release_head_state+0x103/0x210 net/core/skbuff.c:646 [] skb_release_all+0x15/0x60 net/core/skbuff.c:659 [] __kfree_skb+0x15/0x20 net/core/skbuff.c:675 [] kfree_skb+0xf7/0x3e0 net/core/skbuff.c:696 [] __neigh_event_send+0x652/0xc50 net/core/neighbour.c:1016 [] neigh_event_send include/net/neighbour.h:431 [inline] [] neigh_resolve_output+0x4eb/0x790 net/core/neighbour.c:1310 [] dst_neigh_output include/net/dst.h:461 [inline] [] ip6_finish_output2+0x929/0x1ca0 net/ipv6/ip6_output.c:113 [] ip6_finish_output+0x3b8/0x760 net/ipv6/ip6_output.c:131 [] NF_HOOK_COND include/linux/netfilter.h:240 [inline] [] ip6_output+0x1b8/0x520 net/ipv6/ip6_output.c:145 [] dst_output include/net/dst.h:498 [inline] [] NF_HOOK_THRESH include/linux/netfilter.h:226 [inline] [] NF_HOOK include/linux/netfilter.h:249 [inline] [] ip6_xmit+0xc7a/0x1a00 net/ipv6/ip6_output.c:242 [] inet6_csk_xmit+0x245/0x490 net/ipv6/inet6_connection_sock.c:176 [] l2tp_xmit_core net/l2tp/l2tp_core.c:1084 [inline] [] l2tp_xmit_skb+0xbeb/0xeb0 net/l2tp/l2tp_core.c:1179 [] pppol2tp_sendmsg+0x4e0/0x7d0 net/l2tp/l2tp_ppp.c:355 [] sock_sendmsg_nosec net/socket.c:626 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:636 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1963 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2048 [] SYSC_sendmmsg net/socket.c:2078 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2073 [] entry_SYSCALL_64_fastpath+0x22/0x9e BUG: scheduling while atomic: syz-executor5/25201/0x00000603 INFO: lockdep is turned off. Modules linked in: Preemption disabled at:[] sock_sendmsg_nosec net/socket.c:626 [inline] Preemption disabled at:[] sock_sendmsg+0xcc/0x110 net/socket.c:636 CPU: 0 PID: 25201 Comm: syz-executor5 Not tainted 4.4.147-ga5fc665 #80 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 49ec0f0632d0038e ffff8800a3ffec68 ffffffff81e12a4d ffff8800add30000 0000000000000603 000000000001f540 0000000000000000 0000000000000000 ffff8800a3ffec88 ffffffff8140eac9 ffff8801db21f540 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] __schedule_bug.cold.117+0xde/0x100 kernel/sched/core.c:3138 [] schedule_debug kernel/sched/core.c:3153 [inline] [] __schedule+0x11ff/0x1d70 kernel/sched/core.c:3265 [] schedule+0x7a/0x1b0 kernel/sched/core.c:3355 [] schedule_timeout+0x481/0x8b0 kernel/time/timer.c:1515 [] do_wait_for_common kernel/sched/completion.c:75 [inline] [] __wait_for_common kernel/sched/completion.c:93 [inline] [] wait_for_common kernel/sched/completion.c:101 [inline] [] wait_for_completion+0x1fe/0x2e0 kernel/sched/completion.c:122 [] __wait_rcu_gp+0x137/0x1b0 kernel/rcu/update.c:347 [] synchronize_rcu.part.55+0x94/0xd0 kernel/rcu/tree_plugin.h:691 [] synchronize_rcu+0x37/0xa0 kernel/rcu/tree_plugin.h:692 [] __l2tp_session_unhash+0x38a/0x520 net/l2tp/l2tp_core.c:1702 [] l2tp_tunnel_closeall+0x1cb/0x350 net/l2tp/l2tp_core.c:1270 [] l2tp_tunnel_destruct+0x2f2/0x590 net/l2tp/l2tp_core.c:1230 [] sk_destruct+0x4c/0x4c0 net/core/sock.c:1447 [] __sk_free+0x4f/0x220 net/core/sock.c:1480 [] sock_wfree+0x103/0x140 net/core/sock.c:1667 [] skb_release_head_state+0x103/0x210 net/core/skbuff.c:646 [] skb_release_all+0x15/0x60 net/core/skbuff.c:659 [] __kfree_skb+0x15/0x20 net/core/skbuff.c:675 [] kfree_skb+0xf7/0x3e0 net/core/skbuff.c:696 [] __neigh_event_send+0x652/0xc50 net/core/neighbour.c:1016 [] neigh_event_send include/net/neighbour.h:431 [inline] [] neigh_resolve_output+0x4eb/0x790 net/core/neighbour.c:1310 [] dst_neigh_output include/net/dst.h:461 [inline] [] ip6_finish_output2+0x929/0x1ca0 net/ipv6/ip6_output.c:113 [] ip6_finish_output+0x3b8/0x760 net/ipv6/ip6_output.c:131 [] NF_HOOK_COND include/linux/netfilter.h:240 [inline] [] ip6_output+0x1b8/0x520 net/ipv6/ip6_output.c:145 [] dst_output include/net/dst.h:498 [inline] [] NF_HOOK_THRESH include/linux/netfilter.h:226 [inline] [] NF_HOOK include/linux/netfilter.h:249 [inline] [] ip6_xmit+0xc7a/0x1a00 net/ipv6/ip6_output.c:242 [] inet6_csk_xmit+0x245/0x490 net/ipv6/inet6_connection_sock.c:176 [] l2tp_xmit_core net/l2tp/l2tp_core.c:1084 [inline] [] l2tp_xmit_skb+0xbeb/0xeb0 net/l2tp/l2tp_core.c:1179 [] pppol2tp_sendmsg+0x4e0/0x7d0 net/l2tp/l2tp_ppp.c:355 [] sock_sendmsg_nosec net/socket.c:626 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:636 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1963 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2048 [] SYSC_sendmmsg net/socket.c:2078 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2073 [] entry_SYSCALL_64_fastpath+0x22/0x9e IPVS: length: 31 != 24 IPVS: length: 31 != 24 IPVS: length: 31 != 24 IPVS: length: 31 != 24