From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from r3-21.sinamail.sina.com.cn (r3-21.sinamail.sina.com.cn [202.108.3.21]) (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 986AA17B418 for ; Mon, 27 Apr 2026 23:21:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777332113; cv=none; b=UNFrbtSMWhE6HG8D5WSrwpc5wGNi4dLI0PXvn0lwrcNbA7s1aT4X4jpWZsKqoPTbKthGcG3xa2ujieSs9miJ8ylvKf2Z7qX05s7Dp8mzJwF9jcNswiqPL8O4kSYLtVs2OmgHRXqbskfbE0QTlVqQg1cHrTWGdOoenDUukqqSpCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777332113; c=relaxed/simple; bh=kvc2Guq+HMqeGPxa6c+cpTSvPUZRlac9cpEOkdDXze8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k4g8M2sji4j5DRBxq4D8YvYsYeHjH8ldSwq6hXSpb5LnisS1YFHOsTrxJ2a9JJff37ScWryVtXF3YueqWa9d4owUXR7X7C1P++4jSDmEcHZLhd5YdCKhhZEhLL/LMQknuSV9XgfS/ctj7fOueI/B2UiBZjL8o1VLHc7mPGIKnoA= 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=ffGIimUs; arc=none smtp.client-ip=202.108.3.21 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="ffGIimUs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1777332108; bh=lfCp1dsWVkdXCCTL04So6reIE+n8XflcASYLxrN3JL8=; h=From:Subject:Date:Message-ID; b=ffGIimUsW1QBtENidsmC4Q3FThyxXph/MrjaBCyPsWo14BWwoFgOKh7Ym5HSTH949 5sMKTubgVvDej7n3PeAi/NVjp3ihXCgKfOM070mCV08lOoWwXPC5u9bof6aMKit1XX +q68r6ZFaodSGQHtjREXMlRmgYTbY/yRyvO64vOc= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.62.144]) by sina.com (10.54.253.33) with ESMTP id 69EFEF8000002CE7; Mon, 28 Apr 2026 07:21:38 +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: 5441666685185 X-SMAIL-UIID: D6D1B8B28FE6445FAEC42C2FB6488E68-20260428-072138-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [input?] [usb?] KASAN: slab-use-after-free Read in hidraw_report_event Date: Tue, 28 Apr 2026 07:21:27 +0800 Message-ID: <20260427232128.2120-1-hdanton@sina.com> In-Reply-To: <69eed7e0.a00a0220.7773.0026.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: Sun, 26 Apr 2026 20:28:32 -0700 > Hello, > > syzbot found the following issue on: > > HEAD commit: 7080e32d3f09 Add linux-next specific files for 20260424 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=13d8b2d2580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=d941ac7f11ceb230 > dashboard link: https://syzkaller.appspot.com/bug?extid=9eebf5f6544c5e873858 > compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14d309ba580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13a082ce580000 #syz test --- x/drivers/hid/usbhid/hid-core.c +++ y/drivers/hid/usbhid/hid-core.c @@ -280,7 +280,7 @@ static void hid_irq_in(struct urb *urb) case 0: /* success */ usbhid->retry_delay = 0; if (!test_bit(HID_OPENED, &usbhid->iofl)) - break; + return; usbhid_mark_busy(usbhid); if (!test_bit(HID_RESUME_RUNNING, &usbhid->iofl)) { hid_input_report(urb->context, HID_INPUT_REPORT, --