From: Jarkko Sakkinen <jarkko@kernel.org>
To: tcs.kernel@gmail.com, pbonzini@redhat.com, seanjc@google.com,
vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Haimin Zhang <tcs_kernel@tencent.com>
Subject: Re: [PATCH v2] KVM: x86: Handle SRCU initialization failure during page track init
Date: Fri, 03 Sep 2021 09:59:12 +0300 [thread overview]
Message-ID: <3c0a8a858a805789b9c71b7e54e316403fc41d5e.camel@kernel.org> (raw)
In-Reply-To: <1630636626-12262-1-git-send-email-tcs_kernel@tencent.com>
On Fri, 2021-09-03 at 10:37 +0800, tcs.kernel@gmail.com wrote:
> From: Haimin Zhang <tcs_kernel@tencent.com>
>
> Check the return of init_srcu_struct(), which can fail due to OOM, when
> initializing the page track mechanism. Lack of checking leads to a NULL
> pointer deref found by a modified syzkaller.
>
> Signed-off-by: Haimin Zhang <tcs_kernel@tencent.com>
> Signed-off-by: Sean Christopherson <seanjc@google.com>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
> Reported-by: TCS Robot <tcs_robot@tencent.com>
I'd drop reported-by. It's not a person (I guess) and the desc
is self-contained already.
Anyway,
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
/Jarkko
next prev parent reply other threads:[~2021-09-03 6:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 2:37 tcs.kernel
2021-09-03 6:59 ` Jarkko Sakkinen [this message]
2021-09-03 16:18 ` Sean Christopherson
2021-09-21 17:47 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3c0a8a858a805789b9c71b7e54e316403fc41d5e.camel@kernel.org \
--to=jarkko@kernel.org \
--cc=jmattson@google.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=tcs.kernel@gmail.com \
--cc=tcs_kernel@tencent.com \
--cc=vkuznets@redhat.com \
--cc=wanpengli@tencent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®