Re: [PATCH] mm/vmalloc: Sanitize __get_vm_area() arguments

William Kucharski
2020-04-04T15:35:26Z

﻿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@infradead.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.