From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 73CF13D349E for ; Mon, 10 Aug 2026 12:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363973; cv=none; b=VlipWyJjPDgFvauyrKuYGg0YD+ISG5sOQkdixnk4gR5FDKxBSRhZPVTGTW3g47GSFu/cp93xXDAytdftU/uDOFLLoiKSVEtwdum1ZBlwkgE6Syee8bDZs9kA92eTPuOzgqJTZgkOT7x4r3VXA39FftSRldZVf+FEkGVheRLZboc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363973; c=relaxed/simple; bh=G8O/FgKzu4ShzYQ8BzyaN/ma4OFRgYSLyLz42giZOYs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FgpYnPkmXptgqB/nZjIj5OcxJuxNYvpUj/rm5Zavq/6BlHGrPFx2241qVgeib9NMECcR6tuqNLtXRDXW2a9+mme7sn9BoupjuI8vzOA1d/Od/UETuHhC2umSRR3jrRPN0rkxXc6iMP/+9h8UvzsT9cUudYlq8BRxVJ/ab87s33Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wehH6m5E; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wehH6m5E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC6FA1F000E9; Mon, 10 Aug 2026 12:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363972; bh=+n/a95ImvbpWziUZlPriECm/nGmNvCHnj+/6lEADvmc=; h=From:To:Cc:Subject:Date:Reply-To; b=wehH6m5EpPx4s3z3rLDB/jsLNScfCwJQAN2xX+AY5QjYYpxTw0JvV0Prv+3pS/xxI YGS72V7pQ6/eqwJnQOyFg93RqCTyQtRbqhrIwugDTsU8uTqtAYreUqybGuRF7LAmMF I8LIk16G5TF14LpCHK+s8KeiN7FFEIUcHDFyCzq0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68380: accel/amdxdna: Fix use-after-free of mm_struct in job scheduler Date: Mon, 10 Aug 2026 14:01:37 +0200 Message-ID: <2026081044-CVE-2026-68380-abce@gregkh> X-Mailer: git-send-email 2.55.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=2438; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fW+CkWwVn5t6GZHdOOXtFTIIzyMCItH0d8G8eKlBTgo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe3Zw/iisLI+qeV+mr2lpfyN0VZTvSoY/869/ldMI/ ddWEizYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5+IdhrviW3Ze8FzidOGa9 Rt9y/bSra9ROPmGYX6Ey9aJW7jJBJiEnRu6L8/d8txVwAgA= 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: accel/amdxdna: Fix use-after-free of mm_struct in job scheduler amdxdna_cmd_submit() stores current->mm in job->mm without holding any reference. aie2_sched_job_run() later access job->mm from the DRM scheduler worker thread. With only a raw pointer and no structural reference, the mm_struct can be freed before the scheduler runs the job. Fix this by calling mmgrab() to hold a structural mm_count reference for the lifetime of the job, paired with mmdrop() in every cleanup path. The Linux kernel CVE team has assigned CVE-2026-68380 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 6.18.42 with commit 6875ee2bef48f5d9f045d81a8a4d68893f768a8a Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.1.6 with commit e8fadbffc19a233d1eedebfb8df0f522d1388280 Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.2-rc4 with commit faebb7ba1ac65fa5810b640df02ce04e509fdc11 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-2026-68380 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/accel/amdxdna/amdxdna_ctx.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/6875ee2bef48f5d9f045d81a8a4d68893f768a8a https://git.kernel.org/stable/c/e8fadbffc19a233d1eedebfb8df0f522d1388280 https://git.kernel.org/stable/c/faebb7ba1ac65fa5810b640df02ce04e509fdc11