public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* malloc: Security implications of tcache
@ 2018-02-08 21:39 Moritz Eckert
  2018-02-08 23:02 ` Ondřej Bílka
  2018-02-09  6:40 ` Carlos O'Donell
  0 siblings, 2 replies; 6+ messages in thread
From: Moritz Eckert @ 2018-02-08 21:39 UTC (permalink / raw)
  To: libc-alpha

Hey,

I was wondering if people are aware of the security implications of the 
tcache structure?

Itis operating in similar fashion to the fastbin free-list, but without 
any security checks at all to detect memory corruptions.
This leads back to unconstrained writes and unconstrained arbitrary 
allocations, similar to the times of dlmalloc.
Eventually, this makes all the security checks introduced before rather 
pointless, as they are bypassed completely by design.

There is no real fix to this problem, apart from disabling the tcache of 
course, so I was wondering what lead to the decision to remove security 
checks in this context?

Thank you,
Moritz

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-15 20:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-08 21:39 malloc: Security implications of tcache Moritz Eckert
2018-02-08 23:02 ` Ondřej Bílka
2018-02-09  6:40 ` Carlos O'Donell
2018-02-10 16:37   ` Ondřej Bílka
2018-02-15  7:15     ` Moritz Eckert
2018-02-15 22:00       ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).