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 9B6F580633 for ; Mon, 29 Jul 2024 17:40:31 +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=1722274832; cv=none; b=VcYgXtSWb+OCuBQTYmnTDwRe+k55uyHkzReJi0Nn3yf0YHLDv38uIE65bKZ8OY1FyljsQcyX2L/zUY++nuOR4u6H0m8w3Nw1UIaJiFgAfa19NOf2hvRmJOxKrTxzRiC4nj3OOLAxvM4POrWNls6yjpXkEoWoj3VR6vWmsvf6itc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722274832; c=relaxed/simple; bh=r4rBsGmr9gyblfVseD59bn+0+HIWezLWgCLCQQMT4fc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P/x+Q64L4SaUrAf1KofzXUjFmOLkZ5dSBH7oOaM1MGabyvmyWOHQc1fA567FOwQT/6Va5ZqYVV4MLqik6Id6gGka78eSD7l6q/0FFanYpa5oJHut52+zpZ6dLA+dge38TDOP03Xied4OiHCWtODzW8kfHWBoZd7Duco2aH8X1y8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LeFen9Rr; 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="LeFen9Rr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2743C32786; Mon, 29 Jul 2024 17:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722274831; bh=r4rBsGmr9gyblfVseD59bn+0+HIWezLWgCLCQQMT4fc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LeFen9RrdgxH3sW2jKz5KGiOcl/4dxTUyMNwHI0aN4PXjJFpTyLbLKQ+vLwra8lQ6 ZjvA2FVyUwl+CuAEYXwuj50Dfhr79ZH2MCytb5tpt51oPAQ2dO0RA6x0vADbSkl16p BNeys9ebMXlyGzjmLpKB9tIjE2dxm3QfkGBU6e+4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42097: ALSA: emux: improve patch ioctl data validation Date: Mon, 29 Jul 2024 19:40:15 +0200 Message-ID: <2024072911-CVE-2024-42097-5a6a@gregkh> X-Mailer: git-send-email 2.45.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=2496; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=r4rBsGmr9gyblfVseD59bn+0+HIWezLWgCLCQQMT4fc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLL//Z9XbdKkfu1srUk9VPM2REdG63JWZu/efgeObaa waeMO5bHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRLjaGBTtuMKjavffPaXyv cipRZee7FGdJK4b58X0up+Rz4xLdnkvvTrp5bZfdumROAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: emux: improve patch ioctl data validation In load_data(), make the validation of and skipping over the main info block match that in load_guspatch(). In load_guspatch(), add checking that the specified patch length matches the actually supplied data, like load_data() already did. The Linux kernel CVE team has assigned CVE-2024-42097 to this issue. Affected and fixed versions =========================== Fixed in 4.19.317 with commit 40d7def67841 Fixed in 5.4.279 with commit 79d9a000f022 Fixed in 5.10.221 with commit d23982ea9aa4 Fixed in 5.15.162 with commit 7a18293fd8d8 Fixed in 6.1.97 with commit d0ff2443fcbb Fixed in 6.6.37 with commit d8f5ce3cb9ad Fixed in 6.9.8 with commit 87039b83fb7b Fixed in 6.10 with commit 89b32ccb12ae 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-2024-42097 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/synth/emux/soundfont.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/40d7def67841343c10f8642a41031fecbb248bab https://git.kernel.org/stable/c/79d9a000f0220cdaba1682d2a23c0d0c61d620a3 https://git.kernel.org/stable/c/d23982ea9aa438f35a8c8a6305943e98a8db90f6 https://git.kernel.org/stable/c/7a18293fd8d8519c2f7a03753bc1583b18e3db69 https://git.kernel.org/stable/c/d0ff2443fcbb472206d45a5d2a90cc694065804e https://git.kernel.org/stable/c/d8f5ce3cb9adf0c72e2ad6089aba02d7a32469c2 https://git.kernel.org/stable/c/87039b83fb7bfd7d0e0499aaa8e6c049906b4d14 https://git.kernel.org/stable/c/89b32ccb12ae67e630c6453d778ec30a592a212f