[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1318653905-13716-1-git-send-email-mattjd@gmail.com>
Date: Sat, 15 Oct 2011 00:45:02 -0400
From: Matthew Daley <mattjd@...il.com>
To: netdev@...r.kernel.org
Cc: Eric Dumazet <eric.dumazet@...il.com>,
Andrew Hendry <andrew.hendry@...il.com>
Subject: x25: Fix multiple buffer overruns/overreads
This patchset fixes several buffer overruns/overreads in the X.25
packet layer. The first patch fixes a particularly nasty remote-triggerable
buffer overflow, while the rest fix skb overreads on undersized/fragmented
skbs.
Matthew Daley (3):
x25: Validate incoming call user data lengths
x25: Handle undersized/fragmented skbs
x25: Prevent skb overreads when checking call user data
net/x25/af_x25.c | 40 ++++++++++++++++++++++++++++++++--------
net/x25/x25_dev.c | 6 ++++++
net/x25/x25_facilities.c | 10 ++++++----
net/x25/x25_in.c | 43 ++++++++++++++++++++++++++++++++++++++-----
net/x25/x25_link.c | 3 +++
net/x25/x25_subr.c | 14 +++++++++++++-
6 files changed, 98 insertions(+), 18 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists