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

From: William Kucharski
Date: Sat Apr 04 2020 - 11:35:43 EST


ï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@xxxxxxxxxxxxx> 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.