On Fri, 03 Feb 2023 20:06:32 -0800 Ira Weiny ira.weiny@intel.com 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@linux-foudation.org