Re: [PATCH] mfd: ene-kb3930: Fix potential NULL pointer dereference
From: Chenyuan Yang
Date: Mon Jan 27 2025 - 14:45:20 EST
Hi Krzysztof,
This was caught by our static analysis tool because
devm_gpiod_get_array_optional() can return a NULL pointer in
low-memory situations. It's essentially the same scenario described
here:
https://patchwork.kernel.org/project/linux-fbdev/patch/20240114143921.550736-1-andriy.shevchenko@xxxxxxxxxxxxxxx/.
Best,
Chenyuan
On Mon, Jan 27, 2025 at 11:43 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> On 27/01/2025 17:30, Chenyuan Yang wrote:
> > Dear Developers,
> >
> > I am writing to check if there has been any update on this issue.
> > Given that it involves a potential null pointer dereference, I believe
> > we should address it as soon as possible
> >
> How did you test it or reproduce the issue? You claim that it is ASAP
> and ping during the merge window, so I assume this is real issue and
> tested on device?
>
> Best regards,
> Krzysztof