Bug 216509 - KASAN: add tests for kmalloc_track_caller
Summary: KASAN: add tests for kmalloc_track_caller
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-09-20 19:27 UTC by Andrey Konovalov
Modified: 2022-09-20 19:27 UTC (History)
1 user (show)

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


Attachments

Description Andrey Konovalov 2022-09-20 19:27:21 UTC
As per [1], KASAN has been missing annotations for __kmalloc_track_caller and __kmalloc_node_track_caller. Add KASAN tests that check that these functions properly poison memory.

[1] https://lore.kernel.org/all/20220817101826.236819-6-42.hyeyoo@gmail.com/

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