Re: [PATCH v2 1/4] highmem: Enhance is_kmap_addr() to check kmap_local_page() mappings

From: Andrew Morton
Date: Fri Feb 10 2023 - 16:59:08 EST


On Fri, 03 Feb 2023 20:06:32 -0800 Ira Weiny <ira.weiny@xxxxxxxxx> wrote:

> is_kmap_addr() is only looking at the kmap() address range which may
> cause check_heap_object() to miss checking an overflow on a
> kmap_local_page() page.
>
> Add a check for the kmap_local_page() address range to is_kmap_addr().

Acked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxx>