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 3FF85653 for ; Sat, 17 Aug 2024 08:54:48 +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=1723884889; cv=none; b=Un7zBwR7Jl9d2K8LlRiO2z+NlR7bbAWvUFF6gwtir7AIi4A2ngdnKNfbW1apnlnHlRwGuBfzkPoe6jSng52PphYY19z4AJwFvNSME+FTyB2IhXmOPoerypdyKOgPbheuJ6R6RaBMtPi4SDWCHXdn7u+0wQM4+8Cp7Nnz35uxMd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723884889; c=relaxed/simple; bh=we/AFoOKMicyNMPvOZdbsdqoitz1sA/MJqxU5ZNW8c4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TFZ1cnUX35xKyp9gGmC/U1gu/LhooRf8RuopPVKRIXhtivKvzpJblTYhAjQk307qpO6CrzKbF1vcOebOHEEQWX0wHh06f+SdtPV1STabww/LsliII/o0NBCgNToJbbZ6CMegmv5USGOxNPVPb2Qsl78AJQymEtjQt/HeWA/g4dU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NEDohE7Q; 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="NEDohE7Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FD23C116B1; Sat, 17 Aug 2024 08:54:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723884888; bh=we/AFoOKMicyNMPvOZdbsdqoitz1sA/MJqxU5ZNW8c4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NEDohE7QSjEo7M80/pkBekZ78GY4YbDQ44cmJqtc96w1G6x0GsYJLd/3kVbjqvj7U TLj2YD8LXSmXkq+Zura8lwRCsIwXR21npxyyECtrRNyuKB9asG5u7+gktu33vRlHeX uxA3hd82n1sWUYsEM+Hn/xIIseq4GnlharQ/4HbU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42260: drm/v3d: Validate passed in drm syncobj handles in the performance extension Date: Sat, 17 Aug 2024 10:54:34 +0200 Message-ID: <2024081734-CVE-2024-42260-0ce0@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=2010; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=we/AFoOKMicyNMPvOZdbsdqoitz1sA/MJqxU5ZNW8c4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHUr32hLdqRfV2f9KqXjKzmCPLKn9TK3/xJVb/5Qx24 sslVSZ1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwER8DBjmGb9YwD7V60HTuxs9 r/YFlmkZ97odZViwKFvbnfl1Jv/jzvwZFUbpSyrzVn4DAA== 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 performance 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 a546b7e4d73c23838d7e4d2c92882b3ca902d213) The Linux kernel CVE team has assigned CVE-2024-42260 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit bae7cb5d6800 and fixed in 6.10.4 with commit 5d4aa25f47cd Issue introduced in 6.8 with commit bae7cb5d6800 and fixed in 6.11-rc2 with commit 4ecc24a84d7e 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-42260 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/5d4aa25f47cd05e9eeac272906588728588605dd https://git.kernel.org/stable/c/4ecc24a84d7e0254efd150ec23e0b89638386516