<?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>Wed, 30 Sep 2026 18:13:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23342 — bpf: Fix race in cpumap on PREEMPT_RT</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23342</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 cpumap on PREEMPT_RT&lt;/p&gt;
&lt;p&gt;On PREEMPT_RT kernels, the per-CPU xdp_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 __cpu_map_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_flush_to_queue(), 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 __list_del_clearprev(): after bq-&amp;gt;count is reset in
   bq_flush_to_queue(), a preempting task can call bq_enqueue() -&amp;gt;
   bq_flush_to_queue() on the same bq when bq-&amp;gt;count reaches
   CPU_MAP_BULK_SIZE. Both tasks then call __list_del_clearprev()
   on the same bq-&amp;gt;flush_node, the second call dereferences the
   prev pointer that was already set to NULL by the first.&lt;/p&gt;
&lt;p&gt;2. bq-&amp;gt;count and bq-&amp;gt;q[] races: concurrent bq_enqueue() can corrupt
   the packet queue while bq_flush_to_queue() is processing it.&lt;/p&gt;
&lt;p&gt;The race between task A (__cpu_map_flush -&amp;gt; bq_flush_to_queue) and
task B (bq_enqueue -&amp;gt; bq_flush_to_queue) on the same CPU:&lt;/p&gt;
&lt;p&gt;Task A (xdp_do_flush)          Task B (cpu_map_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 cpumap on PREEMPT_RT&lt;/p&gt;
&lt;p&gt;On PREEMPT_RT kernels, the per-CPU xdp_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 __cpu_map_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_flush_to_queue(), 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 __list_del_clearprev(): after bq-&amp;gt;count is reset in
   bq_flush_to_queue(), a preempting task can call bq_enqueue() -&amp;gt;
   bq_flush_to_queue() on the same bq when bq-&amp;gt;count reaches
   CPU_MAP_BULK_SIZE. Both tasks then call __list_del_clearprev()
   on the same bq-&amp;gt;flush_node, the second call dereferences the
   prev pointer that was already set to NULL by the first.&lt;/p&gt;
&lt;p&gt;2. bq-&amp;gt;count and bq-&amp;gt;q[] races: concurrent bq_enqueue() can corrupt
   the packet queue while bq_flush_to_queue() is processing it.&lt;/p&gt;
&lt;p&gt;The race between task A (__cpu_map_flush -&amp;gt; bq_flush_to_queue) and
task B (bq_enqueue -&amp;gt; bq_flush_to_queue) on the same CPU:&lt;/p&gt;
&lt;p&gt;Task A (xdp_do_flush)          Task B (cpu_map_enqueue)
  ----------------------…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23342</guid>
    </item>
  </channel>
</rss>
