Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0F6842686AF for ; Fri, 18 Apr 2025 07:02:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744959780; cv=none; b=m01yI1p67WJ6OpZFwbWBIIFF6Z+M2viuc7sKHs0eQWuP6x/lmxxxRBrUWgUmq53dkO3B7AoFq8QlnuUfsix9ttjsSMq/zXSAKvEKRqkaLtZD5Ux2ZdHvLyR3LW8eqw5Q3yo6D6Jvk78YuvVYQ6De6btKw7jecsKwzj0Btyyra6o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744959780; c=relaxed/simple; bh=sU7Alzht2MT6reuzCO11Tjhwh0JS73LLoqKkLInyOMM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T2/EMyL4jAuBAYARZ8wqLU9Vixo0VUt0nD5vOFI9AzjZ2y8GFxgxtj1T/VAWZaI7/OcxeuPYZ5c2ViIqGZLFhDw9Lwbq1X8nKJyrFdOTvBngv5UkNwnFiv+OhRwiGMzvORpH1P4Tp41cTDpb9Z1xDiveFHzXbsHFZbYCh1KoLO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e6lDFtkk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="e6lDFtkk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D24CEC4CEE2; Fri, 18 Apr 2025 07:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744959778; bh=sU7Alzht2MT6reuzCO11Tjhwh0JS73LLoqKkLInyOMM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=e6lDFtkkCVIH4resL+KaebRhgzu8j6XNeL629riDwxV7a7OikBw4DA1yXBq7UQyHn Stcs+kFBB7YFcjn2xhTp6rvkgpEuxrhcc1K3f+Cxq5BrZOOmXGAKZeGiohJpi3WSE2 WzQUKntmL1dKrk7LEUxvq47e1/a22N7oFH9PEPZQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39930: ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai() Date: Fri, 18 Apr 2025 09:02:30 +0200 Message-ID: <2025041821-CVE-2025-39930-6fed@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2045; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gKW3/Mza6wwsOq4FcWdkW9LviP1kCZSncevaWRhxWBQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmMP/5GNr6seD97l87MHiGFd00nVjbd72Uq0NcU074Qb JR0x021I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCncgwV1biV2jYg63+d+qC mITKH29+eIrFnmGusKi5/b3dCb/f7jfIvOHltui1UeZMAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai() commit 419d1918105e ("ASoC: simple-card-utils: use __free(device_node) for device node") uses __free(device_node) for dlc->of_node, but we need to keep it while driver is in use. Don't use __free(device_node) in graph_util_parse_dai(). The Linux kernel CVE team has assigned CVE-2025-39930 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 419d1918105e5d9926ab02f1f834bb416dc76f65 and fixed in 6.14.2 with commit 232a32e8a7e9be8a2ee238df9b5304eed2f4e195 Issue introduced in 6.14 with commit 419d1918105e5d9926ab02f1f834bb416dc76f65 and fixed in 6.15-rc1 with commit de74ec718e0788e1998eb7289ad07970e27cae27 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-39930 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: sound/soc/generic/simple-card-utils.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/232a32e8a7e9be8a2ee238df9b5304eed2f4e195 https://git.kernel.org/stable/c/de74ec718e0788e1998eb7289ad07970e27cae27