[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024082229-unretired-dallying-775d@gregkh>
Date: Thu, 22 Aug 2024 07:45:51 +0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Charles Han <hanchunchao@...pur.com>
Cc: neil.armstrong@...aro.org, quic_jesszhan@...cinc.com,
mripard@...nel.org, security@...nel.org,
linux-kernel@...r.kernel.org, liuyanming@...system.com
Subject: Re: [PATCH] drm/panel/hx83102: fix null pointer dereference in
hx83102_get_modes
On Wed, Aug 21, 2024 at 05:50:39PM +0800, Charles Han wrote:
> From: hanchunchao <hanchunchao@...pur.com>
Nit, this should be your name, not your email alias here, like you have
it on your "From" line.
> In hx83102_get_modes(), the return value of drm_mode_duplicate() is
> assigned to mode, which will lead to a possible NULL pointer dereference
> on failure of drm_mode_duplicate(). Add a check to avoid npd.
>
> Signed-off-by: hanchunchao <hanchunchao@...pur.com>
Same here.
What commit id does this fix? Shouldn't you also cc: stable to get it
backported?
And there's no need to cc: security@...nel.org, as this is a public
issue and you have a patch for it.
thanks,
greg k-h
Powered by blists - more mailing lists