Blocking double-free in Linux kernel
http://blog.ptsecurity.com/2017/08/linux-block-double-free.html [blog.ptsecurity.com]
2017-08-31 17:05
It turned out that SLUB allows consecutive double freeing of the same memory region. In contrast, GNU C library allocator has a “fasttop” check against it, which introduces a relatively small performance penalty. The idea is simple: report an error on freeing a memory region if its address is similar to the last one on the allocator’s “freelist”.
source: solar