<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T14:34:25.183088+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-23342</id>
    <title>CVE-2026-23342 — bpf: Fix race in cpumap on PREEMPT_RT</title>
    <updated>2026-09-30T14:34:25.208839+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>bpf: Fix race in cpumap on PREEMPT_RT</p>
<p>On PREEMPT_RT kernels, the per-CPU xdp_bulk_queue (bq) can be accessed
concurrently by multiple preemptible tasks on the same CPU.</p>
<p>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.</p>
<p>This leads to several races:</p>
<p>1. Double __list_del_clearprev(): after bq-&gt;count is reset in
   bq_flush_to_queue(), a preempting task can call bq_enqueue() -&gt;
   bq_flush_to_queue() on the same bq when bq-&gt;count reaches
   CPU_MAP_BULK_SIZE. Both tasks then call __list_del_clearprev()
   on the same bq-&gt;flush_node, the second call dereferences the
   prev pointer that was already set to NULL by the first.</p>
<p>2. bq-&gt;count and bq-&gt;q[] races: concurrent bq_enqueue() can corrupt
   the packet queue while bq_flush_to_queue() is processing it.</p>
<p>The race between task A (__cpu_map_flush -&gt; bq_flush_to_queue) and
task B (bq_enqueue -&gt; bq_flush_to_queue) on the same CPU:</p>
<p>Task A (xdp_do_flush)          Task B (cpu_map_enqueue)
  ----------------------…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-23342"/>
  </entry>
</feed>
