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 10CA712D76F for ; Wed, 1 May 2024 13:07:46 +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=1714568867; cv=none; b=gVZz5HCntO/oscmD6PT/QYi37AYNSIAo12XRtXX1TNYFr4O4f7BLUZ9PHJWzj2mRkZInoBrTuotjVVMBralUF9Kh/j1/XCs/Pql0i1/cOEoK22rerF1gtLHO1RmZav6bE+TPRLxwFGrUuXJsUn5YElWs4nK6vtCQrU5rRj1nRqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568867; c=relaxed/simple; bh=KbZp9d/PePB8qtlBtGDiCM8CL2HS+d+rWmilF700IVI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=imYqSj9+A4m6novoSF8gFmjdbjgZbF2b3BZDmrO8j+HkUz+yWH4W+gFxxPJzpQpKH759DcIh1l8K8/aGtJWU7yBXBrEDw8XGREPsgnePIN4oe8js/nxK3DA130TXalp67u/V/dWvEaF1n6MhsOW/8Equgs63BbrfMjCHl9aJup0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0CP560Nt; 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="0CP560Nt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BA4DC113CC; Wed, 1 May 2024 13:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568866; bh=KbZp9d/PePB8qtlBtGDiCM8CL2HS+d+rWmilF700IVI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0CP560NtGSpYKiSBcprBLQmoyTLPrF02fXdf2yIUKNhg0+can5/quIKQPeng9WbDV FdrI44b214sjN6uHrHuuz5YG5nUY3EnkR36e/zjLni3k4pBZlXCfsgqZwzI4sF3iV4 2u64fZGBFm93O11xEcT7fNCQLTWhIxrOn6aHMx8I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27072: media: usbtv: Remove useless locks in usbtv_video_free() Date: Wed, 1 May 2024 15:06:43 +0200 Message-ID: <2024050133-CVE-2024-27072-301d@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=2143; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KbZp9d/PePB8qtlBtGDiCM8CL2HS+d+rWmilF700IVI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGdpG7jB5/f+N0wUWjzfiuxiO1nBs7Vt4+bLDAyIv9r dIsZ5+FHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR2REMC7oUOasP84ROXOzA qasY3bN149EF9xgW7NeccuRFl9q6mfN40prD2VgKMv+uBQA= 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: usbtv: Remove useless locks in usbtv_video_free() Remove locks calls in usbtv_video_free() because are useless and may led to a deadlock as reported here: https://syzkaller.appspot.com/x/bisect.txt?x=166dc872180000 Also remove usbtv_stop() call since it will be called when unregistering the device. Before 'c838530d230b' this issue would only be noticed if you disconnect while streaming and now it is noticeable even when disconnecting while not streaming. [hverkuil: fix minor spelling mistake in log message] The Linux kernel CVE team has assigned CVE-2024-27072 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit f3d27f34fdd7 and fixed in 6.8.2 with commit 3e7d82ebb86e Issue introduced in 3.11 with commit f3d27f34fdd7 and fixed in 6.9-rc1 with commit 65e6a2773d65 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-27072 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/usbtv/usbtv-video.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/3e7d82ebb86e94643bdb30b0b5b077ed27dce1c2 https://git.kernel.org/stable/c/65e6a2773d655172143cc0b927cdc89549842895