All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakov Novak <jakovnovak30@gmail.com>
To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
	Antti Palosaari <crope@iki.fi>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Jakov Novak <jakovnovak30@gmail.com>
Subject: [PATCH 0/1] media: dvb-usb-v2: ce6230: fix syzkaller bug
Date: Wed, 22 Apr 2026 21:26:43 +0200	[thread overview]
Message-ID: <20260422192644.21814-1-jakovnovak30@gmail.com> (raw)

This patch fixes a syzkaller bug which was reported in the usb core
after sending a urb_control_msg. The main problem that caused this was
the ce6230_ctrl_msg function trying to send a read control message of
size 0, which then caused the system to panic after. The solution was to
add a check in this function to check if the message has a greater than
zero size before sending it, otherwise we log the error and return.

Jakov Novak (1):
  media: dvb-usb-v2: ce6230: fix bug when sending usb_control_msg of
    size 0

 drivers/media/usb/dvb-usb-v2/ce6230.c | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.53.0


             reply	other threads:[~2026-04-22 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22 19:26 Jakov Novak [this message]
2026-04-22 19:26 ` [PATCH 1/1] media: dvb-usb-v2: ce6230: fix bug when sending usb_control_msg of size 0 Jakov Novak

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=20260422192644.21814-1-jakovnovak30@gmail.com \
    --to=jakovnovak30@gmail.com \
    --cc=crope@iki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=skhan@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.