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 B018F653 for ; Sat, 17 Aug 2024 08:54:45 +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=1723884885; cv=none; b=pnnM12Q02ZvuvRg3p35OOamZN8AoLSmV9X9zaJpxN69W1sLV1aTrRKpcyFii8aM+TnZaljyDeaAPS9i8B03LT74qHTP7Kr788nbdHIx0GY68wrqtCIVubZ9pQqeJKJj+ImpW7IxOF2ITbQwTvjEIcCyUDGu49NqbuBEQbLf3ra8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723884885; c=relaxed/simple; bh=wdvTJs9ITvDmbsLHX0ymlutBm9HY5wUOw7ovEQc7q7I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jSD5qcghbyaA60IBy8ZUd7w5bjLIHtkT3o60V8+gC5QAYerJdAbOo6mtanZCVOw1WYNLz9BN7HLqSL62qn6HyYrniIuqM8Q+sAFzfa2OeJHza9C9y0TUiDIaZy6a+OBnaZboKJj0zrAveaSkOMDErZ8ZIidY5EHRAXa8iB46New= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pRaBc0I6; 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="pRaBc0I6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE61CC116B1; Sat, 17 Aug 2024 08:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723884885; bh=wdvTJs9ITvDmbsLHX0ymlutBm9HY5wUOw7ovEQc7q7I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=pRaBc0I6JsyajpjXd0HbzWJpRYmDdswKSzXLMrvGGka0nGZKRHkMxsI2apUwVkySe ansIuvZKrldHPcELCFtY63KJwxcyNoNHkCBqSLbxjf23pycNi0VRHeG/F/0v9tMRhN Jh/qeZrR4UMjJfZkrXhbjgeYnocba2gNQ9vwfxn4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42261: drm/v3d: Validate passed in drm syncobj handles in the timestamp extension Date: Sat, 17 Aug 2024 10:54:35 +0200 Message-ID: <2024081736-CVE-2024-42261-f6a2@gregkh> X-Mailer: git-send-email 2.46.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=2008; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wdvTJs9ITvDmbsLHX0ymlutBm9HY5wUOw7ovEQc7q7I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHUn3uZflwG7ndvR6y9Ozmth2bdqX0zD2p/mrTz6mBx n2rOgTTO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAih3cyzNP384ydsmlbeovP 00W339cc16toTmRY0CzUyVTlIbU3aMHNzyIrj5zwupk0HQA= 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: drm/v3d: Validate passed in drm syncobj handles in the timestamp extension If userspace provides an unknown or invalid handle anywhere in the handle array the rest of the driver will not handle that well. Fix it by checking handle was looked up successfully or otherwise fail the extension by jumping into the existing unwind. (cherry picked from commit 8d1276d1b8f738c3afe1457d4dff5cc66fc848a3) The Linux kernel CVE team has assigned CVE-2024-42261 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 9ba0ff3e083f and fixed in 6.10.4 with commit 5c56f104edd0 Issue introduced in 6.8 with commit 9ba0ff3e083f and fixed in 6.11-rc2 with commit 023d22e8bb0c 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-42261 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/gpu/drm/v3d/v3d_submit.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/5c56f104edd02a537e9327dc543574e55713e1d7 https://git.kernel.org/stable/c/023d22e8bb0cdd6900382ad1ed06df3b6c2ea791