From: Borislav Petkov <bp@alien8.de>
To: Toshi Kani <toshi.kani@hpe.com>
Cc: rric@kernel.org, mchehab@kernel.org, elliott@hpe.com,
linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] EDAC/ghes: Set the DIMM label unconditionally
Date: Wed, 27 Jul 2022 10:45:57 +0200 [thread overview]
Message-ID: <YuD7RU7cdo5bnKmX@zn.tnic> (raw)
In-Reply-To: <20220726164628.1756924-1-toshi.kani@hpe.com>
On Tue, Jul 26, 2022 at 10:46:28AM -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().
...
> Fixes: b9cae27728d1f ("EDAC/ghes: Scan the system once on driver init")
> Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
> Co-developed-by: Robert Richter <rric@kernel.org>
> Tested-by: Robert Elliott <elliott@hpe.com>
> ---
> drivers/edac/ghes_edac.c | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)
Amended and pushed out.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
prev parent reply other threads:[~2022-07-27 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 16:46 [PATCH v3] EDAC/ghes: Set the DIMM label unconditionally Toshi Kani
2022-07-27 8:45 ` Borislav Petkov [this message]
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=YuD7RU7cdo5bnKmX@zn.tnic \
--to=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 \
--cc=toshi.kani@hpe.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