]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Handle UBSAN faults
authorMostafa Saleh <smostafa@google.com>
Wed, 30 Apr 2025 16:27:11 +0000 (16:27 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 7 May 2025 10:21:35 +0000 (11:21 +0100)
commit446692759b0732ef2d9a93b7e6730aa762ccf0ab
treeacfc4f1d0798649d47fb1cb54949dc99e58882f7
parent61b38f7591fb434fce326c1d686a9793c7f418bc
KVM: arm64: Handle UBSAN faults

As now UBSAN can be enabled, handle brk64 exits from UBSAN.
Re-use the decoding code from the kernel, and panic with
UBSAN message.

Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250430162713.1997569-5-smostafa@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/handle_exit.c