[PATCH 0/2] media: streamzap: fix issues with the implementation of usb driver callbacks

Murad Masimov posted 2 patches 11 months, 1 week ago
drivers/media/rc/streamzap.c | 70 ++++++++++++++++++++----------------
1 file changed, 39 insertions(+), 31 deletions(-)
[PATCH 0/2] media: streamzap: fix issues with the implementation of usb driver callbacks
Posted by Murad Masimov 11 months, 1 week ago
These patches fix two URB-handling related problems in streamzap driver.
The first one fixes a race condition that leads to a kernel panic as
reported by Syzkaller [1]. The second patch prevents bugs by ensuring
that data received by the driver is processed only if URB status is 0.
It also complies with how other similar usb drivers are written.

[1]: https://syzkaller.appspot.com/bug?extid=34008406ee9a31b13c73

Murad Masimov (2):
  media: streamzap: fix race between device disconnection and urb callback
  media: streamzap: prevent processing IR data on URB failure

 drivers/media/rc/streamzap.c | 70 ++++++++++++++++++++----------------
 1 file changed, 39 insertions(+), 31 deletions(-)

--
2.39.2