Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E07A3367F3A for ; Sat, 15 Aug 2026 06:19:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774760; cv=none; b=M1WbjerIREqFWp8K/i/wEZB7xYJoCQokxuidfijlQqcKXNnX9qb9oqSo8sPBD76rA9PaCoASfFB1uTT+pie9cKjaK5Z/SnJRXZgs9oxZ8sWIpcULcSySkD1jIHdZILrMzsc/rCxtcizopQOg+mm+PHNKFyr3DWy2iRygWNQ1cWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774760; c=relaxed/simple; bh=H0t8hu3J6g3aLJQ/ZHEK5xFwHEz6ZvrdX973y2aVUJ4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nip7Nwnxoo7JTg6CNSIhUsyY1BvkgOYSunxaAUdhJ2eCr4DcvlibnCcCkhKqK7J6hf9AWBODLvB+XbLlHpP9NPwIYK4D1K9qZ3oWsyhudvm8uk8+S+ITUPGv+cc84iCoQVttvA1wfpaVsCtYxS9plpj0imcWct3e2T65HiuWsx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M8THTvW3; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="M8THTvW3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 428B61F000E9; Sat, 15 Aug 2026 06:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774758; bh=+9Hfb2o9XMegH3CgwqKxQo8eRqsGexpITFw8KP7p8yg=; h=From:To:Cc:Subject:Date:Reply-To; b=M8THTvW3kDMSAVl7u8ohmdt4vU6uuLmhGr1LHrsHQ8vk6PgeTTVdmAkkRcVfqw5Zo YN52/4vHHPWRR8OG7RIqKzJqynUoIkdkJtMRhJLocBWyeaXQ1EpfQxekvVOxvXOCQ5 cxU8rB4v3Yhpw89mgC17MYOfFFPpjswn9Dy5z2LA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72263: ASoC: SOF: topology: fix memory leak in snd_sof_load_topology Date: Sat, 15 Aug 2026 15:05:42 +0900 Message-ID: <2026081555-CVE-2026-72263-a90d@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2119; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p0AOCfk8b07n3oRxqhZ6W4C9DK8vCXF0MTekWvLBI9s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDJe/618t6ZVq0Kzr7d4rWhIYuuLeZAbFED+DA3bVt 1+u0fPriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn8TmKYn8ofvfT3pQKhv1YO C2bLmJUyZMnYM8wPT1puqTJz2pqP5v/92RjFtl9/dmsvAA== 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: SOF: topology: fix memory leak in snd_sof_load_topology When the topology filename contains "dummy" and tplg_cnt is 0, the function returns -EINVAL directly without freeing the tplg_files allocated by kcalloc() at line 2497. This leaks memory on every such topology load attempt. Fix this by setting ret = -EINVAL and jumping to the out: label, which already handles the kfree(tplg_files) cleanup. The Linux kernel CVE team has assigned CVE-2026-72263 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 99c159279c6dfa2c4867c7f76875f58263f8f43b and fixed in 7.1.5 with commit 6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8 Issue introduced in 6.19 with commit 99c159279c6dfa2c4867c7f76875f58263f8f43b and fixed in 7.2-rc1 with commit d46f9f23897261da53ffbeb89d48a13982ba7d28 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-2026-72263 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/sof/topology.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/6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8 https://git.kernel.org/stable/c/d46f9f23897261da53ffbeb89d48a13982ba7d28