From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail115-80.sinamail.sina.com.cn (mail115-80.sinamail.sina.com.cn [218.30.115.80]) (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 C57674C92 for ; Sun, 19 Jan 2025 01:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737248733; cv=none; b=TxRdpRtBdnOsbZ2fr3+sZMDRC/kaxCd4us/gs/mzaYx8HA1gjnNNDimBv79pCjCnL8MD1dB0r8lLTQ7IRibiJU3/0fKl63P0dI3Avi34ceW3/A4EsVCbpyUBw+/8m4zsLSlkmdQ1D8HB+z6bYjM+c4B+MZLxm20jdAS5fpgFtAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737248733; c=relaxed/simple; bh=XP25qfRgppIAD1jhePz98c3P98pI7x5BKtIeWeAe8Gk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XwMluv9bAfGDzcPSf/RjyToeEvPlWhK8Ae5xP3X3hqfEnn+O0Dax3vk1qZrMAhkeiH4EI0bn6RZbDrPeKRGAlVGqaWsGyMkcMQm7P2v5QoWpQzDx6pSNPMNHRjtSo9/FSxLSQDN5Px4MoboUzReiG99Kgkjk1Kbllp0HqxSPOXw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=218.30.115.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([116.24.10.102]) by sina.com (10.185.250.23) with ESMTP id 678C4FCD000008D5; Sun, 19 Jan 2025 09:05:19 +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: 4365118913354 X-SMAIL-UIID: 204B4D4D600D497A8BB5E2CABCBE1422-20250119-090519-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 dvb_device_open Date: Sun, 19 Jan 2025 09:05:07 +0800 Message-ID: <20250119010509.2052-1-hdanton@sina.com> In-Reply-To: <678c0605.050a0220.303755.0031.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 On Sat, 18 Jan 2025 11:50:29 -0800 > syzbot has found a reproducer for the following issue on: > > HEAD commit: 595523945be0 Merge tag 'devicetree-fixes-for-6.13-2' of gi.. > git tree: upstream > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12183fc4580000 #syz test --- x/drivers/media/dvb-core/dvb_frontend.c +++ y/drivers/media/dvb-core/dvb_frontend.c @@ -2887,6 +2887,7 @@ err3: mutex_unlock(&fe->dvb->mdev_lock); err2: #endif + dvb_device_get(dvbdev); dvb_generic_release(inode, file); err1: if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl) --