From mboxrd@z Thu Jan 1 00:00:00 1970 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 3E9271F708F for ; Mon, 21 Oct 2024 18:07: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=1729534079; cv=none; b=nzMVnhNByYIFN28CnoxjMqsr5a90ALoIA7CM+7dLj/PYjJzB30F6KZ/P8mklWhm9AJaGd48uWngzCcXyuHIDaMcmNiIo2/m59NDjhpGs7udYkKs8JpW+H3NHzyjzGnImCIzTdmzDYh4952UjSDSsDiUI6awhfLyUtCVmaklzbRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534079; c=relaxed/simple; bh=Yt5nbYKjiLUxn3pTXaqwwAWUGEOhE9Y5YCsBczUniXM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rdzETJbnaARwehoibkm4zgwpijblr+6KEl/mRvvx9FqqQwCuXAerLXAQiwLA7gnMnMCjhwk1kiePkcFtZayKbUfhHOVhj8/1ArAhbK6xld1D1aO4GMy0AQd8pqRB3n8KVhafXKWQ1yeQJALsjlY6H7giYn81Pj8yQlir1FGSbW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZnuLmhEt; 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="ZnuLmhEt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F17BC4CEC7; Mon, 21 Oct 2024 18:07:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534078; bh=Yt5nbYKjiLUxn3pTXaqwwAWUGEOhE9Y5YCsBczUniXM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZnuLmhEtYXWEmrSCTJ43glAtYvq3o0NBg0le+iyCpC1/TccSgBU+03Jd69zPiV5C0 h73hv8fPMrCtO0r3ul36/YXMVB0b5eCCx6Uyak22K8IWtvIuRn6U1IPDZeRQ5C0Ep7 kKsceVTjTejCMlax5E71PdxAnNVHRCQLIZzFdif4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49984: drm/v3d: Prevent out of bounds access in performance query extensions Date: Mon, 21 Oct 2024 20:03:12 +0200 Message-ID: <2024102136-CVE-2024-49984-e47f@gregkh> X-Mailer: git-send-email 2.47.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=2190; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Yt5nbYKjiLUxn3pTXaqwwAWUGEOhE9Y5YCsBczUniXM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0xkKfk5df2KGVCKf1OddMYv8ew8tMZ5nrrGo4t62l vDrLzcJdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEmIsY5mkUlj1/4eLw4MuZ loncldMjmAR3XmKYwxMenhmgpXDR9weTeiBvp2HHFdXjAA== 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: Prevent out of bounds access in performance query extensions Check that the number of perfmons userspace is passing in the copy and reset extensions is not greater than the internal kernel storage where the ids will be copied into. The Linux kernel CVE team has assigned CVE-2024-49984 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit bae7cb5d6800 and fixed in 6.10.4 with commit 73ad583bd493 Issue introduced in 6.8 with commit bae7cb5d6800 and fixed in 6.10.14 with commit 3e50d72abe50 Issue introduced in 6.8 with commit bae7cb5d6800 and fixed in 6.11.3 with commit d9536f16be39 Issue introduced in 6.8 with commit bae7cb5d6800 and fixed in 6.12-rc1 with commit f32b5128d2c4 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-49984 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/73ad583bd4938bf37d2709fc36901eb6f22f2722 https://git.kernel.org/stable/c/3e50d72abe50204c7b19784a66e86da29dde32c2 https://git.kernel.org/stable/c/d9536f16be3970c170571efa707c13cd089c774e https://git.kernel.org/stable/c/f32b5128d2c440368b5bf3a7a356823e235caabb