summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-04-23 17:38:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-29 08:45:29 +0300
commit8b467810a29ff4c2335225231a903f18dcf39d5a (patch)
treecb9731afb89ecd32910aea15bd4788d2eaff3201 /net/llc
parenta0475be870ab18f56df3ee3e925efd1688243b4c (diff)
downloadlinux-8b467810a29ff4c2335225231a903f18dcf39d5a.tar.xz
pppoe: check sockaddr length in pppoe_connect()
[ Upstream commit a49e2f5d5fb141884452ddb428f551b123d436b5 ] We must validate sockaddr_len, otherwise userspace can pass fewer data than we expect and we end up accessing invalid data. Fixes: 224cf5ad14c0 ("ppp: Move the PPP drivers") Reported-by: syzbot+4f03bdf92fdf9ef5ddab@syzkaller.appspotmail.com Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions