Skip to content

media: dvb-usb-v2: ce6230: fix syzkaller bug

Jakov Novak linux-media lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1media: dvb-usb-v2: ce6230: fix bug when sending usb_control_msg of size 0drivers/media/usb/dvb-usb-v2/ce6230.c+7 -00 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

Patch[email protected]
1/1Reported-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] media: dvb-usb-v2: ce6230: fix syzkaller bug

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(+)
Signature · 1 line
2.53.0