Bug 215755

Summary: KASAN (hw-tags): investigate tagging pointers to vmapped stacks
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 2022-03-27 14:45:57 UTC
Currently, pointers to vmapped stacks are not tagged with the HW_TAG mode. (The memory itself is tagged.)

Evaluate the impact of having a tagged SP register in production, and possibly tag the pointers.

Optionally do this as a part of adding stack variables tagging support [1].

[1] https://bugzilla.kernel.org/show_bug.cgi?id=211779