diff --git a/mm/slub.c b/mm/slub.c index 01cc2223eb46..a5126faa56ee 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -528,6 +528,7 @@ static inline int check_valid_pointer(struct kmem_cache *s, return 1; base = page_address(page); + object = kasan_reset_tag(object); object = restore_red_left(s, object); if (object < base || object >= base + page->objects * s->size || (object - base) % s->size) {