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
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