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 5CD623164BF for ; Wed, 24 Dec 2025 12:10:24 +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=1766578225; cv=none; b=tkDht0WA1Hb+aKHgOJIHm2P056fJrvH4qGJxIDSbTrOejRa/vdneIm011RnVkji9R1AhuTqLx+B0YB2TlxgOQWnfyH4TVlRjZYDEy6IsnTwU8PZRiS/ZBW4PkfEWlS36l8xM865C1AIVbl8dTG5WSe7IZOlJ/6J4Vrm3TuPtNj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766578225; c=relaxed/simple; bh=51IMcb7q1wQSa+36IMZX9sk3k1vc25g2FbV45SqPG/w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mJIlaPtWFWWA5winPMRB6dukVip3b3H2A+Qf8YCKRuWl/pSqSfZYzMoHeb0LIq9O4LX6O+AHBZTGs03rjbCeNRQQG4YbOdE89AbSAp4kn0X+Bc/J8LnE4sdfO7f7CBpPwQZ9p6JbTvRY9rvy1yGU7deRijV8jNHkp23FbiqzUhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q7/ylfn2; 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="Q7/ylfn2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77C4EC4CEFB; Wed, 24 Dec 2025 12:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766578224; bh=51IMcb7q1wQSa+36IMZX9sk3k1vc25g2FbV45SqPG/w=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Q7/ylfn25FvFTFeKYDD+enOl0nLZlhgN81d63nPWRe5uA/IK9Bxb7Rvnq7Ai2un+O pvxvrRehSFMBAU1oPmD5UGYcAac+xp+NOMKHJMSFZmzezVbeI4M/fBwtBAE1XKSy5+ A8Q23DSf/hZoIywLLj4ex+63iJ5xIrmy9gbRxe64= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68735: drm/panthor: Prevent potential UAF in group creation Date: Wed, 24 Dec 2025 13:10:11 +0100 Message-ID: <2025122410-CVE-2025-68735-dce5@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2720; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z6TtH7Em009/RpaKtBogO2NhJ9iSuiBHQZHPc+4EY5c=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneN5S3Ld6yv4552dvfjblTHiaHVSTvqphZalvJcXHVS XUTHR27jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYS7DghOTGdUrTvBEFv3f 8//NU/15q95khjHMFdbk1Vv2YIvgvMbPSbMfs0c47dvOAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Prevent potential UAF in group creation This commit prevents the possibility of a use after free issue in the GROUP_CREATE ioctl function, which arose as pointer to the group is accessed in that ioctl function after storing it in the Xarray. A malicious userspace can second guess the handle of a group and try to call GROUP_DESTROY ioctl from another thread around the same time as GROUP_CREATE ioctl. To prevent the use after free exploit, this commit uses a mark on an entry of group pool Xarray which is added just before returning from the GROUP_CREATE ioctl function. The mark is checked for all ioctls that specify the group handle and so userspace won't be abe to delete a group that isn't marked yet. v2: Add R-bs and fixes tags The Linux kernel CVE team has assigned CVE-2025-68735 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.17.13 with commit deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05 Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.18.2 with commit c646ebff3fa571e7ea974235286fb9ed3edc260c Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.19-rc1 with commit eec7e23d848d2194dd8791fcd0f4a54d4378eecd 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-2025-68735 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/panthor/panthor_sched.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/deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05 https://git.kernel.org/stable/c/c646ebff3fa571e7ea974235286fb9ed3edc260c https://git.kernel.org/stable/c/eec7e23d848d2194dd8791fcd0f4a54d4378eecd