Skip to content
Snippets Groups Projects
  1. Apr 02, 2023
  2. Apr 01, 2023
  3. Mar 31, 2023
  4. Mar 29, 2023
    • Brian Delwiche's avatar
      Fix OOB read in btm_ble_periodic_av_sync_lost · c077ffbe
      Brian Delwiche authored
      btm_ble_periodic_av_sync_lost internally calls the function
      btm_ble_get_psync_index_from_handle, which polls the internal periodic
      sync buffer and returns a matching index if one exists.  If no matching
      handle is found, it returns MAX_SYNC_TRANSACTION.
      
      However, here the calling function lacks the check for this case present
      in similar functions.  If no handle is matched, it will attempt to index
      the buffer with MAX_SYNC_TRANSACTION, which will overrun it by a single
      width and lead to OOB access.
      
      Add handling for this case.
      
      Bug: 273502002
      Test: atest bluetooth_test_gd_unit, atest net_test_stack_btm, validated
      against researcher POC
      Tag: #security
      Ignore-AOSP-First: Security
      
      Change-Id: I2e1e95b277f81b2668f721a7693df50841968ec5
      c077ffbe
  5. Mar 25, 2023
  6. Mar 24, 2023
  7. Mar 23, 2023
  8. Mar 21, 2023
  9. Mar 20, 2023
  10. Mar 18, 2023
  11. Mar 16, 2023
Loading