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 97176180A61 for ; Wed, 10 Apr 2024 18:58:39 +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=1712775519; cv=none; b=TJMKcyfLWa15Sbx2u/BSEiBBLf7tfOHgTzkq6W0XebnNvoaZzXWETxlSZOEdT1Sv4But/C/RJl9dQo3g6r4o48kWh9fK7sVITCsXD2BiKOwnRc+gyTB8z87K3u3owVT93RN+IrgmoOiEbxTEElhfZ8U3tqZ24olAt4TQDdi5QLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712775519; c=relaxed/simple; bh=UNg4SLEAOd5N07Oih/IcYvFxvOw6XfO/DpNf5zQrAms=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nCYnHxq3Q2M8FPn7DDzWYwYqGYUaqTQjtamffsScK2TbeT9+pn+/Q8pwTfCIlQ39Hzh6FUHmB05TtBJdMZDK7joiIGO77YFkLk8RicjJLGHQOwsmd0QMohxLBkxQR2rk1sqwOkEzYhCXzRW0dxRPN9gvKr7nfnqYexH+9Milg8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Jbeq7Bl6; 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="Jbeq7Bl6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19CECC433C7; Wed, 10 Apr 2024 18:58:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712775519; bh=UNg4SLEAOd5N07Oih/IcYvFxvOw6XfO/DpNf5zQrAms=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Jbeq7Bl6aG/j4mremsCY9RMAlPdEa8wDVwRQo9N++dRIZuqho/FbVNn+jW25UyXKE yg3pE2nW+yndAEjJAcw3ppkwaHVsTnx9+EXSHA4zB2n7YJeMXcnlEY5t5PvU8RZHDK WzigvhsofljFTgVUNG7/25ykDQryRRHmlLFIX6hM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47207: ALSA: gus: fix null pointer dereference on pointer block Date: Wed, 10 Apr 2024 20:57:56 +0200 Message-ID: <2024041038-CVE-2021-47207-7ac9@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=2436; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UNg4SLEAOd5N07Oih/IcYvFxvOw6XfO/DpNf5zQrAms=; b=owGbwMvMwCRo6H6F97bub03G02pJDGliD5UuPahQ551ueZD78pmEJadvR6+Q9ZTW4WOo+6Ckm 8RwTXRRRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkaA7DgiM2gl5FiRPzc9Zu 2iD6sbn2kMxaNoYFPbwdxo83XZ9lN6H//SymqIbV83I0AQ== 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: gus: fix null pointer dereference on pointer block The pointer block return from snd_gf1_dma_next_block could be null, so there is a potential null pointer dereference issue. Fix this by adding a null check before dereference. The Linux kernel CVE team has assigned CVE-2021-47207 to this issue. Affected and fixed versions =========================== Fixed in 4.4.293 with commit 3e28e083dcdf Fixed in 4.9.291 with commit cb09c760c201 Fixed in 4.14.256 with commit 542fa721594a Fixed in 4.19.218 with commit ab4c1ebc40f6 Fixed in 5.4.162 with commit c6d2cefdd05c Fixed in 5.10.82 with commit 1ac6cd87d8dd Fixed in 5.15.5 with commit 16721797dcef Fixed in 5.16 with commit a0d21bb32794 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-2021-47207 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/isa/gus/gus_dma.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/3e28e083dcdf03a18a083f8a47b6bb6b1604b5be https://git.kernel.org/stable/c/cb09c760c201f82df83babc92a5ffea0a01807fc https://git.kernel.org/stable/c/542fa721594a02d2aee0370a764d306ef48d030c https://git.kernel.org/stable/c/ab4c1ebc40f699f48346f634d7b72b9c5193f315 https://git.kernel.org/stable/c/c6d2cefdd05c4810c416fb8d384b5c377bd977bc https://git.kernel.org/stable/c/1ac6cd87d8ddd36c43620f82c4d65b058f725f0f https://git.kernel.org/stable/c/16721797dcef2c7c030ffe73a07f39a65f9323c3 https://git.kernel.org/stable/c/a0d21bb3279476c777434c40d969ea88ca64f9aa