diff options
author | Rabin Vincent <rabinv@axis.com> | 2017-04-17 12:03:44 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-04-17 12:03:44 -0300 |
commit | 2604882cefd3281679b8177245fdebc7061b8695 (patch) | |
tree | 9c9f7ba9da605b92df7849ca7deba57e60dff3ac /ChangeLog | |
parent | a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31 (diff) | |
download | glibc-2604882cefd3281679b8177245fdebc7061b8695.zip glibc-2604882cefd3281679b8177245fdebc7061b8695.tar.gz glibc-2604882cefd3281679b8177245fdebc7061b8695.tar.bz2 |
[BZ 21357] unwind-dw2-fde: Call free() outside of unwind mutex
__deregister_frame_info_bases() calls free() while holding a mutex which
is also used from _Unwind_Find_FDE(). This leads to a deadlock if
AddressSanitizer uses _Unwind_Backtrace() from its free()
implementation.
Checked on mips-linux-gnu and x86_64-linux-gnu.
[BZ #21357]
* sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
Call free() outside of mutex.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2017-04-17 Rabin Vincent <rabinv@axis.com> + + [BZ #21357] + * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases): + Call free() outside of mutex. + 2017-04-13 Florian Weimer <fweimer@redhat.com> * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW |