public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] media: dvb-usb-v2: ce6230: fix syzkaller bug
@ 2026-04-22 19:26 Jakov Novak
  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
  0 siblings, 1 reply; 2+ messages in thread
From: Jakov Novak @ 2026-04-22 19:26 UTC (permalink / raw)
  To: linux-media, linux-kernel
  Cc: Mauro Carvalho Chehab, Antti Palosaari, Shuah Khan, Jakov Novak

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-22 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22 19:26 [PATCH 0/1] media: dvb-usb-v2: ce6230: fix syzkaller bug Jakov Novak
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox