[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 4 Apr 2020 09:35:02 -0600
From: William Kucharski <william.kucharski@...cle.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, jroedel@...e.de,
vbabka@...e.cz, urezki@...il.com,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] mm/vmalloc: Sanitize __get_vm_area() arguments
Is there any need to similarly sanitize “size” to assure start + size doesn’t go past “end?”
> On Apr 3, 2020, at 10:33, Peter Zijlstra <peterz@...radead.org> wrote:
>
>
> __get_vm_area() is an exported symbol, make sure the callers stay in
> the expected memory range. When calling this function with memory
> ranges outside of the VMALLOC range *bad* things can happen.
Powered by blists - more mailing lists