[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241020080658.2124-1-hdanton@sina.com>
Date: Sun, 20 Oct 2024 16:06:58 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+9446d5e0d25571e6a212@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [media?] WARNING in uvc_status_unregister
On Sat, 19 Oct 2024 23:44:28 -0700
> syzbot found the following issue on:
>
> HEAD commit: 15e7d45e786a Add linux-next specific files for 20241016
> git tree: linux-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10560240580000
#syz test
--- x/drivers/media/usb/uvc/uvc_status.c
+++ y/drivers/media/usb/uvc/uvc_status.c
@@ -372,6 +372,8 @@ int uvc_status_resume(struct uvc_device
void uvc_status_suspend(struct uvc_device *dev)
{
+ if (!dev->int_urb)
+ return;
guard(mutex)(&dev->status_lock);
if (dev->status_users)
--
Powered by blists - more mailing lists