Bug 211581

Summary: KASAN: invert VMAP_STACK dependency
Product: Memory Management Reporter: Andrey Konovalov (andreyknvl)
Component: SanitizersAssignee: MM/Sanitizers virtual assignee (mm_sanitizers)
Status: NEW ---    
Severity: normal CC: kasan-dev
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: upstream Subsystem:
Regression: No Bisected commit-id:

Description Andrey Konovalov 2021-02-05 20:49:56 UTC
Currently, if a KASAN configuration doesn't support vmalloc, VMAP_STACK will be silently turned off. Instead, we should make such configurations depend on !VMAP_STACK.

Reported-by: Will Deacon <will@kernel.org>