public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	lkft-triage@lists.linaro.org, Bartosz Golaszewski <brgl@bgdev.pl>,
	Ferry Toth <fntoth@gmail.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	warthog618@gmail.com, Arnd Bergmann <arnd@arndb.de>
Subject: Re: arm64: libgpiod: refcount_t: underflow; use-after-free.
Date: Tue, 21 Feb 2023 19:54:31 +0200	[thread overview]
Message-ID: <Y/UFV2bgSyBI37vi@smile.fi.intel.com> (raw)
In-Reply-To: <Y/T7unUf10Wis59a@smile.fi.intel.com>

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



  reply	other threads:[~2023-02-21 17:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-20 14:59 arm64: libgpiod: refcount_t: underflow; use-after-free Naresh Kamboju
2023-02-21 17:13 ` Andy Shevchenko
2023-02-21 17:54   ` Andy Shevchenko [this message]
2023-06-07 18:32     ` Anders Roxell
2023-02-22 12:36 ` Bartosz Golaszewski
2023-06-07 18:35   ` Anders Roxell
2023-06-07 19:34     ` Bartosz Golaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y/UFV2bgSyBI37vi@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=brgl@bgdev.pl \
    --cc=fntoth@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=warthog618@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox