netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* x25: Fix multiple buffer overruns/overreads
@ 2011-10-15  4:45 Matthew Daley
  2011-10-15  4:45 ` [PATCH 1/3] x25: Validate incoming call user data lengths Matthew Daley
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Matthew Daley @ 2011-10-15  4:45 UTC (permalink / raw)
  To: netdev; +Cc: Eric Dumazet, Andrew Hendry

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-17 23:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-15  4:45 x25: Fix multiple buffer overruns/overreads Matthew Daley
2011-10-15  4:45 ` [PATCH 1/3] x25: Validate incoming call user data lengths Matthew Daley
2011-10-15  4:45 ` [PATCH 2/3] x25: Handle undersized/fragmented skbs Matthew Daley
2011-10-17 10:28   ` Andrew Hendry
2011-10-15  4:45 ` [PATCH 3/3] x25: Prevent skb overreads when checking call user data Matthew Daley
2011-10-17 10:28   ` Andrew Hendry
2011-10-17 23:32 ` x25: Fix multiple buffer overruns/overreads David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).