On Wed, 02 Aug 2023 08:32:52 +0200, Ricardo Cañuelo wrote: > The lkdtm selftest config fragment enables CONFIG_UBSAN_TRAP to make the > ARRAY_BOUNDS test kill the calling process when an out-of-bound access > is detected by UBSAN. However, after this [1] commit, UBSAN is triggered > under many new scenarios that weren't detected before, such as in struct > definitions with fixed-size trailing arrays used as flexible arrays. As > a result, CONFIG_UBSAN_TRAP=y has become a very aggressive option to > enable except for specific situations. > > [...] Applied to for-next/hardening, thanks! [1/1] selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config https://git.kernel.org/kees/c/64d0436d8588 Take care, -- Kees Cook