Re: [PATCH] KVM: x86: Fix null pointer dereference in trace_kvm_inj_exception
From: Sean Christopherson
Date: Tue Jul 14 2026 - 14:43:43 EST
On Fri, 10 Jul 2026 15:40:54 +0200, Daniel Paziyski wrote:
> The trace_kvm_inj_exception tracepoint takes as arguments the exception
> vector, whether the exception has an error code (and subsequently, the
> error code), and whether it is being reinjected. The error code is
> formatted to the trace log as a string using __print_symbolic,
> which takes an integer value and an array of structs containing a mask
> value and a string. An empty struct is being passed, which makes the
> kernel derefence a NULL pointer when the error code is 0. Remove this
> stray struct in the invocation of __print_symbolic.
>
> [...]
Applied to kvm-x86 fixes, thanks!
[1/1] KVM: x86: Fix null pointer dereference in trace_kvm_inj_exception
https://github.com/kvm-x86/linux/commit/9c66085e6dcf
--
https://github.com/kvm-x86/linux/tree/next