1. 14 Oct, 2023 1 commit
    • Luiz Augusto von Dentz's avatar
      Bluetooth: hci_event: Fix using memcmp when comparing keys · b5412606
      Luiz Augusto von Dentz authored
      memcmp is not consider safe to use with cryptographic secrets:
      
       'Do  not  use memcmp() to compare security critical data, such as
       cryptographic secrets, because the required CPU time depends on the
       number of equal bytes.'
      
      While usage of memcmp for ZERO_KEY may not be considered a security
      critical data, it can lead to more usage of memcmp with pairing keys
      which could introduce more security problems.
      
      Fixes: 455c2ff0 ("Bluetooth: Fix BR/EDR out-of-band pairing with only initiator data")
      Fixes: 33155c4a ("Bluetooth: hci_event: Ignore NULL link key")
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      b5412606
  2. 11 Oct, 2023 15 commits
  3. 10 Oct, 2023 11 commits
  4. 09 Oct, 2023 5 commits
  5. 08 Oct, 2023 3 commits
  6. 07 Oct, 2023 5 commits