From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp153-162.sina.com.cn (smtp153-162.sina.com.cn [61.135.153.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A981E8479 for ; Mon, 5 Jan 2026 04:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=61.135.153.162 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767586050; cv=none; b=p9fCg+Mksa5sJ9+v0noe4u8xYN+8R2ARi7BU4EnuykeOOrkmC9bvbiKs/pJPrs1/4PuoN4FvnQyjGLdp1aUNzt5HRV25CAzRNs+0fBpu5U+npsiQkUs+ALgRtoiO2FCVvn1oerynDSrWSVt7EBDBUFRvYlHoYh9bATyn36dOjDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767586050; c=relaxed/simple; bh=7tE1piEKuIPjIPlcwQeavx+6373+mIKCFv6yoHHmMiM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CcoHkCAtgmd3VKmQuZipIlC36lFQAtq8M9uxN9BUraYTaf5SyZMdPcMH4nGLsqONeyA62uY5Q+c41v+OWf7TMMmVpDq+CKxO3uuOiNbfNCUnwxM/tDYyHPDDas5ZP1AOBlu+pV9ltjBZufZn4lg2O2ZHYUZvKDQC2jPX4gNOi4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b=w9p/Nktq; arc=none smtp.client-ip=61.135.153.162 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b="w9p/Nktq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1767586041; bh=ObTISrBhSYQQFmrXTES7cKsh6TapcAlKUVUzoTYHm9Y=; h=From:Subject:Date:Message-ID; b=w9p/Nktq3ryfsTrsSctqurMult7Wvou3/O5xTbRCmhtNfBj7Ih96w/771Jx2wQes8 3rt/Sd11VeuXTwu+4+3Ou3o4IZ9oIxkm8ynIwdkiF8yjvB5+tb7btQcu//bnXZFg4k K9mTLn6J7ql78QK14p0gOxxLLnrqw6lWvVv0rYR0= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.57.85]) by sina.com (10.54.253.31) with ESMTP id 695B38F300001A50; Mon, 5 Jan 2026 12:07:18 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 6754856816383 X-SMAIL-UIID: 0A9E154D7F224607A6A0464EA6B597F8-20260105-120718-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [usb?] BUG: corrupted list in usb_hcd_link_urb_to_ep (5) Date: Mon, 5 Jan 2026 12:07:08 +0800 Message-ID: <20260105040710.1965-1-hdanton@sina.com> In-Reply-To: <695a10bc.050a0220.a1b6.0386.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Date: Sat, 03 Jan 2026 23:03:24 -0800 > syzbot has found a reproducer for the following issue on: > > HEAD commit: aacb0a6d604a Merge tag 'pmdomain-v6.19-rc3' of git://git.k.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=16578f92580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=a11e0f726bfb6765 > dashboard link: https://syzkaller.appspot.com/bug?extid=e69c25cf38a53d0cf64c > compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1627369a580000 #syz test --- x/drivers/input/misc/cm109.c +++ y/drivers/input/misc/cm109.c @@ -562,15 +562,18 @@ static int cm109_input_open(struct input dev->ctl_data->byte[HID_OR2] = dev->keybit; dev->ctl_data->byte[HID_OR3] = 0x00; + spin_lock_irq(&dev->ctl_submit_lock); dev->ctl_urb_pending = 1; - error = usb_submit_urb(dev->urb_ctl, GFP_KERNEL); + error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC); if (!error) { dev->open = 1; + spin_unlock_irq(&dev->ctl_submit_lock); return 0; } + dev->ctl_urb_pending = 0; + spin_unlock_irq(&dev->ctl_submit_lock); } - dev->ctl_urb_pending = 0; usb_autopm_put_interface(dev->intf); dev_err(&dev->intf->dev, "%s: usb_submit_urb (urb_ctl) failed %d\n", --