Re: [PATCH] lib/Kconfig.ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP

From: Kees Cook
Date: Tue Apr 15 2025 - 12:02:56 EST


On Mon, 14 Apr 2025 15:00:59 -0700, Nathan Chancellor wrote:
> CONFIG_UBSAN_INTEGER_WRAP is 'default UBSAN', which is problematic for a
> couple of reasons.
>
> The first is that this sanitizer is under active development on the
> compiler side to come up with a solution that is maintainable on the
> compiler side and usable on the kernel side. As a result of this, there
> are many warnings when the sanitizer is enabled that have no clear path
> to resolution yet but users may see them and report them in the meantime.
>
> [...]

Applied to for-linus/hardening, thanks!

[1/1] lib/Kconfig.ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP
https://git.kernel.org/kees/c/dcf165123e7f

Take care,

--
Kees Cook