Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187474; b=JX0mDJoPK6hpmZe8Iy1jqcyAVITeftYWeQkKYea5b7LQqtTMsxqN94OTFd7+UeSGTPuI xhTz9Xg3+J9MUFW7+8Yh1hoiULxuOkt1+3zMgL6jlcgPGZ88cvMC0NWCzli9m8LQTmxWF ListxSWmyHAtxUYdTVnq6E4OtrbiVqlWChylzi0IahH5q+gTc8smuYDEgz292cl5ODNfN BzWceVphrxjhGp1i89A3O9KyHkxiQjxnWCqomp+nAD43vMZ/08zYYqfijK1W5ScXLctH6 uryS5ELHo0RDWMVf5cMhPGZ/7pkLuvASzTb9CVd1lpwCQ1HJ4hJ/axnUcxkWhMQ1GyQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187474; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=L/zzozIh+JKLF9BT/7qa5RqROQtxFVrCNKiN0KuQI9E=; b=JME4UAeg4K3lUd/RTClT1wmFakRkAz/jPu7BTc0tpC0UAPOEI4ulvxnDwPnC5jOVHe87 Vj7ZFhrRHY7QoZ6HT4fLHiQFqYMQrnkl6mRs3QMR1mGaY5jrEKv0Mg6LHPjrtU1oJ4x8q ls/xafLWjRg5caTVy5mibH+j8Z5KKERxl5d8f/LQOLJ4FRJmRHjChq7YhTyoGouehfA3o jUv0eE8vI+ymbQKCzTQkhBVcbT0ifbpJ5lhpqtnld2DSLxvdrplFc2PAcbCxzxQ68+15N ZfAgMxuD7Qo2eeEqId0kwDRxGvCx9XBtLBYWV3dPWDCStg5gWHfOJKvsYkiC1zUX4mg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=kLqbBIX9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A870C606A31A for ; Wed, 28 Oct 2026 11:37:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=kLqbBIX9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A06001F01828; Wed, 28 Oct 2026 11:37:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187473; bh=L/zzozIh+JKLF9BT/7qa5RqROQtxFVrCNKiN0KuQI9E=; h=From:To:Cc:Subject:Date:Reply-To; b=kLqbBIX9qxPWleJXGZZYdYHAcvgrbYZvPtVNjxoq45o7jF5GqV3EvpqKVFXdJoL7M SrrPwyqfatNOsPGNMrKBuAbZHIZrrpu6mmrhSG25FbPVE9kmxGbigRGN6LtVHYq8wj a/EOuQssqgx17xfTTU4zj66scZStSPAVunbTFir0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99105: sched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ Date: Wed, 28 Oct 2026 11:34:52 +0100 Message-ID: <2026102853-CVE-2026-99105-81cb@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3039; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Qv57d0c6yxj9Q6h1q1uJJW6/hc8/fBCVeq1ShmLT58o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz581fHfLb/Ht4PAdAgESHGXeD0OOyi649PjXpb/3T OY8ZTDh6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJxGUyzGLa8c6uzkBle+nB FvVm5z9qkawPghkWnHjqe3b2/ZDS2CfF3mukl/5vub0gCAA= 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: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ With SCX_OPS_ENQ_LAST, the last runnable task on a CPU is passed to ops.enqueue() instead of being kept running. Exiting tasks without SCX_OPS_ENQ_EXITING, migration disabled tasks without SCX_OPS_ENQ_MIGRATION_DISABLED and tasks on an offline rq skip ops.enqueue() and go straight to the local DSQ. This happens in put_prev_task_scx() after the pick has settled on idle, so nothing reschedules the CPU, which idles with the task queued until an unrelated wakeup lands on it or the watchdog fires. scx_mitosis, which sets SCX_OPS_ENQ_LAST without SCX_OPS_ENQ_EXITING, hit this during mass cgroup teardown: exiting tasks stuck in exit_mmap() for over 40 seconds. A task put on the local DSQ runs, as anywhere else. If the SCX_ENQ_LAST enqueue left the task on this CPU's local DSQ, set need_resched on the task being switched in, as proxy_resched_idle() does. resched_curr() would flag the task being put instead, and __schedule() clears that right after the pick. The Linux kernel CVE team has assigned CVE-2026-99105 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 6.18.59 with commit 8d891c218016b6145993e082e7f732cb69dd0e29 Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 7.2.13 with commit 396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59 Issue introduced in 6.12 with commit f0e1a0643a59bf1f922fa209cec86a170b784f3f and fixed in 7.3 with commit 7a9df76679633cf26e0fea882a684012c6ec245a 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-99105 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/ext.c kernel/sched/ext/internal.h 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/8d891c218016b6145993e082e7f732cb69dd0e29 https://git.kernel.org/stable/c/396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59 https://git.kernel.org/stable/c/7a9df76679633cf26e0fea882a684012c6ec245a