From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-165.sinamail.sina.com.cn (mail3-165.sinamail.sina.com.cn [202.108.3.165]) (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 B9684343D72 for ; Fri, 14 Aug 2026 04:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.165 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786680648; cv=none; b=Ab7Iu2cNAPz7VxMLwI3UCRIA99yckF9gGJxOMMq7atNo2qonR6GpvVMMJrs+ACBpmyDwWhatKdonTWj3Ojvkd+uVouTr8NxdWpGfurbdFkW+GKvLUKY77zRazhiR3wPYa/ovkCFfkNeAJ3NiQojPrXkuLSlFNoCteBcinzNQrP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786680648; c=relaxed/simple; bh=yvVLQ1Aet2j7r4baawP4HL+TxDYD/QRA5g17vMFVQKU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bM/SiWInjMGm7qo4ahJevWi+d91XJWARMBusIJRPIY8zJUv0LCoZ3uSeqMP7m8B9VLdiIwEFl3xA4YYweDc9BxEGW2AlAj2p9+74df8DRml7BcEb6qTOlkGEzIxYDJ+8/fz3f4tk5gRLpGlqJBh2Qh1BwSQpO4MHuF7PGPh3lGs= 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=T+xgM3zB; arc=none smtp.client-ip=202.108.3.165 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="T+xgM3zB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1786680644; bh=TIHWFllQr6OsHjfG2VK2p/5O4suc4GSPjNkEJQCvs/k=; h=From:Subject:Date:Message-ID; b=T+xgM3zBML8iDvbbd9CHIwOxOD+NafmIPB5SSorisHLv0iG7+vnHNbKlLY93+VQCJ eP/JoSmyrrbYrV27F/fzTfjvEvu7K4g1qBy1X8WXOb8LuMDarEVHrAyQOTVUgjgoRU OrbrsDHARlPNypObX9TLrL6hXjLnGK1yM14KvC7U= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([221.216.154.155]) by sina.com (10.54.253.33) with ESMTP id 6A7E9538000050B4; Fri, 14 Aug 2026 12:10:34 +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: 9451666685161 X-SMAIL-UIID: 4C027923AAF245EDA5EA9D43CDC04800-20260814-121034-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [sound?] KASAN: use-after-free Read in release_card_device Date: Fri, 14 Aug 2026 12:10:23 +0800 Message-ID: <20260814041025.1107-1-hdanton@sina.com> In-Reply-To: <6a7d81d9.d5f0ebe7.22d851.0014.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, 13 Aug 2026 01:35:37 -0700 [thread overview] > syzbot has found a reproducer for the following issue on: > > HEAD commit: 3d6d817622b0 Merge tag 'scsi-fixes' of git://git.kernel.or.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1729f479580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=aaf0da806f995318 > dashboard link: https://syzkaller.appspot.com/bug?extid=7061d72c26b7daebe2b4 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=120e8ac6580000 #syz test --- x/sound/core/init.c +++ y/sound/core/init.c @@ -599,8 +599,10 @@ static int snd_card_do_free(struct snd_c dev_warn(card->dev, "unable to free card info\n"); /* Not fatal error */ } - if (card->release_completion) + if (card->release_completion) { complete(card->release_completion); + return 0; + } if (!card->managed) kfree(card); return 0; --