<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T18:09:05.639301+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-139345</id>
    <title>CVE-2026-139345 — bpf: Prevent task work context reuse while irq_work is busy</title>
    <updated>2026-12-04T18:09:05.641022+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: Prevent task work context reuse while irq_work is busy</p>
<p>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.</p>
<p>One concrete interleaving is:</p>
<p>1. CPU 0 successfully queues ctx-&gt;work with task_work_add() and pauses
     before its SCHEDULING-to-SCHEDULED cmpxchg.</p>
<p>2. The target task on CPU 1 completes the callback, resets ctx-&gt;task
     and publishes STANDBY.</p>
<p>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.</p>
<p>4. CPU 0 resumes and changes the new round's SCHEDULING to SCHEDULED,
     even though no task work was queued for that round.</p>
<p>5. The new handler resets ctx-&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.</p>
<p>6. Map-value deletion observes SCHEDULED and queues asynchronous
     cancellation, which passes the NULL ctx-&gt;task to task_work_cancel().</p>
<p>Overlapping invocatio…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139345"/>
  </entry>
</feed>
