tcache

Tag

Cards List
#tcache

How cross-thread double free detection could work in glibc malloc

Lobsters Hottest · 2026-05-20 Cached

This blog post explains the current double free detection mechanism in glibc malloc's per-thread tcache, identifies a flaw that allows cross-thread double frees, and proposes a potential fix using randomized keys per thread.

0 favorites 0 likes
← Back to home

Submit Feedback