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 C7BB915EFA1 for ; Tue, 18 Jun 2024 19:23:59 +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=1718738639; cv=none; b=AxXMadu83CGhCXokRKMdDJ5OOKLRRmXLvlRD12knVsD67g6WwLErMQurikOpWoLCZtWHEsKSKzVArPP6DRrjo3y4IMQkgBOQbe0oLepuYlv4k0k/oUAd0mB6Im5lGOtod/4T7NJPj/oMrXXyjsLly31NW43PSLMrAFvnIm0pvbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718738639; c=relaxed/simple; bh=yLJTb37LCJCn+4FZuEOUvhyHkmxrlK7Lb1/YeKcMtbU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j7ciUP7epCJbuJ/Jk2Glj2j9mLCUEKn91M6iTySFiDDPxQfaG40pJltp8vRiwSEr51WOMjzGL0rXqNWmVYAWtCHs1bsyMiCf2UYOWsByzO7KHaHoPFKhgv1Sv3P38fnuVRh6NI7E/GwhdqdY8G9zkFbnTcwLfQ8W7VgjQYrHKAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=D6otddE2; 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="D6otddE2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32020C4AF1A; Tue, 18 Jun 2024 19:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718738639; bh=yLJTb37LCJCn+4FZuEOUvhyHkmxrlK7Lb1/YeKcMtbU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=D6otddE2zBtyfx/AKsjCJh+UQWDT2cXF9myjhC4+jYaF/Ot8xojjfyKbLauIgqOG2 QJy5XZHcDLlCiofo2LwoLKBo3JVwF4D+qJ6LiClVjZLqsvFLn+g+U3MUUXvevcu8Ei HzCROGS+ruq/wakD0bzcaDjbDAPJN7lSQe/hhEzw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36976: Revert "media: v4l2-ctrls: show all owned controls in log_status" Date: Tue, 18 Jun 2024 21:23:56 +0200 Message-ID: <2024061855-CVE-2024-36976-27e0@gregkh> X-Mailer: git-send-email 2.45.2 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=2375; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yLJTb37LCJCn+4FZuEOUvhyHkmxrlK7Lb1/YeKcMtbU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmF905nVDNpbc7/fXH7Y+2FRyZyH9Z6PO19qlf7VVGGO oWnOUbTOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiv5UYFizWE0w8/2bVMuXp bQfdnpnzCV5ZuIdhnrX3hpWnIluL5YrrGKJM5+7+feyyBgA= 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: Revert "media: v4l2-ctrls: show all owned controls in log_status" This reverts commit 9801b5b28c6929139d6fceeee8d739cc67bb2739. This patch introduced a potential deadlock scenario: [Wed May 8 10:02:06 2024] Possible unsafe locking scenario: [Wed May 8 10:02:06 2024] CPU0 CPU1 [Wed May 8 10:02:06 2024] ---- ---- [Wed May 8 10:02:06 2024] lock(vivid_ctrls:1620:(hdl_vid_cap)->_lock); [Wed May 8 10:02:06 2024] lock(vivid_ctrls:1608:(hdl_user_vid)->_lock); [Wed May 8 10:02:06 2024] lock(vivid_ctrls:1620:(hdl_vid_cap)->_lock); [Wed May 8 10:02:06 2024] lock(vivid_ctrls:1608:(hdl_user_vid)->_lock); For now just revert. The Linux kernel CVE team has assigned CVE-2024-36976 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 9801b5b28c69 and fixed in 6.9.2 with commit 2e0ce54a9c5c Issue introduced in 6.9 with commit 9801b5b28c69 and fixed in 6.10-rc1 with commit eba63df7eb1f 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-36976 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/v4l2-core/v4l2-ctrls-core.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/2e0ce54a9c5c7013b1257be044d99cbe7305e9f1 https://git.kernel.org/stable/c/eba63df7eb1f95df6bfb67722a35372b6994928d