<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 05 Dec 2026 12:36:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142831 — sched_ext: Don't leave balance callbacks queued across a pick retry</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142831</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;sched_ext: Don&amp;#39;t leave balance callbacks queued across a pick retry&lt;/p&gt;
&lt;p&gt;The dispatch path can request deferred work to be run from a balance
callback and pick_task_scx() queues rq-&amp;gt;scx.deferred_bal_cb right after
dispatching. However, a balance callback must be consumed before the rq
lock is released and pick_task_scx() is not necessarily the end of the
pick:&lt;/p&gt;
&lt;p&gt;- it returns RETRY_TASK when a higher priority class task has been
   enqueued while the dispatch had the rq lock released;&lt;/p&gt;
&lt;p&gt;- the dl_server pick can return NULL, in which case the lower classes
   are picked next.&lt;/p&gt;
&lt;p&gt;In both cases the callback stays queued while the core keeps picking,
and the rq lock can be released again, either by prev_balance() or by
another dispatch. For example, with an RT task as prev:&lt;/p&gt;
&lt;p&gt;__schedule()
    __pick_next_task()
      pick_task_scx()
        dispatch_pick()
          maybe_queue_balance_callback()    &amp;lt;- deferred_bal_cb queued
        return RETRY_TASK
      prev_balance()
        balance_rt()
          pull_rt_task()
            double_lock_balance()           &amp;lt;- rq lock released&lt;/p&gt;
&lt;p&gt;Any CPU acquiring the rq lock in that window finds a pending balance
callback and triggers the following warning in rq_pin_lock():&lt;/p&gt;
&lt;p&gt;WARNING: kernel/sched/sched.h:1919 at rq_lock+0x7f/0xe0, CPU#10: stress-ng-sleep/533
  CPU: 10 UID: 0 PID: 533 Comm: stress-ng-sleep Not tainted 7.2.0-rc6-virtme #61 PREEMPT(full)
  Sched_ext: qmap (enabled+al…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;sched_ext: Don&amp;#39;t leave balance callbacks queued across a pick retry&lt;/p&gt;
&lt;p&gt;The dispatch path can request deferred work to be run from a balance
callback and pick_task_scx() queues rq-&amp;gt;scx.deferred_bal_cb right after
dispatching. However, a balance callback must be consumed before the rq
lock is released and pick_task_scx() is not necessarily the end of the
pick:&lt;/p&gt;
&lt;p&gt;- it returns RETRY_TASK when a higher priority class task has been
   enqueued while the dispatch had the rq lock released;&lt;/p&gt;
&lt;p&gt;- the dl_server pick can return NULL, in which case the lower classes
   are picked next.&lt;/p&gt;
&lt;p&gt;In both cases the callback stays queued while the core keeps picking,
and the rq lock can be released again, either by prev_balance() or by
another dispatch. For example, with an RT task as prev:&lt;/p&gt;
&lt;p&gt;__schedule()
    __pick_next_task()
      pick_task_scx()
        dispatch_pick()
          maybe_queue_balance_callback()    &amp;lt;- deferred_bal_cb queued
        return RETRY_TASK
      prev_balance()
        balance_rt()
          pull_rt_task()
            double_lock_balance()           &amp;lt;- rq lock released&lt;/p&gt;
&lt;p&gt;Any CPU acquiring the rq lock in that window finds a pending balance
callback and triggers the following warning in rq_pin_lock():&lt;/p&gt;
&lt;p&gt;WARNING: kernel/sched/sched.h:1919 at rq_lock+0x7f/0xe0, CPU#10: stress-ng-sleep/533
  CPU: 10 UID: 0 PID: 533 Comm: stress-ng-sleep Not tainted 7.2.0-rc6-virtme #61 PREEMPT(full)
  Sched_ext: qmap (enabled+al…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142831</guid>
    </item>
  </channel>
</rss>
