[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170210.155844.1248410088131816631.davem@davemloft.net>
Date: Fri, 10 Feb 2017 15:58:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, pabeni@...hat.com, andreyknvl@...gle.com
Subject: Re: [PATCH v2 net] l2tp: do not use udp_ioctl()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 09 Feb 2017 16:15:52 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> udp_ioctl(), as its name suggests, is used by UDP protocols,
> but is also used by L2TP :(
>
> L2TP should use its own handler, because it really does not
> look the same.
>
> SIOCINQ for instance should not assume UDP checksum or headers.
>
> Thanks to Andrey and syzkaller team for providing the report
> and a nice reproducer.
>
> While crashes only happen on recent kernels (after commit
> 7c13f97ffde6 ("udp: do fwd memory scheduling on dequeue")), this
> probably needs to be backported to older kernels.
>
> Fixes: 7c13f97ffde6 ("udp: do fwd memory scheduling on dequeue")
> Fixes: 85584672012e ("udp: Fix udp_poll() and ioctl()")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
> Acked-by: Paolo Abeni <pabeni@...hat.com>
> ---
> v2: Adding the EXPORT_SYMBOL(l2tp_ioctl) for ipv6, of course...
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists