<?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-04T19:49:10.711112+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-139306</id>
    <title>CVE-2026-139306 — bpf: Keep a program until its bpf_wq callback has ended</title>
    <updated>2026-12-04T19:49:10.714306+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: Keep a program until its bpf_wq callback has ended</p>
<p>bpf_wq_work() runs the callback under rcu_read_lock_trace() only, since
the callback may sleep.  The program it belongs to need not be sleepable,
and such a program is freed behind a plain RCU grace period.  The
reference that the bpf_wq holds is dropped when the map element goes, or
when another callback is set, no matter whether the work is running.</p>
<p>If that was the last reference the program is freed under the running
callback, and the worker goes on in the freed JIT image:</p>
<p>Oops: int3: 0000 [#1] SMP NOPTI
  RIP: 0010:0xffffffffc0600947</p>
<p>All it takes is to close the map and the program while the callback runs.</p>
<p>Note in the program that it has a callback that runs sleepable, and wait
for an RCU Tasks Trace grace period, which implies a plain one, before
such a program is freed.  Let bpf_wq_work() enter its read side critical
section before it reads callback_fn.</p>
<p>bpf_task_work holds a reference to the program until the callback is done.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139306"/>
  </entry>
</feed>
