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 937221E47B7 for ; Fri, 22 Aug 2025 16:01:08 +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=1755878468; cv=none; b=JKd9nZDagAx6M4zRDWAXWp0yWK+LfRiFqeoPeQT2+04B6DnSP/rOiXn65/xH7Mx+efvJq0DDeYMrOSVIf9ouHbgZh1MpRGq7bLYmP9mRlyhV+HkpjNIM+5/5MKzCjIzkSiIS3FUFhrW2tb4wVE5Trxsbq9Mvv+sYDU7B3Jh5t1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878468; c=relaxed/simple; bh=fxZkbaiseeD/8HhZclncuajexP9UKVIeLfWyY3CTRCk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vp6gw/ttg60JvZ3ZDLmt+5R3JaOJY36iLn4bqmQs8BBAlwiPOOVKKtUeBg5CbPTpm1DKqYhfFVyYrcMzIIZ+quDpWT8rWg5UX3ZNkfnCOthpauQ7M3xHqRuQCQBGXRYmJoLFjRkZ3QXmFklAAQvzd+zEXFgI1LBODbwK1JvWoRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kgYk2Dse; 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="kgYk2Dse" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEAF0C4CEED; Fri, 22 Aug 2025 16:01:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878468; bh=fxZkbaiseeD/8HhZclncuajexP9UKVIeLfWyY3CTRCk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kgYk2DsehcUq4EnqlT2YuLmfK+V7PYlf9+wt6ZkLj/LoVVQtqThtAM6s7UDFsC8wv /nzLrPbe/gC9lmmEUhnhd+eW08K4HmZrUQDMfAqF6N4p8bBOwuVzSGLJ5OzaocwN3r hrpTaurHmVusb9lbh7PmYySSG1P8eCpNTr0hr76A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38629: ALSA: usb: scarlett2: Fix missing NULL check Date: Fri, 22 Aug 2025 18:00:38 +0200 Message-ID: <2025082231-CVE-2025-38629-4f55@gregkh> X-Mailer: git-send-email 2.50.1 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=2178; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CQU/UmvoitQ77HnC+qWpvAgmB3xLwHpGwP+Fl6GhFFc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpsiv/Por/0TumWUvN7cFrTY/uOO6hID/xeviEVLCF zs/LFoo2BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+XOSYTbrE76PpgrbHfLX /pWIrW/5KLCiyp9hwdVHm3Vy3Bos445o7563wOf9OdeKlQA= 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: ALSA: usb: scarlett2: Fix missing NULL check scarlett2_input_select_ctl_info() sets up the string arrays allocated via kasprintf(), but it misses NULL checks, which may lead to NULL dereference Oops. Let's add the proper NULL check. The Linux kernel CVE team has assigned CVE-2025-38629 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 8eba063b5b2b498ddd01ea6f29fc9b12368c3d53 and fixed in 6.15.10 with commit d558db85920b124bac36f8a7ddc5de0aa7491bdd Issue introduced in 6.13 with commit 8eba063b5b2b498ddd01ea6f29fc9b12368c3d53 and fixed in 6.16.1 with commit 2c735fcaee81ad8056960659dc9dc460891e76b0 Issue introduced in 6.13 with commit 8eba063b5b2b498ddd01ea6f29fc9b12368c3d53 and fixed in 6.17-rc1 with commit df485a4b2b3ee5b35c80f990beb554e38a8a5fb1 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-38629 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/usb/mixer_scarlett2.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/d558db85920b124bac36f8a7ddc5de0aa7491bdd https://git.kernel.org/stable/c/2c735fcaee81ad8056960659dc9dc460891e76b0 https://git.kernel.org/stable/c/df485a4b2b3ee5b35c80f990beb554e38a8a5fb1