<?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 18:09:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139345 — bpf: Prevent task work context reuse while irq_work is busy</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139345</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: Prevent task work context reuse while irq_work is busy&lt;/p&gt;
&lt;p&gt;A bpf_task_work context can return to STANDBY before its scheduling
irq_work handler returns.  Both callback completion and task_work_add()
failure can publish STANDBY while the irq_work is still BUSY.  A new
round can then reinitialize and queue the same irq_work on another CPU
while the old handler is still running.&lt;/p&gt;
&lt;p&gt;One concrete interleaving is:&lt;/p&gt;
&lt;p&gt;1. CPU 0 successfully queues ctx-&amp;gt;work with task_work_add() and pauses
     before its SCHEDULING-to-SCHEDULED cmpxchg.&lt;/p&gt;
&lt;p&gt;2. The target task on CPU 1 completes the callback, resets ctx-&amp;gt;task
     and publishes STANDBY.&lt;/p&gt;
&lt;p&gt;3. CPU 2 starts a new round, changes STANDBY to PENDING and queues the
     same irq_work.  The new handler changes PENDING to SCHEDULING, but
     task_work_add() returns -ESRCH because its target task has exited.
     The handler has not yet reset the context or rolled back the state.&lt;/p&gt;
&lt;p&gt;4. CPU 0 resumes and changes the new round&amp;#39;s SCHEDULING to SCHEDULED,
     even though no task work was queued for that round.&lt;/p&gt;
&lt;p&gt;5. The new handler resets ctx-&amp;gt;task, but its SCHEDULING-to-STANDBY
     cmpxchg fails.  The context remains SCHEDULED with a NULL task, and
     subsequent attempts to acquire this context fail with -EBUSY.&lt;/p&gt;
&lt;p&gt;6. Map-value deletion observes SCHEDULED and queues asynchronous
     cancellation, which passes the NULL ctx-&amp;gt;task to task_work_cancel().&lt;/p&gt;
&lt;p&gt;Overlapping invocatio…&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: Prevent task work context reuse while irq_work is busy&lt;/p&gt;
&lt;p&gt;A bpf_task_work context can return to STANDBY before its scheduling
irq_work handler returns.  Both callback completion and task_work_add()
failure can publish STANDBY while the irq_work is still BUSY.  A new
round can then reinitialize and queue the same irq_work on another CPU
while the old handler is still running.&lt;/p&gt;
&lt;p&gt;One concrete interleaving is:&lt;/p&gt;
&lt;p&gt;1. CPU 0 successfully queues ctx-&amp;gt;work with task_work_add() and pauses
     before its SCHEDULING-to-SCHEDULED cmpxchg.&lt;/p&gt;
&lt;p&gt;2. The target task on CPU 1 completes the callback, resets ctx-&amp;gt;task
     and publishes STANDBY.&lt;/p&gt;
&lt;p&gt;3. CPU 2 starts a new round, changes STANDBY to PENDING and queues the
     same irq_work.  The new handler changes PENDING to SCHEDULING, but
     task_work_add() returns -ESRCH because its target task has exited.
     The handler has not yet reset the context or rolled back the state.&lt;/p&gt;
&lt;p&gt;4. CPU 0 resumes and changes the new round&amp;#39;s SCHEDULING to SCHEDULED,
     even though no task work was queued for that round.&lt;/p&gt;
&lt;p&gt;5. The new handler resets ctx-&amp;gt;task, but its SCHEDULING-to-STANDBY
     cmpxchg fails.  The context remains SCHEDULED with a NULL task, and
     subsequent attempts to acquire this context fail with -EBUSY.&lt;/p&gt;
&lt;p&gt;6. Map-value deletion observes SCHEDULED and queues asynchronous
     cancellation, which passes the NULL ctx-&amp;gt;task to task_work_cancel().&lt;/p&gt;
&lt;p&gt;Overlapping invocatio…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139345</guid>
    </item>
  </channel>
</rss>
