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 0CEEB3F9C5 for ; Fri, 27 Dec 2024 13:56:38 +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=1735307798; cv=none; b=VSqKNycBV5p/1EDrc6Igx9Wxl4stNS6kjuqRXdlSDGNT98UAaGc80cx6XJJdUXvK2OSENMZnVvG0CAi4UiavpA6StMDBk173lE4jZRhmxY3/vQ50ffp3MIrEtLYSsJhZ30dwGhkeJ7QCi5f8Jv/2vKp743N6rebdbf4eMQ/ILl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735307798; c=relaxed/simple; bh=wKfvGU0nY6sbL0e7a2/FKxinRU/7zeIguZ9dzqhg9IY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=o5ce96hpdbnxAfqm3tgkKyR2aNVOnjPRuCle1TqNBLPODBTC//2p68hgKkdzH6iM8Jhb7kqzTHd9aUXWQ+TDp/4P/jRxmW46PZtJqMTNOLKwap0+3DgPdbqX163ATYGOTvMLseYqR1o3J1YguFHT8TFt0DBXKGja0aRpyQbO0dY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JPDBkR7Y; 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="JPDBkR7Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DF84C4CED0; Fri, 27 Dec 2024 13:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735307797; bh=wKfvGU0nY6sbL0e7a2/FKxinRU/7zeIguZ9dzqhg9IY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JPDBkR7YZJ8y5e80fPbDz7aTIps0fIo2haGxQJPsNH832oteelBYipHlULT+0WHhP DMWl1wfka0UWysXHakl1qr30KSnrxawQad6/Eou3kwt+JGJW/Ir1PJbIkCjFuHfC78 UToU7hFqF7sCy8kbBn3M515xZKitV84zbLA2n978= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53239: ALSA: 6fire: Release resources at card release Date: Fri, 27 Dec 2024 14:53:25 +0100 Message-ID: <2024122740-CVE-2024-53239-b661@gregkh> X-Mailer: git-send-email 2.47.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=3762; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wKfvGU0nY6sbL0e7a2/FKxinRU/7zeIguZ9dzqhg9IY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5GzVczlzWPCr/MPYQh2/h0mVLlzAYy5hP5iwqL+pap hSz6/7+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIhAjDgnMh6Vme5jOqT1xV W7S3qvauX42GO8P8+Anbzq9Yf/9FpSSnoY7QxeZFQg+OAwA= 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: 6fire: Release resources at card release The current 6fire code tries to release the resources right after the call of usb6fire_chip_abort(). But at this moment, the card object might be still in use (as we're calling snd_card_free_when_closed()). For avoid potential UAFs, move the release of resources to the card's private_free instead of the manual call of usb6fire_chip_destroy() at the USB disconnect callback. The Linux kernel CVE team has assigned CVE-2024-53239 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 4.19.325 with commit 74357d0b5cd3ef544752bc9f21cbeee4902fae6c Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 5.4.287 with commit 273eec23467dfbfbd0e4c10302579ba441fb1e13 Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 5.10.231 with commit f2d06d4e129e2508e356136f99bb20a332ff1a00 Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 5.15.174 with commit b889a7d68d7e76b8795b754a75c91a2d561d5e8c Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 6.1.120 with commit ea8cc56db659cf0ae57073e32a4735ead7bd7ee3 Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 6.6.64 with commit b754e831a94f82f2593af806741392903f359168 Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 6.11.11 with commit 0df7f4b5cc10f5adf98be0845372e9eef7bb5b09 Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 6.12.2 with commit 57860a80f03f9dc69a34a5c37b0941ad032a0a8c Issue introduced in 2.6.39 with commit c6d43ba816d1cf1d125bfbfc938f2a28a87facf9 and fixed in 6.13-rc1 with commit a0810c3d6dd2d29a9b92604d682eacd2902ce947 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-53239 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/6fire/chip.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/74357d0b5cd3ef544752bc9f21cbeee4902fae6c https://git.kernel.org/stable/c/273eec23467dfbfbd0e4c10302579ba441fb1e13 https://git.kernel.org/stable/c/f2d06d4e129e2508e356136f99bb20a332ff1a00 https://git.kernel.org/stable/c/b889a7d68d7e76b8795b754a75c91a2d561d5e8c https://git.kernel.org/stable/c/ea8cc56db659cf0ae57073e32a4735ead7bd7ee3 https://git.kernel.org/stable/c/b754e831a94f82f2593af806741392903f359168 https://git.kernel.org/stable/c/0df7f4b5cc10f5adf98be0845372e9eef7bb5b09 https://git.kernel.org/stable/c/57860a80f03f9dc69a34a5c37b0941ad032a0a8c https://git.kernel.org/stable/c/a0810c3d6dd2d29a9b92604d682eacd2902ce947