[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8193d6d2-5322-4a9a-82ed-50ac24dd3525@broadcom.com>
Date: Tue, 25 Jun 2024 07:45:50 -0700
From: Alexey Makhalov <alexey.makhalov@...adcom.com>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-kernel@...r.kernel.org, virtualization@...ts.linux.dev,
hpa@...or.com, dave.hansen@...ux.intel.com, mingo@...hat.com,
tglx@...utronix.de, x86@...nel.org, ajay.kaher@...adcom.com,
bcm-kernel-feedback-list@...adcom.com, Alex James <alex.james@...adcom.com>
Subject: Re: [PATCH] x86/vmware: fix panic in vmware_hypercall_slow()
My test environment was screwed up during the last version of the
patchset. I was using a kernel which was built previously and didn't pay
attention to commit hash suffix in `uname -r`.
Human mistake, apologize for that.
Alex found it while doing TDX testing on x86/vmware on tip.
Do you want me to resubmit the patchset to do not brake a git bisect?
On 6/25/24 1:47 AM, Borislav Petkov wrote:
> On Tue, Jun 25, 2024 at 01:33:48AM -0700, Alexey Makhalov wrote:
>> Caller of vmware_hypercall_slow() can pass NULL into *out1,
>> *out2,... *out5. It will lead to a NULL pointer dereference.
>>
>> Check a pointer for NULL before assigning a value.
>
> I queue your patches and *now* you find this?!
>
> How did you test them in the first place and why was this scenario missed?
>
> Geez.
>
Powered by blists - more mailing lists