Re: [PATCH -next] x86: Prevent KASAN false positive warnings in __show_regs()

From: Dave Hansen
Date: Wed Aug 20 2025 - 17:36:18 EST


On 8/18/25 06:07, Tengda Wu wrote:
> When process A accesses process B's `regs` from stack memory through
> __show_regs(), the stack of process B keeps changing during runtime.
> This causes false positives like "stack out-of-bounds" [1] or
> "out-of-bounds" [2] warnings when reading `regs` contents.

Could you explain a little bit more how you know that these are false
positives?