Re: [PATCH v7 1/2] mm, kasan: account for object redzone in SLUB's nearest_obj()

From: Andrew Morton
Date: Tue Jul 12 2016 - 16:02:21 EST


On Tue, 12 Jul 2016 20:12:44 +0200 Alexander Potapenko <glider@xxxxxxxxxx> wrote:

> When looking up the nearest SLUB object for a given address, correctly
> calculate its offset if SLAB_RED_ZONE is enabled for that cache.

What are the runtime effects of this fix? Please always include this
info when fixing bugs so that others can decide which kernel(s) need
patching.