{"id":"CVE-2026-53328","published":"2026-07-01T13:32:14Z","modified":"2026-07-01T13:32:14Z","title":"sched_ext: Don't warn on NULL cgrp_moving_from in scx_cgroup_move_task()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Don't warn on NULL cgrp_moving_from in scx_cgroup_move_task()\n\nA WARN fires when systemd's user manager writes \"+cpu +memory +pids\" to\nits own subtree_control while a sched_ext scheduler is loaded:\n\n  WARNING: at kernel/sched/ext.c:3227 scx_cgroup_move_task+0xa8/0xb0\n   scx_cgroup_move_task+0xa8/0xb0\n   sched_move_task+0x134/0x290\n   cpu_cgroup_attach+0x39/0x70\n   cgroup_migrate_execute+0x37d/0x450\n   cgroup_update_dfl_csses+0x1e3/0x270\n   cgroup_subtree_control_write+0x3e7/0x440\n\nscx_cgroup_can_attach() arms cgrp_moving_from only when a task's cpu\ncgroup changes. It can still be NULL when scx_cgroup_move_task() runs,\nthrough this sequence:\n\n  Step                               Result\n  ---------------------------------  ----------------------------------\n  1. cpu enabled on cgroup G         cpu css = A\n  2. cpu toggled off then on for G   A killed, B created (same cgroup)\n  3. an exiting task keeps A alive   migration skips it, A now stale\n  4. +memory migrates G              stale A vs current B pulls cpu in\n  5. cpu attach runs for all tasks   hits a live, cpu-unchanged task\n  6. scx_cgroup_move_task() on it    cgrp_moving_from NULL -> WARN\n\nThe mismatch is that scx_cgroup_can_attach() keys on cgroup identity\nwhile migration drives the move on css identity, so a NULL cgrp_moving_from\nhere is a legitimate css-only migration, not a missing prep.\n\nThe call is already gated on cgrp_moving_from, so just drop the warning.\nops.cgroup_prep_move() and ops.cgroup_move() stay paired.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00162,"percentile":0.05309,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cdff2eb97be147d2ce52ac1327841068781f25dc","tags":[]},{"url":"https://git.kernel.org/stable/c/0ffcad63b19a1cadb475c9f405a93607fdcd0d7c","tags":[]},{"url":"https://git.kernel.org/stable/c/bc75f5951fac4e49d175c4433fc08fb1ec01172f","tags":[]},{"url":"https://git.kernel.org/stable/c/02e545c4297a26dbbc41df81b831e7f605bcd306","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.06}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8195136669661fdfe54e9a8923c33b31c92fc1da, < cdff2eb97be147d2ce52ac1327841068781f25dc",">= 8195136669661fdfe54e9a8923c33b31c92fc1da, < 0ffcad63b19a1cadb475c9f405a93607fdcd0d7c",">= 8195136669661fdfe54e9a8923c33b31c92fc1da, < bc75f5951fac4e49d175c4433fc08fb1ec01172f",">= 8195136669661fdfe54e9a8923c33b31c92fc1da, < 02e545c4297a26dbbc41df81b831e7f605bcd306"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2026-40962","exploited":false,"provenance":"source"}}