From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>
Cc: Andy Shevchenko <andy@kernel.org>,
Hans de Goede <hansg@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
linux-staging@lists.linux.dev
Subject: Re: [PATCH] media: atomisp: Fix potential firmware leak after partial loading
Date: Mon, 23 Nov 2026 10:18:25 +0200 [thread overview]
Message-ID: <awP20Wbc1Fh2dWpN@ashevche-desk.local> (raw)
In-Reply-To: <20261120173523.3923967-1-liguangshuo@mail.sdu.edu.cn>
On Sat, Nov 21, 2026 at 01:35:22AM +0800, Guangshuo Li wrote:
> A failed firmware load can leave the minibuffer table and successfully
> loaded blob parameters allocated. Probe skips firmware unload, and a
> later retry overwrites the pointers to those allocations.
>
> Unload partial firmware before freeing the IRQ. Clear all_binaries after
> freeing it so cleanup after a later failed load cannot free the old
> allocation again.
>
> This issue was found by our static analysis tool under development.
Please, test on a real HW.
--
With Best Regards,
Andy Shevchenko
prev parent reply other threads:[~2026-11-23 8:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 17:35 Guangshuo Li
2026-11-23 8:18 ` Andy Shevchenko [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=awP20Wbc1Fh2dWpN@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hansg@kernel.org \
--cc=liguangshuo@mail.sdu.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.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
all inboxes | Powered by JetHome®