Bug 208865

Summary: KASAN (sw-tags): support short granules
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 2020-08-10 14:14:03 UTC
Software tag-based KASAN currently doesn't support short granules [1] (not for slab nor for stack). Slab support can be implemented purely in runtime. Stack support requires both enabling -hwasan-use-short-granules and runtime changes.

[1] https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html