[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250113105132.275-1-m.masimov@mt-integration.ru>
Date: Mon, 13 Jan 2025 13:51:29 +0300
From: Murad Masimov <m.masimov@...integration.ru>
To: Sean Young <sean@...s.org>
CC: Mauro Carvalho Chehab <mchehab@...nel.org>, Jarod Wilson
<jarod@...hat.com>, <linux-media@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Murad Masimov <m.masimov@...integration.ru>
Subject: [PATCH 0/2] media: streamzap: fix issues with the implementation of usb driver callbacks
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
Powered by blists - more mailing lists