[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<BY5PR12MB49028579F7C1936FD0D8A12D81AC2@BY5PR12MB4902.namprd12.prod.outlook.com>
Date: Thu, 18 Jul 2024 14:53:48 +0000
From: "Datta, Shubhrajyoti" <shubhrajyoti.datta@....com>
To: Ma Ke <make24@...as.ac.cn>, "Potthuri, Sai Krishna"
<sai.krishna.potthuri@....com>, "bp@...en8.de" <bp@...en8.de>,
"tony.luck@...el.com" <tony.luck@...el.com>, "james.morse@....com"
<james.morse@....com>, "mchehab@...nel.org" <mchehab@...nel.org>,
"rric@...nel.org" <rric@...nel.org>
CC: "linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: RE: [PATCH v3] EDAC/versal: Fix possible null pointer dereference in
emif_get_id()
[AMD Official Use Only - AMD Internal Distribution Only]
> -----Original Message-----
> From: Ma Ke <make24@...as.ac.cn>
> Sent: Thursday, July 18, 2024 7:06 PM
> To: Datta, Shubhrajyoti <shubhrajyoti.datta@....com>; Potthuri, Sai
> Krishna <sai.krishna.potthuri@....com>; bp@...en8.de;
> tony.luck@...el.com; james.morse@....com; mchehab@...nel.org;
> rric@...nel.org
> Cc: linux-edac@...r.kernel.org; linux-kernel@...r.kernel.org; Ma Ke
> <make24@...as.ac.cn>; stable@...r.kernel.org
> Subject: [PATCH v3] EDAC/versal: Fix possible null pointer dereference in
> emif_get_id()
>
> Caution: This message originated from an External Source. Use proper
> caution when opening attachments, clicking links, or responding.
>
>
> In emif_get_id(), of_get_address() may return NULL which is later
> dereferenced. Fix this bug by adding NULL check.
>
> Cc: stable@...r.kernel.org
> Fixes: 6f15b178cd63 ("EDAC/versal: Add a Xilinx Versal memory controller
> driver")
> Signed-off-by: Ma Ke <make24@...as.ac.cn>
Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@....com>
Powered by blists - more mailing lists