IPVS: Creating netns size=2552 id=18 =============================== [ INFO: suspicious RCU usage. ] 4.4.141-gbda6b6e #70 Not tainted ------------------------------- kernel/rcu/tree_plugin.h:685 Illegal synchronize_rcu() in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 1, debug_locks = 0 4 locks held by syz-executor2/12064: #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: 1 PID: 12064 Comm: syz-executor2 Not tainted 4.4.141-gbda6b6e #70 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 9ae73de1a6c084f1 ffff8801bb06f090 ffffffff81e0e16d ffff8801bb7de000 0000000000000000 0000000000000001 ffffffff83a676c0 ffff8800af6b52d8 ffff8801bb06f0c0 ffffffff8140e3f7 ffff8800af6b5180 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:625 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:635 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1962 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2047 [] SYSC_sendmmsg net/socket.c:2077 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2072 [] 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: 12064, name: syz-executor2 INFO: lockdep is turned off. Preemption disabled at:[] sock_sendmsg_nosec net/socket.c:625 [inline] Preemption disabled at:[] sock_sendmsg+0xcc/0x110 net/socket.c:635 CPU: 1 PID: 12064 Comm: syz-executor2 Not tainted 4.4.141-gbda6b6e #70 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 9ae73de1a6c084f1 ffff8801bb06ee10 ffffffff81e0e16d ffff8801bb7de000 0000000000000000 ffff8801bb7de000 000000000000005a ffff8801bb7de000 ffff8801bb06ee48 ffffffff8140c515 ffff8801bb7de000 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:7992 [] __might_sleep+0x90/0x1a0 kernel/sched/core.c:7952 [] __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:625 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:635 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1962 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2047 [] SYSC_sendmmsg net/socket.c:2077 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2072 [] entry_SYSCALL_64_fastpath+0x22/0x9e BUG: scheduling while atomic: syz-executor2/12064/0x00000603 INFO: lockdep is turned off. Modules linked in: Preemption disabled at:[] sock_sendmsg_nosec net/socket.c:625 [inline] Preemption disabled at:[] sock_sendmsg+0xcc/0x110 net/socket.c:635 CPU: 1 PID: 12064 Comm: syz-executor2 Not tainted 4.4.141-gbda6b6e #70 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 9ae73de1a6c084f1 ffff8801bb06ec68 ffffffff81e0e16d ffff8801bb7de000 0000000000000603 000000000001f4c0 0000000000000000 0000000000000001 ffff8801bb06ec88 ffffffff8140c609 ffff8801db31f4c0 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:3142 [] schedule_debug kernel/sched/core.c:3157 [inline] [] __schedule+0x11ff/0x1d70 kernel/sched/core.c:3269 [] schedule+0x7a/0x1b0 kernel/sched/core.c:3359 [] 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:625 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:635 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1962 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2047 [] SYSC_sendmmsg net/socket.c:2077 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2072 [] entry_SYSCALL_64_fastpath+0x22/0x9e