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 6EAE220D516 for ; Thu, 6 Mar 2025 15:55:21 +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=1741276522; cv=none; b=nPTBQ+ZWcpBqqIgU0+xqlhfsl0qZoYUPiyx8HLI05AXB1I3O9VCt+vQY51NTg89O64Dve1jnn8K56h8D0ZhyhD1m1YQ+zkQYAMywMUwV2LkxAxoKUhZrtt+xV/Yre1tz6aP6VeZItkGnpe0EbED5kMDqAjIu+BbB2fI3ylj5wWI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741276522; c=relaxed/simple; bh=IU528jhHvcmNwa6sHr7Kw7+YHwfqSfyKVtGYR7ZAlaU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ds9Z7xLnfGYn2M2DxbFVNO4JrYIjeS3Y+OEnUQ+hNwkB3SXUPmXhu1LyUvfiNFWnW2+jPwn/8Xrc1Slpolz4eMmJ1CzRzUNnnmCsrJsUhOKB/gBO36fVsLy1UROPytLzY30HPRcXH8TB6pM7v3DHvxTXT52oGRef0Is3+SZXw0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c1sIuWI0; 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="c1sIuWI0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EB7CC4CEE0; Thu, 6 Mar 2025 15:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741276521; bh=IU528jhHvcmNwa6sHr7Kw7+YHwfqSfyKVtGYR7ZAlaU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=c1sIuWI062vsOe06LzgNxAhvMpjfrDnoF08m6dZUqS5Hz6Mv3YHG7wlGfKLU4PC9o RoZHDctmvAmFTbz2vHFQVXAugUehByEz6odEZ/qVYqJve6FObNvnJfBapMH5DcBBnR rBZzf8UTqEskIZW3abz57oIMMn9dR793QnHZ2tDM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58059: media: uvcvideo: Fix deadlock during uvc_probe Date: Thu, 6 Mar 2025 16:54:12 +0100 Message-ID: <2025030608-CVE-2024-58059-4753@gregkh> X-Mailer: git-send-email 2.48.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=1955; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IU528jhHvcmNwa6sHr7Kw7+YHwfqSfyKVtGYR7ZAlaU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknjypcvPvu6kYerr+c3Y+bjdp/7FLe3bOAw8CzduPhn /ZGO3rDO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiHfcZFuzQkNAoZyq6vPpr k/wu9RcSnM8ezGJYcHLJo73iUhV7V956utJIie/ZElbL+QA= 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: media: uvcvideo: Fix deadlock during uvc_probe If uvc_probe() fails, it can end up calling uvc_status_unregister() before uvc_status_init() is called. Fix this by checking if dev->status is NULL or not in uvc_status_unregister(). The Linux kernel CVE team has assigned CVE-2024-58059 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit c5fe3ed618f995b4a903e574bf2e993cdebeefca and fixed in 6.13.2 with commit db577ededf3a18b39567fc1a6209f12a0c4a3c52 Issue introduced in 6.13 with commit c5fe3ed618f995b4a903e574bf2e993cdebeefca and fixed in 6.14-rc1 with commit a67f75c2b5ecf534eab416ce16c11fe780c4f8f6 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-58059 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: drivers/media/usb/uvc/uvc_status.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/db577ededf3a18b39567fc1a6209f12a0c4a3c52 https://git.kernel.org/stable/c/a67f75c2b5ecf534eab416ce16c11fe780c4f8f6