From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from r3-19.sinamail.sina.com.cn (r3-19.sinamail.sina.com.cn [202.108.3.19]) (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 EC7EF63B9 for ; Sun, 12 Jul 2026 00:09:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783814981; cv=none; b=XLMBF/f+UHiHxNEWtFPEwRJDYWmuASxRRm+BfS7HH27dgMLgdtG9hmvz4q2yredYSDC10hZhf9FepHQIPMk+YgvXS6XanNxIKMteLNLcswArctztrKOGGfVd75oEfljpenlaOJITXnCkt+1OrOTjM2xRqEcDwga4vxygrmY20mY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783814981; c=relaxed/simple; bh=6dOM4G22C5GoGdVVdlJ8KvO8UwREvlRH/vfzGGVCwwQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uaf1uI9LivjJ+gNSpsGDC3LtC5bJOnwzWPzYHkvuk8c250lkgqkfO/XqHMnXgwUUR80yNeApjgHyFGgAeT6KE2zsjDSeV4fpjvk2dwTr+NQNj+/+Q/crD+QFKbI1c9JJFnwYNFZ5Gied/QYVk2vy17yXpkeq2R/w3VZYCaaOrt0= 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=eUqeK8kL; arc=none smtp.client-ip=202.108.3.19 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="eUqeK8kL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1783814976; bh=IVAB8oEfCC+3IHrlSaMwUiL9jcBCknmrfn+Y+Up7/jo=; h=From:Subject:Date:Message-ID; b=eUqeK8kLG5CdxnooYu33zrYoLAhu2aeZej/56jlJZciBKukjphbx0OF6hQFQup1vj uhZpyxbIKpTaGvCHpMy7yGVcVwhb5dGo3Ea7L5NUz3vgMCvoXSl3S/08B0UEm4BVGD zYWC62eJKUD1mPhc4Qf3RcoKUlbTlEMZayvMz0i4= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.62.144]) by sina.com (10.54.253.32) with ESMTP id 6A52DB3300005E3D; Sun, 12 Jul 2026 08:09:26 +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: 5027474456816 X-SMAIL-UIID: 6A09673FECAF4125A36048C752E2902C-20260712-080926-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [usb?] KASAN: slab-use-after-free Read in uea_upload_pre_firmware Date: Sun, 12 Jul 2026 08:09:12 +0800 Message-ID: <20260712000913.519-1-hdanton@sina.com> In-Reply-To: <6a42df07.854d4ab9.360e1d.000d.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: Mon, 29 Jun 2026 14:09:27 -0700 > Hello, > > syzbot found the following issue on: > > HEAD commit: 3d5670d672ae Add linux-next specific files for 20260626 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=10b76dfe580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=2bb8183b2d472f18 > dashboard link: https://syzkaller.appspot.com/bug?extid=3d45d763d18796f97412 > compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15fa0e1c580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13519391580000 #syz test --- x/drivers/usb/atm/ueagle-atm.c +++ y/drivers/usb/atm/ueagle-atm.c @@ -2605,9 +2605,11 @@ static void uea_disconnect(struct usb_in usbatm_usb_disconnect(intf); mutex_unlock(&uea_mutex); uea_info(usb, "ADSL device removed\n"); - } else if (usb->config->desc.bNumInterfaces == 1) { + } else { struct completion *fw_done = usb_get_intfdata(intf); + if (!fw_done) + return; uea_dbg(usb, "pre-firmware device, waiting firmware upload\n"); wait_for_completion(fw_done); uea_dbg(usb, "pre-firmware device, finished waiting\n"); --