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 63A6F2609DD for ; Tue, 20 May 2025 15:24:01 +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=1747754641; cv=none; b=iBPStpf7GK8KVvQFWI5raktsrbjT7WvEF9MrD7ehXSTz1emo5alzIf4AMkCPRJbHsldq0smTXW4kR6bLBLoaVn3NLkORpXLMxjOOEb1UGLlQFoTw/MMF9uIdT3w7AL1kiwNmHAOn+KyxS1KhckGxbwmhtsJV88ObcEl0Byi2i4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754641; c=relaxed/simple; bh=qx2YBzCbxTAXxDTXHXmRz8LbakavS6i1I87S2x7itfE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nIeeZwTxEIW8ghS/GM+G6/r2jSZlPh6N8KQFfKBkRszp8g6d+Kw3yR+OJPe73V7QWG8Eq4oMEKvcASukoVbTRxAWqjcOJdFI5NZJ1ygIsWyPOYhLJH4ugYe0S0fYvyCHz6kMVdS21r/SA6O6gAHWE3bPi+Jlj+c8lCOBJE8Jyto= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gQ/XsjLT; 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="gQ/XsjLT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BD71C4CEE9; Tue, 20 May 2025 15:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747754640; bh=qx2YBzCbxTAXxDTXHXmRz8LbakavS6i1I87S2x7itfE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gQ/XsjLT//S3zx1SVZydBN51MTOGfcRUDDTqt0OIVVyfwVMQnoN25q/zOgfagJcpl j7rzBmSxPwLz3bSXaT95ZEd7jkwMe4lXtK8MhxgTShM+DkAcpV+O7sdcWxTiiPMgyP D4SfzqPIt3rjv+g2Gi/mKyiJvDcAemSrPUectJDo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37934: ASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction Date: Tue, 20 May 2025 17:22:30 +0200 Message-ID: <2025052007-CVE-2025-37934-9436@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=2368; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=z0WZ8om1u2+OSDzrsZ91TVTKBrC8x30lsGxht6wlYXw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk68+QPaJ3ov3TEUr7uVtGaR/53pi+fEKnqwLSgdXooY 2fqbCHejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI1nsMC1ZeecQUZv4n5NBy bXWZ4GzvkC//QxnmV1QeXl0Qv9z66mv52ZYVOcKnlCYWAQA= 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: Fix pointer check in graph_util_parse_link_direction Actually check if the passed pointers are valid, before writing to them. This also fixes a USBAN warning: UBSAN: invalid-load in ../sound/soc/fsl/imx-card.c:687:25 load of value 255 is not a valid value for type '_Bool' This is because playback_only is uninitialized and is not written to, as the playback-only property is absent. The Linux kernel CVE team has assigned CVE-2025-37934 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 844de7eebe97a1c277f8a408457712086c957195 and fixed in 6.12.28 with commit b41a49d5435e0f76da320f231b7252800e8f736f Issue introduced in 6.11 with commit 844de7eebe97a1c277f8a408457712086c957195 and fixed in 6.14.6 with commit 9b5b3088c4d1752253491705919bd7d067964288 Issue introduced in 6.11 with commit 844de7eebe97a1c277f8a408457712086c957195 and fixed in 6.15-rc5 with commit 3cc393d2232ec770b5f79bf0673d67702a3536c3 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-37934 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/b41a49d5435e0f76da320f231b7252800e8f736f https://git.kernel.org/stable/c/9b5b3088c4d1752253491705919bd7d067964288 https://git.kernel.org/stable/c/3cc393d2232ec770b5f79bf0673d67702a3536c3