On Thu, 5 May 2022 07:10:37 +0000, Yuanzheng Song wrote: > The is_kmap_addr() and the is_vmalloc_addr() in the check_heap_object() > will not work, because the virt_addr_valid() will exclude the kmap and > vmalloc regions. So let's move the virt_addr_valid() below > the is_vmalloc_addr(). Applied to for-next/hardening, thanks! [1/1] mm: usercopy: move the virt_addr_valid() below the is_vmalloc_addr() https://git.kernel.org/kees/c/0a76d4c331b4 -- Kees Cook