[PATCH v4] arm64: Enable KCSAN

Marco Elver elver at google.com
Tue Dec 14 11:11:24 PST 2021


On Tue, 14 Dec 2021 at 19:24, Mark Rutland <mark.rutland at arm.com> wrote:
[...]
>
>   Reviewed-by: Mark Rutland <mark.rutland at arm.com>
>   Tested-by: Mark Rutland <mark.rutland at arm.com>

Thanks for taking a look and testing! Thought I'd update you re status
of some of the reports below. :-)

[...]
> * BUG: KCSAN: data-race in mutex_spin_on_owner+0xcc/0x150
> * BUG: KCSAN: data-race in rwsem_spin_on_owner+0xa8/0x13c

These are going away, fixes are already in -tip/-next.

> * UBSAN: object-size-mismatch in net/unix/af_unix.c:977:14

The UBSAN object-size-mismatch warnings are going away, as
fsanitize=object-size is broken/incomplete as it turns out --
UBSAN_OBJECT_SIZE will be removed from 5.17:
https://bugzilla.kernel.org/show_bug.cgi?id=214861#c4
... because all its warnings can also be covered by -Warray-bounds,
which Kees is working on enabling.

Thanks,
-- Marco



More information about the linux-arm-kernel mailing list