Re: [PATCH] zsmalloc: fix a null pointer dereference in destroy_handle_cache()

From: Minchan Kim
Date: Tue Jun 09 2015 - 20:03:15 EST


On Fri, Jun 05, 2015 at 08:11:30PM +0900, Sergey Senozhatsky wrote:
> zs_destroy_pool()->destroy_handle_cache() invoked from
> zs_create_pool() can pass a NULL ->handle_cachep pointer
> to kmem_cache_destroy(), which will dereference it.
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

Thanks, Sergey!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/