[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181116.230222.206906047899209462.davem@davemloft.net>
Date: Fri, 16 Nov 2018 23:02:22 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, willemb@...gle.com, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] udp: fix jump label misuse
From: Paolo Abeni <pabeni@...hat.com>
Date: Thu, 15 Nov 2018 02:34:50 +0100
> The commit 60fb9567bf30 ("udp: implement complete book-keeping for
> encap_needed") introduced a severe misuse of jump label APIs, which
> syzbot, as reported by Eric, was able to exploit.
>
> When multiple sockets/process can concurrently request (and than
> disable) the udp encap, we need to track the activation counter with
> *_inc()/*_dec() jump label variants, or we can experience bad things
> at disable time.
>
> Fixes: 60fb9567bf30 ("udp: implement complete book-keeping for encap_needed")
> Reported-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied, thanks Paolo.
Powered by blists - more mailing lists