[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YuD7RU7cdo5bnKmX@zn.tnic>
Date: Wed, 27 Jul 2022 10:45:57 +0200
From: Borislav Petkov <bp@...en8.de>
To: Toshi Kani <toshi.kani@....com>
Cc: rric@...nel.org, mchehab@...nel.org, elliott@....com,
linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] EDAC/ghes: Set the DIMM label unconditionally
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@....com>
> Co-developed-by: Robert Richter <rric@...nel.org>
> Tested-by: Robert Elliott <elliott@....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
Powered by blists - more mailing lists