lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180817131443.GB13594@nazgul.tnic>
Date:   Fri, 17 Aug 2018 15:14:43 +0200
From:   Borislav Petkov <bp@...en8.de>
To:     Takashi Iwai <tiwai@...e.de>
Cc:     Mauro Carvalho Chehab <mchehab@...nel.org>,
        linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
        Yazen Ghannam <Yazen.Ghannam@....com>
Subject: Re: [PATCH] EDAC: Add missing MEM_LRDDR4 entry in edac_mem_types[]

On Fri, Aug 10, 2018 at 04:14:26PM +0200, Takashi Iwai wrote:
> The edac_mem_types[] array misses MEM_LRDDR4 entry, and it leads to
> NULL dereference when accessed via sysfs or such.
> 
> Fixes: 1e8096bb2031 ("EDAC: Add LRDDR4 DRAM type")
> Cc: <stable@...r.kernel.org>
> Signed-off-by: Takashi Iwai <tiwai@...e.de>
> ---
>  drivers/edac/edac_mc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
> index 3bb82e511eca..7d3edd713932 100644
> --- a/drivers/edac/edac_mc.c
> +++ b/drivers/edac/edac_mc.c
> @@ -215,6 +215,7 @@ const char * const edac_mem_types[] = {
>  	[MEM_LRDDR3]	= "Load-Reduced-DDR3-RAM",
>  	[MEM_DDR4]	= "Unbuffered-DDR4",
>  	[MEM_RDDR4]	= "Registered-DDR4",
> +	[MEM_LRDDR4]	= "Load-Reduced-DDR4-RAM",
>  	[MEM_NVDIMM]	= "Non-volatile-RAM",
>  };
>  EXPORT_SYMBOL_GPL(edac_mem_types);
> -- 

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ