Bug 215755 - KASAN (hw-tags): investigate tagging pointers to vmapped stacks
Summary: KASAN (hw-tags): investigate tagging pointers to vmapped stacks
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Sanitizers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: MM/Sanitizers virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 14:45 UTC by Andrey Konovalov
Modified: 2022-03-27 14:45 UTC (History)
1 user (show)

See Also:
Kernel Version: upstream
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.