From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+3f395d8da879a58fb019@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [media?] INFO: trying to register non-static key in as102_dvb_dmx_start_feed
Date: Thu, 26 Mar 2026 20:15:28 +0800 [thread overview]
Message-ID: <tencent_E72577BA88BBC133769EDE1B8E4BFE1B7F08@qq.com> (raw)
In-Reply-To: <69c4c074.a70a0220.23629d.0009.GAE@google.com>
#syz test
diff --git a/drivers/media/usb/as102/as102_drv.c b/drivers/media/usb/as102/as102_drv.c
index 6b1d3528a0a7..1823f0ca44df 100644
--- a/drivers/media/usb/as102/as102_drv.c
+++ b/drivers/media/usb/as102/as102_drv.c
@@ -344,9 +344,6 @@ int as102_dvb_register(struct as102_dev_t *as102_dev)
/* init bus mutex for token locking */
mutex_init(&as102_dev->bus_adap.lock);
- /* init start / stop stream mutex */
- mutex_init(&as102_dev->sem);
-
/*
* try to load as102 firmware. If firmware upload failed, we'll be
* able to upload it later.
diff --git a/drivers/media/usb/as102/as102_usb_drv.c b/drivers/media/usb/as102/as102_usb_drv.c
index 8e480ab78f9b..a19b156b635b 100644
--- a/drivers/media/usb/as102/as102_usb_drv.c
+++ b/drivers/media/usb/as102/as102_usb_drv.c
@@ -385,6 +385,8 @@ static int as102_usb_probe(struct usb_interface *intf,
__func__, ret);
goto failed;
}
+ /* init start / stop stream mutex */
+ mutex_init(&as102_dev->sem);
pr_info("%s: device has been detected\n", DRIVER_NAME);
next prev parent reply other threads:[~2026-03-26 12:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 5:13 syzbot
2026-03-26 9:29 ` Edward Adam Davis
2026-03-26 10:12 ` syzbot
2026-03-26 11:13 ` Edward Adam Davis
2026-03-26 11:44 ` syzbot
2026-03-26 12:15 ` Edward Adam Davis [this message]
2026-03-26 12:40 ` syzbot
2026-03-26 12:45 ` Edward Adam Davis
2026-03-26 13:12 ` syzbot
2026-03-26 13:17 ` [PATCH] media: usb: as102: fix race condition between ioctl and register Edward Adam Davis
2026-06-02 15:55 ` [PATCH] media: usb: as102: initialize mutexes before registration Joel Peech
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_E72577BA88BBC133769EDE1B8E4BFE1B7F08@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+3f395d8da879a58fb019@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®