Re: [PATCH] gpiolib: cdev: fix null pointer dereference in linereq_free()

From: Kent Gibson
Date: Thu Jul 07 2022 - 05:00:15 EST


On Wed, Jul 06, 2022 at 04:50:25PM +0800, Kent Gibson wrote:
> On Wed, Jul 06, 2022 at 04:45:07PM +0800, Kent Gibson wrote:
> > This patch fixes a kernel NULL pointer dereference that is reported by
> > gpio kselftests.
> >
>
> Should be:
>
> Fix a kernel NULL pointer dereference reported by gpio kselftests.
>
> Sorry - I rushed this one a bit.
>

And I might not've been totally clear, but this bug is present in
v5.19-rc1 onwards (when HTE was added), up to and including rc5.

Would be good to get it fixed before v5.19 goes out the door.

Cheers,
Kent.