From mboxrd@z Thu Jan 1 00:00:00 1970 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 EF04B627F1 for ; Mon, 4 Mar 2024 18:14:41 +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=1709576082; cv=none; b=WSphigMo73bFdYjvhgvUk9fgl97ywcrtSFfCSlFQFvdmU88IVu9OQlXIxSnjI3BcWc2FRjn/rG7bFt+2sAXhd9Bv70OEbxtmXkZPXyYDCeB8hhzuUYymfAVNF8oyyMJjIM4KvdC1YGaLXq3qdhiPJGUoLgX31xBaR3VabRpqdgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709576082; c=relaxed/simple; bh=Jkn0t4rkf7g4iqsgrt+OuKfGAgL6Id8khC/a/BTlsn8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jcwAvGQz3WkaDLDFJKk/HGdtn7GX9zmp3sKHOe/D+vZh7i1qugvSpcWK8OWwFbh/R8z6rLUNCU2Jo2VYRiNvk4PKzh3YrL87ylghl/XybcJzCWt0LyxwhNMbYjQz4pNKcDietYTQclS1gvq7R9beQaEQn1JXDlwIlLOKxLAQXqY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hG1Lnxxp; 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="hG1Lnxxp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5ACFC43399; Mon, 4 Mar 2024 18:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709576081; bh=Jkn0t4rkf7g4iqsgrt+OuKfGAgL6Id8khC/a/BTlsn8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hG1Lnxxpd0zx7doyJQPHKvTdU9JGwpgUThngFL13pjKZUWLMSSZK8VPmu8kvyEWmg v1Nd8YRscfBZFt6R3Bae4e6kvkm27p08e5CZQ1718g7u/a1K67yj//dkSOTT5uJuwB QJByo3/aiIWKfakKeqJUqYNT/0DEp9Je19tINOt4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47096: ALSA: rawmidi - fix the uninitalized user_pversion Date: Mon, 4 Mar 2024 19:11:23 +0100 Message-ID: <2024030415-CVE-2021-47096-40c7@gregkh> X-Mailer: git-send-email 2.44.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=1965; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Jkn0t4rkf7g4iqsgrt+OuKfGAgL6Id8khC/a/BTlsn8=; b=owGbwMvMwCRo6H6F97bub03G02pJDKnP+A4bPPywlfOBnbL0nn/7YvIvXpGW/SgQFe/7JWdn5 d0zYtbCHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRFxoM88MVdgioFszbl5p0 dV1b6ZKdmTFHxBgWrA0SmDTTwvP/NUfJzevXJ0Wd/OpaDQA= 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: rawmidi - fix the uninitalized user_pversion The user_pversion was uninitialized for the user space file structure in the open function, because the file private structure use kmalloc for the allocation. The kernel ALSA sequencer code clears the file structure, so no additional fixes are required. BugLink: https://github.com/alsa-project/alsa-lib/issues/178 The Linux kernel CVE team has assigned CVE-2021-47096 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 09d23174402d and fixed in 5.15.12 with commit b398fcbe4de1 Issue introduced in 5.15 with commit 09d23174402d and fixed in 5.16 with commit 39a8fc4971a0 Please see https://www.kernel.org or 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-2021-47096 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/core/rawmidi.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/b398fcbe4de1e1100867fdb6f447c6fbc8fe7085 https://git.kernel.org/stable/c/39a8fc4971a00d22536aeb7d446ee4a97810611b