Bug 214055 - KASAN: add atomic tests
Summary: KASAN: add atomic tests
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: 2021-08-12 13:00 UTC by Andrey Konovalov
Modified: 2023-11-13 18:26 UTC (History)
2 users (show)

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


Attachments

Description Andrey Konovalov 2021-08-12 13:00:59 UTC
KASAN uses annotations (see include/linux/instrumented.h) for atomic operations instead of compiler instrumentation. It makes sense to add tests to check that KASAN can detect bad atomic accesses.
Comment 1 Paul Heidekrüger 2023-11-13 18:26:23 UTC
FYI, I'm looking into this.

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