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: 2021-08-12 13:00 UTC (History)
1 user (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.

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