[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024060807-quintet-pogo-3c8f@gregkh>
Date: Sat, 8 Jun 2024 13:39:22 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: "Ivan T. Ivanov" <iivanov@...e.de>
Cc: cve@...nel.org, linux-cve-announce@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: iio: adc: stm32-adc: harden against NULL pointer deref in
stm32_adc_probe()
On Wed, Jun 05, 2024 at 05:51:23PM +0300, Ivan T. Ivanov wrote:
> Hi,
>
> I could we drop this CVE?
>
> of_match_device() can not return NULL in this case.
>
> Even commit message agree on this:
>
> " ... In practice there is no known reasonable way to trigger this, but
> in case one is added in future, harden the code by adding the check ..."
Ugh, our fault, sorry about that, now rejected.
Thanks again for the review!
greg k-h
Powered by blists - more mailing lists