Bug 215756 - KASAN: filter unnecessary stack frames in reports
Summary: KASAN: filter unnecessary stack frames in reports
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:48 UTC by Andrey Konovalov
Modified: 2024-12-03 22:06 UTC (History)
1 user (show)

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


Attachments

Description Andrey Konovalov 2022-03-27 14:48:16 UTC
Filter out KASAN-related stack frames in reports like KCSAN does [1].

[1] https://elixir.bootlin.com/linux/v5.17/source/kernel/kcsan/report.c#L277
Comment 1 Andrey Konovalov 2024-12-03 22:06:34 UTC
There's a proof-of-concept patch for this issue sent by Nihar Chaithanya [1]. The patch still needs work and testing as pointed by Marco in the thread. Also see my comments for the previous versions of the same patch (search lore.kernel.org).

[1] https://lore.kernel.org/all/20241026161413.222898-1-niharchaithanya@gmail.com/

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