1. 20 11月, 2015 1 次提交
  2. 26 10月, 2015 1 次提交
  3. 05 10月, 2015 2 次提交
  4. 26 9月, 2015 1 次提交
  5. 17 9月, 2015 1 次提交
    • K
      Bluetooth: btmrvl: skb resource leak, and double free. · 517a5460
      Kieran Bingham 提交于
      if btmrvl_tx_pkt() is called, and the branch
        if (skb_headroom(skb) < BTM_HEADER_LEN)
      evaluates positive, a new skb is allocated via skb_realloc_headroom.
      
      The original skb is stored in a tmp variable, before being free'd.
      However on success, the new skb, is not free'd, nor is it
      returned to the caller which will then double-free the original skb.
      
      This issue exists from the original driver submission in
       commit: #132ff4e5
      
      If this code path had been alive, it would have been noted from the
      double-free causing a panic.
      
      All skb's here should be allocated through bt_skb_alloc which
      adds 8 bytes as headroom, which is plenty against the 4 bytes
      pushed on by this driver.
      
      This code path is dead, and buggy at the same time, so the cleanest
      approach is to remove the affected branch.
      
      Reported by coverity (CID 113422)
      Signed-off-by: NKieran Bingham <kieranbingham@gmail.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      517a5460
  6. 14 2月, 2015 1 次提交
  7. 08 1月, 2015 2 次提交
  8. 06 1月, 2015 3 次提交
  9. 04 12月, 2014 2 次提交
  10. 19 11月, 2014 3 次提交
  11. 31 7月, 2014 1 次提交
  12. 19 7月, 2014 1 次提交
  13. 03 7月, 2014 2 次提交
  14. 24 4月, 2014 1 次提交
  15. 29 3月, 2014 1 次提交
  16. 21 3月, 2014 1 次提交
  17. 04 12月, 2013 3 次提交
  18. 11 10月, 2013 3 次提交
  19. 02 10月, 2013 4 次提交
  20. 14 6月, 2013 1 次提交
  21. 09 7月, 2012 1 次提交
  22. 19 6月, 2012 1 次提交
  23. 09 5月, 2012 2 次提交
  24. 13 2月, 2012 1 次提交