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 7A78B32143D for ; Fri, 24 Jul 2026 15:24:00 +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=1784906642; cv=none; b=Iu+hYMi1a9bWn0KmgwSzFeUI0DQXGLnanZ6RsWa1QdfXq45TAwrSHrVSTIT4JxvRI8cqZom3yE/7kl6eaAXPsrN/7uOTHqEbgZZ7upxYFawCcZfXx2QLh5zCsckuCiluyilirFQI2Dg7Ho9EAUT9WvmIjCtGQuBAfX58s012pQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784906642; c=relaxed/simple; bh=r0w00yK2Kf5TUmm8LgDSP3lus746ejXdyFD4yMWi4SQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ORcChhw9z5ZPJbTjfaoGm+v1kPFNMgIQDbRS/L4psG3RSpimPFagDbGZqZ5KVy7ewWf7/qMEJBMk/A6mmXpbNqq+JBXAVLhFvq39i7NIDbJNdXULbBkVBY7gwUp4PfEk3RioGpOcCjxCgvFwxFagHabVyj3LAdsNZ3a/euQBhwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nZP8+EYR; 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="nZP8+EYR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A42501F000E9; Fri, 24 Jul 2026 15:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784906640; bh=DgKAFS0UiBzARl5W+QTEZWesVtKYN2b6pF4aS1C/rxE=; h=From:To:Cc:Subject:Date:Reply-To; b=nZP8+EYRQkL6xGVX9qC0V1ex9kQQ+jx6akivXEgPrR9UvbDAHYqdQgySs302g4VvF 9rKiVgSHQvCSvEIbMfoOWwrlK4C1Wnei5tGlhyqu7KmINy0LKk/F4VJ1QHEzBFuNfV CMm63T4u89+HEp9423NcFBrKZm0h4V+zeWm4ZAGY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64226: sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path Date: Fri, 24 Jul 2026 17:23:29 +0200 Message-ID: <2026072417-CVE-2026-64226-590d@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=2487; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=x36I3aoElPYeLmw2uOcMghx6zpgfEl96OR88DDNF6xk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnJzWldnYZMay//a+ea11yfl6S/dA7jeRcV02k3K0uy8 zfMu/2sI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyYBbDgiOi639Orv2bctFI 4SXv1tP8S208rzAsmJz1IjdwxZt17ZPWKM7c8PzR51+rlwIA 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: sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path In scx_root_enable_workfn(), put_task_struct(p) is called before scx_error() dereferences p->comm and p->pid. If the iterator's reference is the last drop, the task is freed synchronously and the deref becomes a UAF. Move put_task_struct() past scx_error(). The Linux kernel CVE team has assigned CVE-2026-64226 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 6.12.92 with commit cf396941901858b0de426cdcd3974eea6a02c98c Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 6.18.34 with commit 45c7c4e3db8b700307313c035ea08be829a7f21b Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 7.0.11 with commit 57e19ba3f58a67eb924022a5a60b67fd08e5cbbd Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 7.1 with commit 9a415cc53711f2238e0f0ca8a6bcc796c003b127 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-64226 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: kernel/sched/ext.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/cf396941901858b0de426cdcd3974eea6a02c98c https://git.kernel.org/stable/c/45c7c4e3db8b700307313c035ea08be829a7f21b https://git.kernel.org/stable/c/57e19ba3f58a67eb924022a5a60b67fd08e5cbbd https://git.kernel.org/stable/c/9a415cc53711f2238e0f0ca8a6bcc796c003b127