public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug malloc/17344] New: Enhance glibc metadata hardening with the attached patch
@ 2014-09-03  1:31 scarybeasts at gmail dot com
  2014-09-04 11:15 ` [Bug malloc/17344] " fweimer at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: scarybeasts at gmail dot com @ 2014-09-03  1:31 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17344

            Bug ID: 17344
           Summary: Enhance glibc metadata hardening with the attached
                    patch
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: scarybeasts at gmail dot com

Created attachment 7769
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7769&action=edit
Check linked list integrity for the large sized chunk list too.

As a follow-on from my recent glibc exploit:

http://googleprojectzero.blogspot.com/2014/08/the-poisoned-nul-byte-2014-edition.html

I'd have really been slowed down, perhaps even stopped, if the the existing
metadata hardening tricks were extended to one more place. I've attached a
patch. It checks doubly-linked list integrity on unlink in one more place: the
linked list for larger-sized chunks.

Please consider applying it. There was already an assert() for this check, this
patch simply elevates this from an assert() to a runtime check.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-10-31 21:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-03  1:31 [Bug malloc/17344] New: Enhance glibc metadata hardening with the attached patch scarybeasts at gmail dot com
2014-09-04 11:15 ` [Bug malloc/17344] " fweimer at redhat dot com
2014-09-10  8:23 ` fweimer at redhat dot com
2014-09-11  9:02 ` cvs-commit at gcc dot gnu.org
2014-09-11  9:03 ` fweimer at redhat dot com
2014-10-31 21:22 ` cvs-commit at gcc dot gnu.org

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).