From: "Kani, Toshi" <toshi.kani@hpe.com>
To: Borislav Petkov <bp@alien8.de>
Cc: "mchehab@kernel.org" <mchehab@kernel.org>,
"Elliott, Robert (Servers)" <elliott@hpe.com>,
"linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Robert Richter <rric@kernel.org>
Subject: RE: [PATCH v2] EDAC/ghes: Fix buffer overflow in ghes_edac_register()
Date: Fri, 22 Jul 2022 15:24:10 +0000 [thread overview]
Message-ID: <PH7PR84MB1838067F8BC7CCCE6EBBCCC982909@PH7PR84MB1838.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <YtqkMicKdZdPdUWB@zn.tnic>
Borislav Petkov wrote:
> On Thu, Jul 21, 2022 at 12:05:03PM -0600, Toshi Kani wrote:
> > The following buffer overflow BUG was observed on an HPE system.
> > ghes_edac_register() called strlen() on an uninitialized label, which
> > had non-zero values from krealloc_array().
>
> I ended up massaging it into this:
Thanks for the update! It looks good to me.
Toshi
next prev parent reply other threads:[~2022-07-22 15:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 18:05 [PATCH v2] EDAC/ghes: Fix buffer overflow in ghes_edac_register() Toshi Kani
2022-07-22 13:20 ` Borislav Petkov
2022-07-22 15:24 ` Kani, Toshi [this message]
2022-07-25 9:53 ` Robert Richter
2022-07-25 10:14 ` Borislav Petkov
2022-07-25 10:45 ` Robert Richter
2022-07-25 11:09 ` Robert Richter
2022-07-25 11:23 ` Borislav Petkov
2022-07-25 11:30 ` Robert Richter
2022-07-25 12:54 ` Borislav Petkov
2022-07-25 16:41 ` Kani, Toshi
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=PH7PR84MB1838067F8BC7CCCE6EBBCCC982909@PH7PR84MB1838.NAMPRD84.PROD.OUTLOOK.COM \
--to=toshi.kani@hpe.com \
--cc=bp@alien8.de \
--cc=elliott@hpe.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=rric@kernel.org \
/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