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 4FE023BED66 for ; Sun, 18 Oct 2026 15:19:12 +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=1792336753; cv=none; b=XgCG6V63g5ULVwMG9p6RHKh8ByHaF3bEvwMaC6S6rqXr2aXnDrBmOBSRJUnYByYoxBn+GIFkJXpvEXeEahLCmfzsdLePjvCEl1jRIuOCl11VaMY5r3lfkffysZjelkfm/GFDKWAbepcRGgS5IrMnemr4AVtgOQ7g3EUQGzxCQtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336753; c=relaxed/simple; bh=HlLycbvcJ1GpLDj39BI09oNFU1Tm09LdOM7l60a0n54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=enhkQD0DY4MEEVCXLde4pfJELktGp0IdWk734b0vwdqywdeM9UaG7oJzxpBxgmxf7pY/5P1EnVz6laYkPNfkJYV8FxiRZ5AkOlVCmPxrqFIDOA9qdJ9FgjKGGgMPeElm433phqKPzZpWazTPpb4qw97cB6hbbZyKLaF3glxuXGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qjlIrG6y; 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="qjlIrG6y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 805E71F000C4; Sun, 18 Oct 2026 15:19:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336752; bh=ga6fDfAUKiaym+MfxGKGH/oNnAyglz5YCKJ6lZmLRUs=; h=From:To:Cc:Subject:Date:Reply-To; b=qjlIrG6y+XLDavTmLyMo0UX01RglFOq3zOUsGwfwWNNq4lVVU+/F0Uzy+6WX9AcMo ttbtYCbyFG88eQ7cGS5A7ViiO9bERbSFh1+va4SKjUg+V1TuipC9R7Tv8evz1Idp7O 3BXCUkECzTtPJu/cmKeTudXfCpZoqPHPD8+PF1EM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98463: sched_ext: Derive SCX_RQ_IN_WAKEUP from the core enqueue flags Date: Sun, 18 Oct 2026 17:15:27 +0200 Message-ID: <2026101811-CVE-2026-98463-31a4@gregkh> X-Mailer: git-send-email 2.56.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=3149; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6QEIMzqMwuMiYCFbojuRCXIPcQxKra/TKCHVdwtzIJk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHtUfMXjzw/HYK4amI2In46YX9m+3UpqjlvRKnLH+E n/Fwf+zOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAid44yzE/zZ/90k+Pac37p +JeG+g+tyyfMbmGYzbZk7o09RZOF9x05xh8r/O0L18K0dAA= 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: Derive SCX_RQ_IN_WAKEUP from the core enqueue flags schedule_deferred_locked() skips scheduling a deferred action while SCX_RQ_IN_WAKEUP is set and relies on the task_woken_scx() call that follows a wakeup enqueue to run it. enqueue_task_scx() sets the flag from the merged enqueue flags, which include the flags stashed for a remote activation. move_remote_task_to_local_dsq() thus sets SCX_RQ_IN_WAKEUP on the destination rq when the moved task was woken up, although no task_woken_scx() follows that activation. An IMMED insert into a busy destination requests a local reenqueue during that enqueue. The request gets linked but not scheduled and stays pending until an unrelated wakeup or preemption on that CPU runs the deferred actions. The IMMED task sits behind the running task in the meantime. If nothing runs them before the scheduler is disabled, the request outlives the scheduler and points into its freed per-cpu area, which the next scheduler dereferences from run_deferred(). Test the core enqueue flags for the wakeup bit. Only the core's wakeup path is followed by task_woken_scx(). The Linux kernel CVE team has assigned CVE-2026-98463 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.19 with commit 997967adf10ce26c3e7bd89598b3ded62b943052 and fixed in 6.18.55 with commit 6c401ae426e20e53a3398a8e79afd0964c0f5110 Issue introduced in 7.0 with commit 57ccf5ccdc56954f2a91a7f66684fd31c566bde5 and fixed in 7.2.9 with commit 3fdf2ceb31e8aff77451e468bc8409e10587916a Issue introduced in 7.0 with commit 57ccf5ccdc56954f2a91a7f66684fd31c566bde5 and fixed in 7.3-rc5 with commit df5cdc2c832ca4e8a6d774596b9005558761a403 Issue introduced in 6.19.9 with commit ee502c056c4c9cce4c132ccb588e06ffe5b831c1 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-98463 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 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/6c401ae426e20e53a3398a8e79afd0964c0f5110 https://git.kernel.org/stable/c/3fdf2ceb31e8aff77451e468bc8409e10587916a https://git.kernel.org/stable/c/df5cdc2c832ca4e8a6d774596b9005558761a403