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 AC116302CDB for ; Wed, 12 Nov 2025 10:24:20 +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=1762943060; cv=none; b=tE4ZvQ2Lpf79Xwo5fCJSBxkszYRpm5xqRer7/gYwRTvsdNbvM6eOgHr1D5ewHI7C/2ZsFjauaAt0C7So8ah/pi2xEJ/PsQgEy3GiH+o2X0adMVoeSjdy39DpVhMN9RkFu466+IVxfxuuhG0di9wuGNUN/nJURqFx6L5VBi4vTs4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762943060; c=relaxed/simple; bh=dQpuP79wdsuq41DE9h8Ehhc/R4sOHNkZeGE/dmUU8PI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nsCyYX5Ps0U3Zk0Lywqoazsx1Cwa27Rmfb0bDo7gYUITlBX6KU9ym9SjdxsqOtDCGkMTEPpE4N3IHh8PBOxL1Gt7tnh/PcZFnM/bf3MS4r3mc+hOUjb2GBhaxccP2EHbphppcfta/sQETJ/wHGBnLBNFIYkJlSEgIZcPzrAqy8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uVKWxMgB; 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="uVKWxMgB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49439C19424; Wed, 12 Nov 2025 10:24:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1762943060; bh=dQpuP79wdsuq41DE9h8Ehhc/R4sOHNkZeGE/dmUU8PI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uVKWxMgBC2iXhCNLda19784O5C5+dG0KLVakfIeIgPHMswkNznU6yjKHoGJLFtan0 /V0+mlhvSkaUTGmT9BIpzqI3j9ix9wPqha8KOYqrThOFbaiP2b2PSHghLu1ZXroj3Q Rw+S+UpUL5DWBNzG/6xSOVMPEM9aOeV4BDlRZkog= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40132: ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback Date: Wed, 12 Nov 2025 19:24:08 +0900 Message-ID: <2025111254-CVE-2025-40132-9d00@gregkh> X-Mailer: git-send-email 2.51.2 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=2318; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SuXO3HNIffwSy6XFgUBnVLDyMb4GrwWiYy71S5ZR2yQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkiCVY9TSYV7DKSNzSu9Dxl2Z50VKo66HJUy+R9N40qy /jNTpp2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERW6zHMU+tYuKHd+vD0q2Jn vt2uXqPMs3zHMYYFh7b4b1KfpicQuq2GafPa+b6qEysnAQA= 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: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback In create_sdw_dailink() check that sof_end->codec_info->add_sidecar is not NULL before calling it. The original code assumed that if include_sidecar is true, the codec on that link has an add_sidecar callback. But there could be other codecs on the same link that do not have an add_sidecar callback. The Linux kernel CVE team has assigned CVE-2025-40132 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit da5244180281a18c4c7859674fec308514aaf629 and fixed in 6.12.53 with commit aea038062edfca9c6e5ddcecd4611d5a80113b4e Issue introduced in 6.10 with commit da5244180281a18c4c7859674fec308514aaf629 and fixed in 6.17.3 with commit a5416c0fc9e77b69f853dfb1e78bc05a7c06a789 Issue introduced in 6.10 with commit da5244180281a18c4c7859674fec308514aaf629 and fixed in 6.18-rc1 with commit 87cab86925b7fa4c1c977bc191ac549a3b23f0ea 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-40132 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/intel/boards/sof_sdw.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/aea038062edfca9c6e5ddcecd4611d5a80113b4e https://git.kernel.org/stable/c/a5416c0fc9e77b69f853dfb1e78bc05a7c06a789 https://git.kernel.org/stable/c/87cab86925b7fa4c1c977bc191ac549a3b23f0ea