[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024100917-launder-hamper-723b@gregkh>
Date: Wed, 9 Oct 2024 15:56:40 +0200
From: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To: Siddh Raman Pant <siddh.raman.pant@...cle.com>
Cc: "cve@...nel.org" <cve@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: CVE-2024-42308: drm/amd/display: Check for NULL pointer
On Mon, Oct 07, 2024 at 11:01:59AM +0000, Siddh Raman Pant wrote:
> On Sat, 17 Aug 2024 11:10:13 +0200, Greg Kroah-Hartman wrote:
> > In the Linux kernel, the following vulnerability has been resolved:
> >
> > drm/amd/display: Check for NULL pointer
> >
> > [why & how]
> > Need to make sure plane_state is initialized
> > before accessing its members.
> >
> > (cherry picked from commit 295d91cbc700651782a60572f83c24861607b648)
> >
> > The Linux kernel CVE team has assigned CVE-2024-42308 to this issue.
>
> This commit is no-op / doesn't make any difference, as there is an
> implicit NULL check rigth above it, as plane_state cannot be NULL
> (checked at the start of function).
>
> So this CVE should be invalid.
Yeah, tricky code, I see why the static tools got this wrong. I'll go
invalidate this now, thanks for the report!
greg k-h
Powered by blists - more mailing lists