Bug 211779

Summary: KASAN (hw-tags): support stack tagging
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-15 18:58:45 UTC
Add HW_TAGS support for tagging and checking stack variables.

Both generic and SW_TAGS KASAN modes already support that.

The implementation of stack tagging support has to work with a single kernel image on devices with and without MTE support. This is demanded by Android Generic Kernel Image.