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 78D1414264C for ; Tue, 21 May 2024 14:39:32 +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=1716302372; cv=none; b=S0BPoDnLBb+SLS/PpB+VNCZd9uFiQM0sRSxmo2zzIq8VpNVqJtWVVTSZd4ncdFdvZLdYZ5jJyQb/AE5GjVUMKBjpu7XhePtQLNuk+npL94gymOf6f+7TRviIL06DG86oSndasT7KUxEa1CtbkWy/cK+ynh2ZmEjb0AiZyp56pEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716302372; c=relaxed/simple; bh=Cdl66oNuPmjbggEmcKSRnsccHimZw3cYzDXUl52wNDk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=klU947vZTbOmIA+54Yb/NX9Sy+dTDp4hv91bQGaZbH9wCdZ8IRNxYbkp81uyyjDzJxYZ27fLL4Pnx28SuBelV0A7DS4lKMDEKJIUVCEgojk/ydSWGhFK2ioTaN5UM3CZfp4MR59mjpnN4YJejYJKUVnIGuAoAYdtvYLH2+NofsQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Hj3+5s60; 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="Hj3+5s60" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0250EC2BD11; Tue, 21 May 2024 14:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716302372; bh=Cdl66oNuPmjbggEmcKSRnsccHimZw3cYzDXUl52wNDk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Hj3+5s60DgL5bxMVbtbFYlQRb6uKVOApR7N739r1Ct+yR4xQhpyIYCMbL0CGuuJ0S +/N8suy0XOTpb8Jan6JZufUVwEp7AEcF5tNtI2ASe+9OmySE4XohpNgWuCrXw+kebn Ix8QWKOMdhERfokplXndUEwL67Yz1u15Tk9e2s8g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47332: ALSA: usx2y: Don't call free_pages_exact() with NULL address Date: Tue, 21 May 2024 16:36:06 +0200 Message-ID: <2024052135-CVE-2021-47332-33c9@gregkh> X-Mailer: git-send-email 2.45.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=2042; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Cdl66oNuPmjbggEmcKSRnsccHimZw3cYzDXUl52wNDk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+G82zdcTDv+zrTjIUf76ylzfuhsTCpi6N6beN03kWa 5wO3f2qI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCGcUwz8zr+KdLXyL1rxjb PO+cEc9nE+7AzzA/68olDoHGTe4ihf0CAq+iWJ45f78AAA== 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: usx2y: Don't call free_pages_exact() with NULL address Unlike some other functions, we can't pass NULL pointer to free_pages_exact(). Add a proper NULL check for avoiding possible Oops. The Linux kernel CVE team has assigned CVE-2021-47332 to this issue. Affected and fixed versions =========================== Fixed in 5.4.134 with commit 88262229b778 Fixed in 5.10.52 with commit 7d7f30cf182e Fixed in 5.12.19 with commit bee295f5e035 Fixed in 5.13.4 with commit 82e5ee742fdd Fixed in 5.14 with commit cae0cf651adc 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-47332 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/usx2y/usb_stream.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/88262229b778f4f7a896da828d966f94dcb35d19 https://git.kernel.org/stable/c/7d7f30cf182e55023fa8fde4c084b2d37c6be69d https://git.kernel.org/stable/c/bee295f5e03510252d18b25cc1d26230256eb87a https://git.kernel.org/stable/c/82e5ee742fdd8874fe996181b87fafe1eb5f1196 https://git.kernel.org/stable/c/cae0cf651adccee2c3f376e78f30fbd788d0829f