<?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>Fri, 04 Dec 2026 19:22:09 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143194 — sched_ext: Reject DSQ iterator kfuncs in tracing programs</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143194</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: Reject DSQ iterator kfuncs in tracing programs&lt;/p&gt;
&lt;p&gt;bpf_iter_scx_dsq_next() and bpf_iter_scx_dsq_destroy() take the target
user DSQ&amp;#39;s raw spinlock, but they are in scx_kfunc_ids_any, which is
also registered for BPF_PROG_TYPE_TRACING.&lt;/p&gt;
&lt;p&gt;For an active root scheduler without ops.sub_attach, the compatibility
path in scx_prog_sched() lets an unassociated tracing program resolve to
that scheduler. The tracing program can then call the iterator kfuncs
while the target DSQ lock is already held.&lt;/p&gt;
&lt;p&gt;For example, a scheduler which mixes FIFO and priority-queue insertions
into a user DSQ triggers scx_error() from scx_dispatch_enqueue() while
holding that DSQ&amp;#39;s lock. scx_claim_exit() emits sched_ext_exit before
the lock is released:&lt;/p&gt;
&lt;p&gt;scx_dispatch_enqueue()
    raw_spin_lock(&amp;amp;dsq-&amp;gt;lock)
    scx_error()
      scx_claim_exit()
        trace_sched_ext_exit()
          tracing BPF program
            bpf_iter_scx_dsq_new(dsq_id)
            bpf_for_each(scx_dsq, p, dsq_id, 0)
              bpf_iter_scx_dsq_next(it)
                raw_spin_lock_irqsave(&amp;amp;dsq-&amp;gt;lock)&lt;/p&gt;
&lt;p&gt;The tracing program recursively acquires the same raw spinlock and locks
up the CPU. Because the tracepoint runs before scx_finish_exit(),
disable_irq_work is not queued and the scheduler cannot enter its normal
disable path.&lt;/p&gt;
&lt;p&gt;Reject the two iterator kfuncs from tracing programs at verification
time. The kfuncs remain available to SCX struct_ops and syscal…&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: Reject DSQ iterator kfuncs in tracing programs&lt;/p&gt;
&lt;p&gt;bpf_iter_scx_dsq_next() and bpf_iter_scx_dsq_destroy() take the target
user DSQ&amp;#39;s raw spinlock, but they are in scx_kfunc_ids_any, which is
also registered for BPF_PROG_TYPE_TRACING.&lt;/p&gt;
&lt;p&gt;For an active root scheduler without ops.sub_attach, the compatibility
path in scx_prog_sched() lets an unassociated tracing program resolve to
that scheduler. The tracing program can then call the iterator kfuncs
while the target DSQ lock is already held.&lt;/p&gt;
&lt;p&gt;For example, a scheduler which mixes FIFO and priority-queue insertions
into a user DSQ triggers scx_error() from scx_dispatch_enqueue() while
holding that DSQ&amp;#39;s lock. scx_claim_exit() emits sched_ext_exit before
the lock is released:&lt;/p&gt;
&lt;p&gt;scx_dispatch_enqueue()
    raw_spin_lock(&amp;amp;dsq-&amp;gt;lock)
    scx_error()
      scx_claim_exit()
        trace_sched_ext_exit()
          tracing BPF program
            bpf_iter_scx_dsq_new(dsq_id)
            bpf_for_each(scx_dsq, p, dsq_id, 0)
              bpf_iter_scx_dsq_next(it)
                raw_spin_lock_irqsave(&amp;amp;dsq-&amp;gt;lock)&lt;/p&gt;
&lt;p&gt;The tracing program recursively acquires the same raw spinlock and locks
up the CPU. Because the tracepoint runs before scx_finish_exit(),
disable_irq_work is not queued and the scheduler cannot enter its normal
disable path.&lt;/p&gt;
&lt;p&gt;Reject the two iterator kfuncs from tracing programs at verification
time. The kfuncs remain available to SCX struct_ops and syscal…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143194</guid>
    </item>
  </channel>
</rss>
