Re: [PATCH v3] libdw: Fix eu_search_tree TOCTOU bugs

2025-05-30 Thread Mark Wielaard
Hi Aaron, On Thu, May 29, 2025 at 05:44:32PM -0400, Aaron Merey wrote: > eu_tfind is used to facilitate lazy loading throughout libdw. > If a result is not found via eu_tfind, work is done to load > the result and cache it in an eu_search_tree. > > Some calls to eu_tfind allow for TOCTOU bugs. M

[PATCH v3] libdw: Fix eu_search_tree TOCTOU bugs

2025-05-29 Thread Aaron Merey
eu_tfind is used to facilitate lazy loading throughout libdw. If a result is not found via eu_tfind, work is done to load the result and cache it in an eu_search_tree. Some calls to eu_tfind allow for TOCTOU bugs. Multiple threads might race to call eu_tfind on some result that hasn't yet been ca