1. 02 Nov, 2007 1 commit
    • John W. Linville's avatar
      [IEEE80211]: avoid integer underflow for runt rx frames (CVE-2007-4997) · c515d9db
      John W. Linville authored
      Reported by Chris Evans <scarybeasts@gmail.com>:
      
      > The summary is that an evil 80211 frame can crash out a victim's
      > machine. It only applies to drivers using the 80211 wireless code, and
      > only then to certain drivers (and even then depends on a card's
      > firmware not dropping a dubious packet). I must confess I'm not
      > keeping track of Linux wireless support, and the different protocol
      > stacks etc.
      >
      > Details are as follows:
      >
      > ieee80211_rx() does not explicitly check that "skb->len >= hdrlen".
      > There are other skb->len checks, but not enough to prevent a subtle
      > off-by-two error if the frame has the IEEE80211_STYPE_QOS_DATA flag
      > set.
      >
      > This leads to integer underflow and crash here:
      >
      > if (frag != 0)
      >    flen -= hdrlen;
      >
      > (flen is subsequently used as a memcpy length parameter).
      
      How about this?
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      c515d9db
  2. 01 Nov, 2007 4 commits
  3. 28 Oct, 2007 5 commits
  4. 19 Oct, 2007 6 commits
  5. 18 Oct, 2007 14 commits
  6. 12 Oct, 2007 2 commits
  7. 07 Oct, 2007 2 commits
  8. 06 Oct, 2007 6 commits