<?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://vulnerability.circl.lu</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>Thu, 01 Oct 2026 01:41:12 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23294 — bpf: Fix race in devmap on PREEMPT_RT</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23294</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;bpf: Fix race in devmap on PREEMPT_RT&lt;/p&gt;
&lt;p&gt;On PREEMPT_RT kernels, the per-CPU xdp_dev_bulk_queue (bq) can be
accessed concurrently by multiple preemptible tasks on the same CPU.&lt;/p&gt;
&lt;p&gt;The original code assumes bq_enqueue() and __dev_flush() run atomically
with respect to each other on the same CPU, relying on
local_bh_disable() to prevent preemption. However, on PREEMPT_RT,
local_bh_disable() only calls migrate_disable() (when
PREEMPT_RT_NEEDS_BH_LOCK is not set) and does not disable
preemption, which allows CFS scheduling to preempt a task during
bq_xmit_all(), enabling another task on the same CPU to enter
bq_enqueue() and operate on the same per-CPU bq concurrently.&lt;/p&gt;
&lt;p&gt;This leads to several races:&lt;/p&gt;
&lt;p&gt;1. Double-free / use-after-free on bq-&amp;gt;q[]: bq_xmit_all() snapshots
   cnt = bq-&amp;gt;count, then iterates bq-&amp;gt;q[0..cnt-1] to transmit frames.
   If preempted after the snapshot, a second task can call bq_enqueue()
   -&amp;gt; bq_xmit_all() on the same bq, transmitting (and freeing) the
   same frames. When the first task resumes, it operates on stale
   pointers in bq-&amp;gt;q[], causing use-after-free.&lt;/p&gt;
&lt;p&gt;2. bq-&amp;gt;count and bq-&amp;gt;q[] corruption: concurrent bq_enqueue() modifying
   bq-&amp;gt;count and bq-&amp;gt;q[] while bq_xmit_all() is reading them.&lt;/p&gt;
&lt;p&gt;3. dev_rx/xdp_prog teardown race: __dev_flush() clears bq-&amp;gt;dev_rx and
   bq-&amp;gt;xdp_prog after bq_xmit_all(). If preempted between
   bq_xmit_all() return and bq-&amp;gt;dev_rx = NULL, a preempting
   bq_enqueue()…&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;bpf: Fix race in devmap on PREEMPT_RT&lt;/p&gt;
&lt;p&gt;On PREEMPT_RT kernels, the per-CPU xdp_dev_bulk_queue (bq) can be
accessed concurrently by multiple preemptible tasks on the same CPU.&lt;/p&gt;
&lt;p&gt;The original code assumes bq_enqueue() and __dev_flush() run atomically
with respect to each other on the same CPU, relying on
local_bh_disable() to prevent preemption. However, on PREEMPT_RT,
local_bh_disable() only calls migrate_disable() (when
PREEMPT_RT_NEEDS_BH_LOCK is not set) and does not disable
preemption, which allows CFS scheduling to preempt a task during
bq_xmit_all(), enabling another task on the same CPU to enter
bq_enqueue() and operate on the same per-CPU bq concurrently.&lt;/p&gt;
&lt;p&gt;This leads to several races:&lt;/p&gt;
&lt;p&gt;1. Double-free / use-after-free on bq-&amp;gt;q[]: bq_xmit_all() snapshots
   cnt = bq-&amp;gt;count, then iterates bq-&amp;gt;q[0..cnt-1] to transmit frames.
   If preempted after the snapshot, a second task can call bq_enqueue()
   -&amp;gt; bq_xmit_all() on the same bq, transmitting (and freeing) the
   same frames. When the first task resumes, it operates on stale
   pointers in bq-&amp;gt;q[], causing use-after-free.&lt;/p&gt;
&lt;p&gt;2. bq-&amp;gt;count and bq-&amp;gt;q[] corruption: concurrent bq_enqueue() modifying
   bq-&amp;gt;count and bq-&amp;gt;q[] while bq_xmit_all() is reading them.&lt;/p&gt;
&lt;p&gt;3. dev_rx/xdp_prog teardown race: __dev_flush() clears bq-&amp;gt;dev_rx and
   bq-&amp;gt;xdp_prog after bq_xmit_all(). If preempted between
   bq_xmit_all() return and bq-&amp;gt;dev_rx = NULL, a preempting
   bq_enqueue()…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23294</guid>
    </item>
  </channel>
</rss>
