From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Antti Laakso <antti.laakso@linux.intel.com>
Cc: linux-media@vger.kernel.org, sarang.sapre@intel.com, error27@gmail.com
Subject: Re: [PATCH] media: ipu6: Fix bus device use-after-free
Date: Thu, 24 Sep 2026 15:18:53 +0300 [thread overview]
Message-ID: <arUVLRraz_JzMdfw@kekkonen.localdomain> (raw)
In-Reply-To: <20260924120634.1420687-1-antti.laakso@linux.intel.com>
Hi Antti,
Thanks for the patch.
On Thu, Sep 24, 2026 at 03:06:34PM +0300, Antti Laakso wrote:
> The ipu6_bus_del_devices() will uninitialize and free bus devices and
> dereferencing isp->psys and isp->isys will lead to use-after-free.
>
> While at it, remove unnecessary checks for isp->isys/psys.
>
> Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/linux-media/aqlXAXcXvMM3HWtJ@stanley.mountain/T/#u
--
Sakari Ailus
prev parent reply other threads:[~2026-09-24 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 12:06 [PATCH] media: ipu6: Fix bus device use-after-free Antti Laakso
2026-09-24 12:18 ` Sakari Ailus [this message]
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=arUVLRraz_JzMdfw@kekkonen.localdomain \
--to=sakari.ailus@linux.intel.com \
--cc=antti.laakso@linux.intel.com \
--cc=error27@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=sarang.sapre@intel.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