Re: [PATCH v2] x86: um: vdso: Disable UBSAN instrumentation

From: Kees Cook
Date: Mon May 13 2024 - 16:03:07 EST


On Mon, May 13, 2024 at 03:10:24PM +0200, Roberto Sassu wrote:
> From: Roberto Sassu <roberto.sassu@xxxxxxxxxx>
>
> The UBSAN instrumentation cannot work in the vDSO since it is executing in
> userspace, so disable it in the Makefile. Fixes the build failures such as:
>
> CALL scripts/checksyscalls.sh
> VDSO arch/x86/um/vdso/vdso.so.dbg
> arch/x86/um/vdso/vdso.so.dbg: undefined symbols found
>
> Signed-off-by: Roberto Sassu <roberto.sassu@xxxxxxxxxx>

This is fixed differently (and more universally) here:
https://lore.kernel.org/lkml/20240506133544.2861555-1-masahiroy@xxxxxxxxxx/

--
Kees Cook