media: dvb-usb-v2: ce6230: fix syzkaller bug
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | media: dvb-usb-v2: ce6230: fix bug when sending usb_control_msg of size 0drivers/ | +7 | 0 replies |
Reviews trailers per patch
The patch has no Reviewed-by or Acked-by.
| Patch | [email protected] |
|---|---|
| 1/1 | Reported-and-tested-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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