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 300951FAC31 for ; Mon, 21 Oct 2024 18:54:56 +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=1729536896; cv=none; b=nS0x0tt+QSboRo4xZMAEKVR5SzwjrKAXcB0Rjh5xjtDepXO5FTppOzw5UNlxiuCrlC7cXIR3beZR16fad2f7dyXzQczsUXreDKyHgGFjXIim6soXOUH0nq6o8SdZuN3Mj2yVXUk8RVS8Yc3NdrdHzDsGxD9gaRQN5MEVySEhONA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729536896; c=relaxed/simple; bh=VgCmuCHmYx3d9OUeeIF+gU0q6uUl9GymFwcg42X57es=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gEQtdBkS7O148V88DKiONbEZ22RLbZxvB7YJFc+ELRQATO3vKOGDLVzanhIN8N0Q1B8KUOXVNg3Hg8/FxFpL8OrJKyWTTQhmqMkfET6wxOIjpx24QmZZkdM8+VcyFSzHn2nO8fEegveA21SiJXnX9Dl6whUy5QGVZIUnGufpU4I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I0KfEFfy; 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="I0KfEFfy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E09FC4CEC7; Mon, 21 Oct 2024 18:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729536896; bh=VgCmuCHmYx3d9OUeeIF+gU0q6uUl9GymFwcg42X57es=; h=From:To:Cc:Subject:Date:Reply-to:From; b=I0KfEFfyzo0NkB4xC+8YzkdR5Rgccn3vIuJnh3qdPDPl1hu0tjOq7a7Py4zHOwNtF SpAMdw1E2fQwo+RnDNm95/mg9Jr8C6Z33VY1H6Jaze+F8P28M30PJij3PdAqOp/Sbx VpxPzE+pqEBq+t+HHHNghYv408siRYhir73IjRao= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50007: ALSA: asihpi: Fix potential OOB array access Date: Mon, 21 Oct 2024 20:54:11 +0200 Message-ID: <2024102109-CVE-2024-50007-0253@gregkh> X-Mailer: git-send-email 2.47.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=2372; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VgCmuCHmYx3d9OUeeIF+gU0q6uUl9GymFwcg42X57es=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliiwPV99RNCS9aa2+ZxHFaJSjFMVqmamfs9MdN2zcJt Gw8xXSxI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYid5thns0/gb7EhuYPtfNm uBmvfOV0YK5CLsN87/gpDtt9DSd+VVjr/nDew4/OFTP+AQA= 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: asihpi: Fix potential OOB array access ASIHPI driver stores some values in the static array upon a response from the driver, and its index depends on the firmware. We shouldn't trust it blindly. This patch adds a sanity check of the array index to fit in the array size. The Linux kernel CVE team has assigned CVE-2024-50007 to this issue. Affected and fixed versions =========================== Fixed in 5.10.227 with commit 219587bca267 Fixed in 5.15.168 with commit 36ee4021bcc3 Fixed in 6.1.113 with commit e658227d9d4f Fixed in 6.6.55 with commit 7a5574099670 Fixed in 6.10.14 with commit ad7248a5e925 Fixed in 6.11.3 with commit 876d04bf5a8a Fixed in 6.12-rc1 with commit 7b986c7430a6 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-50007 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/pci/asihpi/hpimsgx.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/219587bca2678e31700ef09ecec178ba1f735674 https://git.kernel.org/stable/c/36ee4021bcc37b834996e79740d095d6f8dd948f https://git.kernel.org/stable/c/e658227d9d4f4e122d81690fdbc0d438b10288f5 https://git.kernel.org/stable/c/7a55740996701f7b2bc46dc988b60ef2e416a747 https://git.kernel.org/stable/c/ad7248a5e92587b9266c62db8bcc4e58de53e372 https://git.kernel.org/stable/c/876d04bf5a8ac1d6af5afd258cd37ab83ab2cf3d https://git.kernel.org/stable/c/7b986c7430a6bb68d523dac7bfc74cbd5b44ef96