Bug ID: 220434
Summary: KASAN: respect GFP context flags for vmalloc
allocations
Product: Memory Management
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Sanitizers
Assignee: mm_san...@kernel-bugs.kernel.org Reporter: andre...@gmail.com CC: kasa...@googlegroups.com Regression: No
From [1]:
> KASAN is still failing to pass through __GFP_NOLOCKDEP allocation
> context flags. It's also failing to pass through other important
> context restrictions like GFP_NOFS, GFP_NOIO, __GFP_NOFAIL, etc.
>
> Fundamentally, it's a bug to be doing nested GFP_KERNEL allocations
> inside an allocation context that has a more restricted allocation
> context...
See [2] and [3] that fixed a similar issue in stack depot [4].