From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-163.sinamail.sina.com.cn (mail3-163.sinamail.sina.com.cn [202.108.3.163]) (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 DB1468462 for ; Sat, 10 Jan 2026 03:22:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768015384; cv=none; b=oznr6s1y/Pehe7XQJHnSf2uhj4seaQGxGC60EjpLvr51taFa1dMYze/B9FiflLFn9TZ+64vWeLlPoKdBrWvpsCRR255a2wlU5OGGOXA0FwYjEBTq3oSmCSiWRqQ6BMJEnYCCTGQLE21JRoav+8O8G1QDroTWARfNw8jwiHLr0HM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768015384; c=relaxed/simple; bh=8BZBQ1D6DVG1qxHS1gkubZWs/k1JI2LSmJoAKOafDwU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ob/w3n5krtv8NZHeAgoqXF66qCsKPnDTgtI/lUMeiiIRg4gTz+F8sZqH6J1G2MvKHW+tP2VoXkmvxDtkN1L4KmIX+gou3OQ3Dw9a2Ks+/72VrMnVlQMhbGvFfe8Z+dnijgu+sSMYYum+/HZqXdDS4P11hI5cNK/zetvokX+syGU= 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=SUlR4o8l; arc=none smtp.client-ip=202.108.3.163 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="SUlR4o8l" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1768015380; bh=iMM2HgpD6hpqnZbpuZByPUqgx44IBKrYZS1UdFJahBM=; h=From:Subject:Date:Message-ID; b=SUlR4o8l3l+0ci1rGxubWDm59E9wfqHmt35WsJvQNt1EEaLWpKZ9uoPetB1jih/jg 1iMkYSh6CTXYqk70SVmGFMY0V2RdTlWS3/KpcAI1fW1OVmFHxP7zt/K89okQ2OWcUs ikwSXQARwwES3LxzmQsPov1W/8BBYwVAMXhBTbc4= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.57.85]) by sina.com (10.54.253.34) with ESMTP id 6961C5E700003373; Sat, 10 Jan 2026 11:22:16 +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: 8306826291755 X-SMAIL-UIID: A20F6FFED4CC48409B366255436CFF35-20260110-112216-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [media?] KASAN: slab-use-after-free Read in em28xx_release_resources Date: Sat, 10 Jan 2026 11:22:05 +0800 Message-ID: <20260110032206.2102-1-hdanton@sina.com> In-Reply-To: <69608280.050a0220.1c677c.03b0.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: Thu, 08 Jan 2026 20:22:24 -0800 > syzbot has found a reproducer for the following issue on: > > HEAD commit: 79b95d74470d Merge tag 'hid-for-linus-2026010801' of git:/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=112b219a580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=a94030c847137a18 > dashboard link: https://syzkaller.appspot.com/bug?extid=16062f26c6480975e5ed > compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=152b219a580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13e6e922580000 #syz test --- x/drivers/media/usb/em28xx/em28xx-video.c +++ y/drivers/media/usb/em28xx/em28xx-video.c @@ -2898,6 +2898,7 @@ unregister_dev: v4l2_device_unregister(&v4l2->v4l2_dev); err: dev->v4l2 = NULL; + em28xx_v4l2_media_release(dev); kref_put(&v4l2->ref, em28xx_free_v4l2); mutex_unlock(&dev->lock); return ret; --