Painless intro to the Linux userland heap
ID: 1bd568e3-4e64-5d0a-a90f-83e4d36fa0ed
STIX ID: report--1bd568e3-4e64-5d0a-a90f-83e4d36fa0ed
Feed Name: SensePost Blog
This post introduces the internals of glibc’s ptmalloc2 heap on Linux—arenas, top, bins (small/large/unsorted), fastbins, binmaps, and chunk metadata—and explains allocation/freeing, coalescing, and the unlink macro, including why certain performance choices affect fragmentation and exploitation. It briefly highlights common exploitation primitives (e.g., double frees, off-by-one overwrites) and links to PoCs, serving as a foundational reference rather than a specific incident or vulnerability report.
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
