diff options
author | Eric Dumazet <edumazet@google.com> | 2016-11-22 18:06:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-24 21:32:14 +0100 |
commit | 30c7be26fd3587abcb69587f781098e3ca2d565b (patch) | |
tree | 72bc8ac2183042913c6bf7d9332f811b11378f02 /net/ax25 | |
parent | ipv6: bump genid when the IFA_F_TENTATIVE flag is clear (diff) | |
download | linux-30c7be26fd3587abcb69587f781098e3ca2d565b.tar.xz linux-30c7be26fd3587abcb69587f781098e3ca2d565b.zip |
udplite: call proper backlog handlers
In commits 93821778def10 ("udp: Fix rcv socket locking") and
f7ad74fef3af ("net/ipv6/udp: UDP encapsulation: break backlog_rcv into
__udpv6_queue_rcv_skb") UDP backlog handlers were renamed, but UDPlite
was forgotten.
This leads to crashes if UDPlite header is pulled twice, which happens
starting from commit e6afc8ace6dd ("udp: remove headers from UDP packets
before queueing")
Bug found by syzkaller team, thanks a lot guys !
Note that backlog use in UDP/UDPlite is scheduled to be removed starting
from linux-4.10, so this patch is only needed up to linux-4.9
Fixes: 93821778def1 ("udp: Fix rcv socket locking")
Fixes: f7ad74fef3af ("net/ipv6/udp: UDP encapsulation: break backlog_rcv into __udpv6_queue_rcv_skb")
Fixes: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions