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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux