[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165233397814.161845.13267754142064821597.b4-ty@chromium.org>
Date: Wed, 11 May 2022 22:39:41 -0700
From: Kees Cook <keescook@...omium.org>
To: songyuanzheng@...wei.com, Andrew Morton <akpm@...ux-foundation.org>
Cc: Kees Cook <keescook@...omium.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: usercopy: move the virt_addr_valid() below the is_vmalloc_addr()
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
Powered by blists - more mailing lists