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 342DA31D380 for ; Wed, 24 Dec 2025 12:10:39 +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=1766578239; cv=none; b=UnYgZLr4W1qn9qRn0vbf+yfi+ok0aPcq03+BW33WPYoW/wDZ2NiauefuWVIIApW5Yi9LlEaNiYJuloiF59wrmAlpJQ29Ly/iAFplnigLcl8uKZcCh258NlcsKmIhCId2pvef6EsaIlZbAsWi6/cwhxHK5SRDL9L9SJ2BXlVMT4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766578239; c=relaxed/simple; bh=WjQO4Nh7vAqmB0UVC7X5+butYRciz3hl4+C/0KNwxpg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d6/Pzvpr8h6XBH2WCDpGWAfN26cn5qrTM/lIYjog7scWDWbd5rXBePRqR9xPslJIvPn2iTnZzG3Uf5QfntG+3g5EKhRfuk+F4Wija4jbyDW34Lga2AdCejk3rcU6qdkjr67xpxtRUqhU2nujH52aL/mRyCIM49Jq0fMsKI+8HB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TXGaT/nO; 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="TXGaT/nO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0C37C4CEFB; Wed, 24 Dec 2025 12:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766578239; bh=WjQO4Nh7vAqmB0UVC7X5+butYRciz3hl4+C/0KNwxpg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=TXGaT/nOIAru008V9XmG+YIR8o3kGRNrXs/aqXsSOqcQpJzCbA9VOB7OQtp6O77WK If+pwUOvYyfXADTvxQHTEaA7OEdFDZM/aNLkiUUx6ac7xVtFq3LLjo/29sqokA3few flQtCe3ncUhBR22IjFTtr381mFoOB1keBxWlM4eI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68748: drm/panthor: Fix UAF race between device unplug and FW event processing Date: Wed, 24 Dec 2025 13:10:24 +0100 Message-ID: <2025122417-CVE-2025-68748-45cb@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=2609; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fXVEbEGRegFyGo+Sx9l7LIxDRMmpBPcEtZ0W1bBN3Wg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneNzQnJV4OTdye/qnGYStrCG9y9L2i+LzJmf8Xfnj5x anTYI1nRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEfhrDgnVG932stj5zMXzx tWV+8Jl1Mk/4njMsWBjp0pz2pyJ2+oVa1+lsOzRPcE/iAgA= 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 race between device unplug and FW event processing The function panthor_fw_unplug() will free the FW memory sections. The problem is that there could still be pending FW events which are yet not handled at this point. process_fw_events_work() can in this case try to access said freed memory. Simply call disable_work_sync() to both drain and prevent future invocation of process_fw_events_work(). The Linux kernel CVE team has assigned CVE-2025-68748 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.12.63 with commit 31db188355a49337e3e8ec98b99377e482eab22c Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.17.13 with commit 5e3ff56d4cb591daea70786d07dc21d06dc34108 Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.18.2 with commit 6c1da9ae2c123a9ffda5375e64cc81f9ed3cc04a Issue introduced in 6.10 with commit de85488138247d034eb3241840424a54d660926b and fixed in 6.19-rc1 with commit 7051f6ba968fa69918d72cc26de4d6cf7ea05b90 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-68748 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/31db188355a49337e3e8ec98b99377e482eab22c https://git.kernel.org/stable/c/5e3ff56d4cb591daea70786d07dc21d06dc34108 https://git.kernel.org/stable/c/6c1da9ae2c123a9ffda5375e64cc81f9ed3cc04a https://git.kernel.org/stable/c/7051f6ba968fa69918d72cc26de4d6cf7ea05b90