mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+c708736c2ec142a386fd@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Forwarded: Re: [syzbot] [input?] [usb?] WARNING in cm109_urb_irq_callback
Date: Fri, 02 Jan 2026 16:26:17 -0800	[thread overview]
Message-ID: <69586229.050a0220.a1b6.036a.GAE@google.com> (raw)
In-Reply-To: <692ccc4c.a70a0220.d98e3.0175.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.

***

Subject: Re: [syzbot] [input?] [usb?] WARNING in cm109_urb_irq_callback
Author: yiconghui@gmail.com

#syz test

--- a/drivers/input/misc/cm109.c
+++ b/drivers/input/misc/cm109.c
@@ -375,13 +375,17 @@ static void cm109_submit_ctl(struct cm109_dev *dev)
  	dev->ctl_data->byte[HID_OR2] = dev->keybit;
  
  	dev->buzzer_pending = 0;
-	dev->ctl_urb_pending = 1;
  
-	error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC);
-	if (error)
-		dev_err(&dev->intf->dev,
-			"%s: usb_submit_urb (urb_ctl) failed %d\n",
-			__func__, error);
+	if (!dev->ctl_urb_pending) {
+		dev->ctl_urb_pending = 1;
+
+
+		error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC);
+		if (error)
+			dev_err(&dev->intf->dev,
+				"%s: usb_submit_urb (urb_ctl) failed %d\n",
+				__func__, error);
+	}
  }
  
  /*
-- 



  parent reply	other threads:[~2026-01-03  0:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-30 22:59 syzbot
2025-12-02 23:36 ` Forwarded: KASAN: URB submitted while active syzbot
2026-01-03  0:26 ` syzbot [this message]
2026-01-03  0:53 ` Forwarded: Re: [syzbot] [input?] [usb?] WARNING in cm109_urb_irq_callback syzbot
2026-07-20 10:04 ` Forwarded: syzbot

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=69586229.050a0220.a1b6.036a.GAE@google.com \
    --to=syzbot+c708736c2ec142a386fd@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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

Powered by JetHome