[PATCH 00/10] Some ASAN/UBSAN related fixes

benjamin at sipsolutions.net benjamin at sipsolutions.net
Fri Jun 14 01:13:41 PDT 2024


From: Benjamin Berg <benjamin.berg at intel.com>

Hi all,

this patchset contains some ASAN/UBSAN related fixes. The first two
patches are actually quite bad bugs (that I introduced). The rest are
much more minor and largely related to changing the FAIL_TEST matching
to only match full function names instead of also matching prefixes by
default.

Note that you can do ASAN/UBSAN enabled hwsim runs using UML in
time-travel mode if you apply a few patches to increase the available
address space in UML, see
  https://patchwork.ozlabs.org/project/linux-um/list/?series=410615

Benjamin

Benjamin Berg (10):
  MLD: Ensure link BSSIDs remain on stack for ignore
  MLD: Ensure link_bssid array has space for sentinel
  PMKSA: Guard against NULL KCK
  tests: Specify correct suite for failure
  tests: Use more specific alloc_fail location
  tests: Remove duplicate fail test check
  tests: Use sha256_prf_bits for failure stack matching
  trace: Use strncmp to match function names
  trace: Only permit explicit prefix matching for functions
  tests: Ignore large memory blocks when searching for keys

 src/rsn_supp/pmksa_cache.c    | 3 ++-
 src/utils/os_unix.c           | 8 +++++++-
 tests/hwsim/test_ap_hs20.py   | 2 +-
 tests/hwsim/test_ap_psk.py    | 7 ++++++-
 tests/hwsim/test_eap_proto.py | 2 +-
 tests/hwsim/test_sae.py       | 2 +-
 tests/hwsim/test_suite_b.py   | 2 +-
 tests/hwsim/test_wpas_ctrl.py | 2 --
 wpa_supplicant/events.c       | 4 ++--
 9 files changed, 21 insertions(+), 11 deletions(-)

-- 
2.45.1




More information about the Hostap mailing list