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 5C8F7322B63 for ; Wed, 24 Dec 2025 12:10:35 +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=1766578236; cv=none; b=bsME9TaaquBC4utYN2A7Fn/e8PDLqe/cxuHmkX8/9T4TIrap8F4My8cZP1bG92vkpsvbwhCpqW4L0z5a/fkkEbjpbmKvuReaGFhiqR8SEUUpHCSBqwCm5gYxYkFQcg7HVXDyMoyd7oU5ZmLAnPvh8fTskDsGk3x6LMFE7WbNV/g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766578236; c=relaxed/simple; bh=/T0ei2BJfFdUJMJB5i4qZAPL63Mm8KpP2aNWCxbR//k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LaksPmCFhF3TlDmXFQEhtllZGFwViaHli2YEZp9GodIj9zJr11o1vNqoF4ksGawU6YnuGZ5CKnhT1vU7e59WkFRadr1yfsDQwbX+vzKGIdUbp8ozLLPGcOzTyAxr7yu4yJF2q9uBKZ7vw+PbsWhMmtiTUjSPvqY03IKv7ZHTweM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0kZYPn7Q; 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="0kZYPn7Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7933BC4CEFB; Wed, 24 Dec 2025 12:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766578235; bh=/T0ei2BJfFdUJMJB5i4qZAPL63Mm8KpP2aNWCxbR//k=; h=From:To:Cc:Subject:Date:Reply-To:From; b=0kZYPn7QjzeEJqp3JZ7CXzI6ZHr8N6oFhwbIgpYiXF+REKjlSgEszsXWx2oDBtVN3 Rab3dlBtZojBKFFyUExU3/8roYG8vQQc2a8e7p9B0y/9jChB3Fqv6pfCMGYYM38hHk 2xNiEGjSZd3Og4niSVC5BCRGJUeOHlx6e78yHocg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68747: drm/panthor: Fix UAF on kernel BO VA nodes Date: Wed, 24 Dec 2025 13:10:23 +0100 Message-ID: <2025122417-CVE-2025-68747-572e@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=2718; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6YfM7lDV6TpdPKCSTSGcnKwfN4DRMeeNPBSxKxhIEMM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneNzQVxE2e35aaFWTE9Dw4Pl59UcstXmWD/2FRHX//r Li4ToKnI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay6jnDginri/ZUnjio3Dl7 y77z92ZOU567IIthwUxfpw1/fzMr+XZ2BbTc7LVofNIyGwA= 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: Fix UAF on kernel BO VA nodes If the MMU is down, panthor_vm_unmap_range() might return an error. We expect the page table to be updated still, and if the MMU is blocked, the rest of the GPU should be blocked too, so no risk of accessing physical memory returned to the system (which the current code doesn't cover for anyway). Proceed with the rest of the cleanup instead of bailing out and leaving the va_node inserted in the drm_mm, which leads to UAF when other adjacent nodes are removed from the drm_mm tree. The Linux kernel CVE team has assigned CVE-2025-68747 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 8a1cc07578bf42d85f008316873d710ff684dd29 and fixed in 6.12.63 with commit 5a0060ddfc1fcfdb0f7b4fa1b7b3b0c436151391 Issue introduced in 6.10 with commit 8a1cc07578bf42d85f008316873d710ff684dd29 and fixed in 6.17.13 with commit 1123eadb843588b361c96f53a771202b7953154f Issue introduced in 6.10 with commit 8a1cc07578bf42d85f008316873d710ff684dd29 and fixed in 6.18.2 with commit 0612704b6f6ddf2ae223019c52148c5ac76cf70e Issue introduced in 6.10 with commit 8a1cc07578bf42d85f008316873d710ff684dd29 and fixed in 6.19-rc1 with commit 98dd5143447af0ee33551776d8b2560c35d0bc4a 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-68747 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_gem.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/5a0060ddfc1fcfdb0f7b4fa1b7b3b0c436151391 https://git.kernel.org/stable/c/1123eadb843588b361c96f53a771202b7953154f https://git.kernel.org/stable/c/0612704b6f6ddf2ae223019c52148c5ac76cf70e https://git.kernel.org/stable/c/98dd5143447af0ee33551776d8b2560c35d0bc4a