[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230210135902.343f6c40001f1f2e10cedd93@linux-foundation.org>
Date: Fri, 10 Feb 2023 13:59:02 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ira Weiny <ira.weiny@...el.com>
Cc: Sumit Garg <sumit.garg@...aro.org>,
Al Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org,
op-tee@...ts.trustedfirmware.org, linux-mm@...ck.org,
Jens Wiklander <jens.wiklander@...aro.org>,
"Fabio M. De Francesco" <fmdefrancesco@...il.com>,
John Hubbard <jhubbard@...dia.com>,
Matthew Wilcox <willy@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH v2 1/4] highmem: Enhance is_kmap_addr() to check
kmap_local_page() mappings
On Fri, 03 Feb 2023 20:06:32 -0800 Ira Weiny <ira.weiny@...el.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@...ux-foudation.org>
Powered by blists - more mailing lists