Thread (30 messages) 30 messages, 5 authors, 2024-02-20

Re: [PATCH 09/13] powerpc: Disable KMSAN checks on functions which walk the stack

From: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
Date: 2023-12-15 09:02:09
Also in: linux-mm, lkml

Nicholas Miehlbradt [off-list ref] writes:
Functions which walk the stack read parts of the stack which cannot be
instrumented by KMSAN e.g. the backchain. Disable KMSAN sanitization of
these functions to prevent false positives.
Is the annotation needed to avoid uninitialized access check when
reading parts of the stack? Can you provide a false positive example for
the commit message?

-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help