glibc/malloc
W. Hashimoto 0e00b35704 malloc: Detect infinite-loop in _int_free when freeing tcache [BZ#27052]
If linked-list of tcache contains a loop, it invokes infinite
loop in _int_free when freeing tcache. The PoC which invokes
such infinite loop is on the Bugzilla(#27052). This loop
should terminate when the loop exceeds mp_.tcache_count and
the program should abort. The affected glibc version is
2.29 or later.

Reviewed-by: DJ Delorie <dj@redhat.com>
2020-12-11 16:59:10 -05:00
..
alloc_buffer_alloc_array.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
alloc_buffer_allocate.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
alloc_buffer_copy_bytes.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
alloc_buffer_copy_string.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
alloc_buffer_create_failure.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
arena.c malloc debug: fix compile error when enable macro MALLOC_DEBUG > 1 2020-10-30 14:49:08 -04:00
Depend malloc: Add nptl, htl dependency for the subdirectory [BZ #24757] 2019-07-02 16:51:13 +02:00
dynarray_at_failure.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dynarray_emplace_enlarge.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dynarray_finalize.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dynarray_resize_clear.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dynarray_resize.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dynarray-skeleton.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dynarray.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hooks.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile Revert "Fix missing redirects in testsuite targets" 2020-10-08 10:09:30 +02:00
malloc-hooks.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
malloc-internal.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
malloc.c malloc: Detect infinite-loop in _int_free when freeing tcache [BZ#27052] 2020-12-11 16:59:10 -05:00
malloc.h malloc: Fix mallinfo deprecation declaration 2020-08-31 14:22:06 -03:00
mallocbug.c
mcheck-init.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mcheck.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mcheck.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memusage.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memusage.sh Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
memusagestat.c Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
morecore.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mtrace.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mtrace.pl Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
obstack.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
obstack.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
reallocarray.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
scratch_buffer_grow_preserve.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
scratch_buffer_grow.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
scratch_buffer_set_array_size.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
set-freeres.c nsswitch: use new internal API (core) 2020-12-04 17:15:53 -05:00
thread-freeres.c Remove --enable-obsolete-rpc configure flag 2020-07-13 19:36:35 +02:00
tst-alloc_buffer.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-calloc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-dynarray-at-fail.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-dynarray-fail.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-dynarray-shared.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-dynarray.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-aux-nothread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-aux-thread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-aux.c elf: Move vDSO setup to rtld (BZ#24967) 2020-01-03 11:22:07 -03:00
tst-interpose-aux.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-nothread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-skeleton.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-static-nothread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-static-thread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-interpose-thread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mallinfo2.c Update mallinfo2 ABI, and test 2020-09-17 18:49:30 -04:00
tst-malloc_info.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc-backtrace.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc-fork-deadlock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc-stats-cancellation.c
tst-malloc-tcache-leak.c malloc: Fix mallinfo deprecation declaration 2020-08-31 14:22:06 -03:00
tst-malloc-thread-exit.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc-thread-fail.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc-too-large.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc-usable-static-tunables.c
tst-malloc-usable-static.c
tst-malloc-usable-tunables.c
tst-malloc-usable.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-malloc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mallocfork2.c malloc/tst-mallocfork2: Kill lingering process for unexpected failures 2020-02-27 13:43:57 -03:00
tst-mallocfork.c Fix malloc tests build with GCC 10. 2019-06-10 22:12:08 +00:00
tst-mallocstate.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mallopt.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mcheck.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-memalign.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mtrace.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mtrace.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-mxfast.c malloc: Fix mallinfo deprecation declaration 2020-08-31 14:22:06 -03:00
tst-obstack.c
tst-posix_memalign.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-pvalloc-fortify.c Remove incorrect alloc_size attribute from pvalloc [BZ #25401] 2020-01-17 15:05:34 +01:00
tst-pvalloc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-realloc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-reallocarray.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-safe-linking.c Add tests for Safe-Linking 2020-04-03 07:20:56 -04:00
tst-scratch_buffer.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-tcfree1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-tcfree2.c tst-tcfree2: adjust coding style. 2020-10-30 14:47:29 -04:00
tst-tcfree3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-trim1.c
tst-valloc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions Update mallinfo2 ABI, and test 2020-09-17 18:49:30 -04:00