mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andy Walls <awalls@md.metrocast.net>
Subject: [PATCH 0/3] media: Fix potential lifetime errors in probe rollback
Date: Sat, 31 Oct 2026 00:54:38 +0800	[thread overview]
Message-ID: <cover.1793377439.media.git.liguangshuo@mail.sdu.edu.cn> (raw)

Unregister a Siano client before freeing its context, and avoid freeing
ALSA private data twice in cx18 and ivtv.

The changed driver objects were build-tested. No hardware testing was
performed.

Guangshuo Li (3):
  media: siano: Fix potential use-after-free on graph failure
  media: cx18: Fix potential double free on ALSA initialization failure
  media: ivtv: Fix potential double free on ALSA initialization failure

 drivers/media/common/siano/smsdvb-main.c | 2 +-
 drivers/media/pci/cx18/cx18-alsa-main.c  | 1 -
 drivers/media/pci/ivtv/ivtv-alsa-main.c  | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)


base-commit: d89e1d186ec9271bf78e62771779e9fc03bf0fc3

             reply	other threads:[~2026-10-30 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 16:54 Guangshuo Li [this message]
2026-10-30 16:54 ` [PATCH 1/3] media: siano: Fix potential use-after-free on graph failure Guangshuo Li
2026-10-30 16:54 ` [PATCH 2/3] media: cx18: Fix potential double free on ALSA initialization failure Guangshuo Li
2026-10-30 16:54 ` [PATCH 3/3] media: ivtv: " Guangshuo Li

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=cover.1793377439.media.git.liguangshuo@mail.sdu.edu.cn \
    --to=liguangshuo@mail.sdu.edu.cn \
    --cc=awalls@md.metrocast.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /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®