All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+e69c25cf38a53d0cf64c@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Forwarded: Fixing BUG: corrupted list in usb_hcd_link_urb_to_ep
Date: Thu, 09 Jul 2026 01:17:49 -0700	[thread overview]
Message-ID: <6a4f592d.c76b52dc.34afef.002a.GAE@google.com> (raw)
In-Reply-To: <69038243.a70a0220.5b2ed.0048.GAE@google.com>

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

***

Subject: Fixing BUG: corrupted list in usb_hcd_link_urb_to_ep
Author: xue.lei@windriver.com

#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

--- a/drivers/input/misc/cm109.c
+++ b/drivers/input/misc/cm109.c
@@ -601,6 +601,9 @@ static int cm109_input_ev(struct input_dev *idev, unsigned int type,
{
        struct cm109_dev *dev = input_get_drvdata(idev);
+       if (!dev->open)
+               return -ENODEV;
+
        dev_dbg(&dev->intf->dev,
                "input_ev: type=%u code=%u value=%d\n", type, code, value);
--
2.43.0

  parent reply	other threads:[~2026-07-09  8:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-30 15:20 [syzbot] [usb?] BUG: corrupted list in usb_hcd_link_urb_to_ep (5) syzbot
2026-01-04  7:03 ` syzbot
2026-01-05  4:07   ` Hillf Danton
2026-01-05  4:33     ` syzbot
2026-07-05 10:23 ` syzbot
2026-07-07 18:43   ` Alan Stern
2026-07-07 19:17     ` syzbot
2026-07-07 19:28       ` Alan Stern
2026-07-09  5:16         ` Hillf Danton
2026-07-08 14:22     ` Alan Stern
2026-07-08 15:35       ` syzbot
2026-07-09  8:17 ` syzbot [this message]
2026-07-09  9:53 ` Forwarded: [PATCH] Input: cm109 - fix URB double-submit due to missing open check 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=6a4f592d.c76b52dc.34afef.002a.GAE@google.com \
    --to=syzbot+e69c25cf38a53d0cf64c@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.