Re: arm64: libgpiod: refcount_t: underflow; use-after-free.
From: Andy Shevchenko
Date: Tue Feb 21 2023 - 12:55:41 EST
On Tue, Feb 21, 2023 at 07:13:31PM +0200, Andy Shevchenko wrote:
> On Mon, Feb 20, 2023 at 08:29:27PM +0530, Naresh Kamboju wrote:
> > Following kernel warning notices on qemu-arm64, qemu-arm and also on devices
> > running Linux version v6.2.0 while running libgpiod tests.
...
> - ACPI_COMPANION_SET(&pdev->dev, NULL);
This line should stay otherwise it will remove the device that may share
the fwnode with this newly created platform device.
--
With Best Regards,
Andy Shevchenko