1. 07 Jul, 2011 3 commits
    • Johannes Berg's avatar
      mac80211: fix TKIP replay vulnerability · 34459512
      Johannes Berg authored
      Unlike CCMP, the presence or absence of the QoS
      field doesn't change the encryption, only the
      TID is used. When no QoS field is present, zero
      is used as the TID value. This means that it is
      possible for an attacker to take a QoS packet
      with TID 0 and replay it as a non-QoS packet.
      
      Unfortunately, mac80211 uses different IVs for
      checking the validity of the packet's TKIP IV
      when it checks TID 0 and when it checks non-QoS
      packets. This means it is vulnerable to this
      replay attack.
      
      To fix this, use the same replay counter for
      TID 0 and non-QoS packets by overriding the
      rx->queue value to 0 if it is 16 (non-QoS).
      
      This is a minimal fix for now. I caused this
      issue in
      
      commit 1411f9b5
      Author: Johannes Berg <johannes@sipsolutions.net>
      Date:   Thu Jul 10 10:11:02 2008 +0200
      
          mac80211: fix RX sequence number check
      
      while fixing a sequence number issue (there,
      a separate counter needs to be used).
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      34459512
    • Luciano Coelho's avatar
      mac80211: fix ie memory allocation for scheduled scans · 1186980d
      Luciano Coelho authored
      We were not allocating memory for the IEs passed in the scheduled_scan
      request and this was causing memory corruption (buffer overflow).
      Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1186980d
    • Rafał Miłecki's avatar
      ssb: fix init regression of hostmode PCI core · 6ae8ec27
      Rafał Miłecki authored
      Our workarounds seem to be clientmode PCI specific. Using SPROM
      workaround on SoC resulted in Oops:
      
      Data bus error, epc == 8017ed58, ra == 80225838
       Oops[#1]:
       Cpu 0
       $ 0   : 00000000 10008000 b8000000 00000001
       $ 4   : 80293b5c 00000caa ffffffff 00000000
       $ 8   : 0000000a 00000003 00000001 696d6d20
       $12   : ffffffff 00000000 00000000 ffffffff
       $16   : 802d0140 b8004800 802c0000 00000000
       $20   : 00000000 802c0000 00000000 802d04d4
       $24   : 00000018 80151a00
       $28   : 81816000 81817df8 8029bda0 80225838
       Hi    : 00000000
       Lo    : 00000000
       epc   : 8017ed58 ssb_ssb_read16+0x48/0x60
         Not tainted
       ra    : 80225838 ssb_pcicore_init+0x54/0x3b4
      Reported-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
      Tested-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      6ae8ec27
  2. 05 Jul, 2011 7 commits
  3. 30 Jun, 2011 3 commits
  4. 29 Jun, 2011 2 commits
  5. 28 Jun, 2011 2 commits
  6. 27 Jun, 2011 5 commits
  7. 24 Jun, 2011 2 commits
  8. 22 Jun, 2011 1 commit
    • Larry Finger's avatar
      rtl8192cu: Fix missing firmware load · 9935d126
      Larry Finger authored
      In commit 3ac5e26a entitled
      "rtlwifi: rtl8192c-common: Change common firmware routines for addition
      of rtl8192se and rtl8192de", the firmware loading code was moved.
      Unfortunately, some necessary code was dropped for rtl8192cu.
      
      The dmesg output shows the following:
      
      rtl8192c: Loading firmware file rtlwifi/rtl8192cufw.bin
      rtl8192c_common:_rtl92c_fw_free_to_go():<0-0> Polling FW ready fail!! REG_MCUFWDL:0x00000006 .
      rtl8192c_common:rtl92c_download_fw():<0-0> Firmware is not ready to run!
      
      In addition, the interface will authenticate and associate, but cannot
      transfer data.
      
      This is reported as Kernel Bug #38012.
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      9935d126
  9. 20 Jun, 2011 2 commits
  10. 15 Jun, 2011 3 commits
  11. 14 Jun, 2011 1 commit
  12. 13 Jun, 2011 1 commit
  13. 10 Jun, 2011 4 commits
  14. 09 Jun, 2011 1 commit
  15. 08 Jun, 2011 3 commits