Re: [linux-next][PATCH v2] mm/slub.c: add a naive detection of double free or corruption
From: Christopher Lameter
Date: Fri Aug 11 2017 - 13:26:25 EST
On Fri, 11 Aug 2017, Alexander Popov wrote:
> Add an assertion similar to "fasttop" check in GNU C Library allocator
> as a part of SLAB_FREELIST_HARDENED feature. An object added to a singly
> linked freelist should not point to itself. That helps to detect some
> double free errors (e.g. CVE-2017-2636) without slub_debug and KASAN.
Acked-by: Christoph Lameter <cl@xxxxxxxxx>