[PATCH v3 2/6] workqueue: kasan: record workqueue stack

Tejun Heo tj at kernel.org
Wed Sep 2 10:52:41 EDT 2020

On Tue, Aug 25, 2020 at 09:58:33AM +0800, Walter Wu wrote:
> Records the last two enqueuing work call stacks in order to print them
> in KASAN report. It is useful for programmers to solve use-after-free
> or double-free memory workqueue issue.
> For workqueue it has turned out to be useful to record the enqueuing
> work call stacks. Because user can see KASAN report to determine
> whether it is root cause. They don't need to enable debugobjects,
> but they have a chance to find out the root cause.
> Signed-off-by: Walter Wu <walter-zh.wu at mediatek.com>
> Suggested-by: Marco Elver <elver at google.com>
> Cc: Andrey Ryabinin <aryabinin at virtuozzo.com>
> Cc: Dmitry Vyukov <dvyukov at google.com>
> Cc: Alexander Potapenko <glider at google.com>
> Cc: Tejun Heo <tj at kernel.org>
> Cc: Lai Jiangshan <jiangshanlai at gmail.com>

Acked-by: Tejun Heo <tj at kernel.org>



More information about the linux-arm-kernel mailing list