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 9B75048B38D for ; Wed, 1 Jul 2026 13:35:09 +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=1782912911; cv=none; b=fOMN7EqBnE138IsmTrnaHM3wkcpdcsDQgXJsJLVA97TCPyFqOYj6HyxH/uZv30q9+LTFvc5ZbtEbGnMzYpaoKtu/pjHkfT0SJ5ldLb4eredMHUdBIA2wdTDrLjA6jqKiHMDIkULkJ78MQkcopU61R16ypAVo/HaZ+APswBDXFMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912911; c=relaxed/simple; bh=vPItwcDz+KOTKKzSy8ycLDvkqy0K85Hr6/A4tTkIuc8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U9R3JaaVMN2chrEAqp10c1AFrQUoJJSxtRcj0Sc/z+E4RrykdJYaLAelWhcuiAV83/zqDERU+KwkE7GD/ZMpMGveFQyhuhuITkrJUh8ug9n6E+2QbXoy9uHJjp5YhMOMdpOhX3Y9VBdm0tPHRG9zpc+SMEfpBQJz84qwwnY0nZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R34jcQ48; 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="R34jcQ48" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AA441F000E9; Wed, 1 Jul 2026 13:35:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782912909; bh=Of+Ylvz4WPxZ2QSe7angNj+D1+AgvKzbwIoFqZhBX7k=; h=From:To:Cc:Subject:Date:Reply-To; b=R34jcQ480JifJGH8G+jsHE71LoOYMkPRCUx0snxUJToZdDx8Ex2WW82z9AzdCN4PN zAMjGARFL5jmikSKcDNNKBYSzCMlnLNTFT3LzZpzt3yPMV16+WA39EToFd2u0+3QKX EwL35vySy/skJ7CHuwuo/BbKHYpmqzwUaL8Y2bEQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53328: sched_ext: Don't warn on NULL cgrp_moving_from in scx_cgroup_move_task() Date: Wed, 1 Jul 2026 15:34:43 +0200 Message-ID: <2026070142-CVE-2026-53328-d155@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=3697; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+bJ0JphfFy2l7Kb83GfwwB1TRmMr7wOXtDrzvIbXamM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmu4kVLnL5OZ32jeVHN/DzfEylxnnL+mnbXu/VFwnFHF peaxBl0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwER+rWCYX5PYo1C9J2Ti7IOG HZOUk/QelqruZ1gwL35Lme4/d79jIo+TVuZn7c9lsbIEAA== 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: Don't warn on NULL cgrp_moving_from in scx_cgroup_move_task() A WARN fires when systemd's user manager writes "+cpu +memory +pids" to its own subtree_control while a sched_ext scheduler is loaded: WARNING: at kernel/sched/ext.c:3227 scx_cgroup_move_task+0xa8/0xb0 scx_cgroup_move_task+0xa8/0xb0 sched_move_task+0x134/0x290 cpu_cgroup_attach+0x39/0x70 cgroup_migrate_execute+0x37d/0x450 cgroup_update_dfl_csses+0x1e3/0x270 cgroup_subtree_control_write+0x3e7/0x440 scx_cgroup_can_attach() arms cgrp_moving_from only when a task's cpu cgroup changes. It can still be NULL when scx_cgroup_move_task() runs, through this sequence: Step Result --------------------------------- ---------------------------------- 1. cpu enabled on cgroup G cpu css = A 2. cpu toggled off then on for G A killed, B created (same cgroup) 3. an exiting task keeps A alive migration skips it, A now stale 4. +memory migrates G stale A vs current B pulls cpu in 5. cpu attach runs for all tasks hits a live, cpu-unchanged task 6. scx_cgroup_move_task() on it cgrp_moving_from NULL -> WARN The mismatch is that scx_cgroup_can_attach() keys on cgroup identity while migration drives the move on css identity, so a NULL cgrp_moving_from here is a legitimate css-only migration, not a missing prep. The call is already gated on cgrp_moving_from, so just drop the warning. ops.cgroup_prep_move() and ops.cgroup_move() stay paired. The Linux kernel CVE team has assigned CVE-2026-53328 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 8195136669661fdfe54e9a8923c33b31c92fc1da and fixed in 6.12.94 with commit cdff2eb97be147d2ce52ac1327841068781f25dc Issue introduced in 6.12 with commit 8195136669661fdfe54e9a8923c33b31c92fc1da and fixed in 6.18.36 with commit 0ffcad63b19a1cadb475c9f405a93607fdcd0d7c Issue introduced in 6.12 with commit 8195136669661fdfe54e9a8923c33b31c92fc1da and fixed in 7.0.13 with commit bc75f5951fac4e49d175c4433fc08fb1ec01172f Issue introduced in 6.12 with commit 8195136669661fdfe54e9a8923c33b31c92fc1da and fixed in 7.1 with commit 02e545c4297a26dbbc41df81b831e7f605bcd306 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-53328 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/cdff2eb97be147d2ce52ac1327841068781f25dc https://git.kernel.org/stable/c/0ffcad63b19a1cadb475c9f405a93607fdcd0d7c https://git.kernel.org/stable/c/bc75f5951fac4e49d175c4433fc08fb1ec01172f https://git.kernel.org/stable/c/02e545c4297a26dbbc41df81b831e7f605bcd306