<?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 19:27:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139304 — bpf: Check the maps that sleepable callbacks use</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139304</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: Check the maps that sleepable callbacks use&lt;/p&gt;
&lt;p&gt;Sleepable programs can only use the kinds of map that do without an RCU
read side critical section.  check_map_prog_compatibility() sees to that
when a map is bound to the program, and asks whether the program is
sleepable.  That misses the bpf_wq or bpf_task_work callback of a program
that is not, which runs sleepable all the same, and it misses an inner
map, which is not bound.&lt;/p&gt;
&lt;p&gt;The bpf_wq callback of a tc program that looks a key up in a sockhash
gets as far as&lt;/p&gt;
&lt;p&gt;WARNING: net/core/sock_map.c:903 at __sock_hash_lookup_elem+0x18f/0x1e0&lt;/p&gt;
&lt;p&gt;Ask the same question for the map that is handed to a helper in sleepable
context, unless the RCU read lock is held: by bpf_rcu_read_lock(), or by
the helper that runs the callback, as bpf_for_each_map_elem() does for a
hash map.  Programs that take the lock go on working.  Disabled preemption
or interrupts are not enough, since the maps ask for rcu_read_lock_held().
The other parts of the program may use such a map as before.&lt;/p&gt;
&lt;p&gt;A global function that is called with preemption or interrupts disabled is
verified for the non-sleepable context, in which nothing is known of all
that.  Verify it for a context of its own: not sleepable, and without the
RCU read lock.  It differs in what maps can be used, and in nothing else.&lt;/p&gt;
&lt;p&gt;What is refused from now on runs into the warning above, or uses what the
map frees behind a plain RCU gra…&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: Check the maps that sleepable callbacks use&lt;/p&gt;
&lt;p&gt;Sleepable programs can only use the kinds of map that do without an RCU
read side critical section.  check_map_prog_compatibility() sees to that
when a map is bound to the program, and asks whether the program is
sleepable.  That misses the bpf_wq or bpf_task_work callback of a program
that is not, which runs sleepable all the same, and it misses an inner
map, which is not bound.&lt;/p&gt;
&lt;p&gt;The bpf_wq callback of a tc program that looks a key up in a sockhash
gets as far as&lt;/p&gt;
&lt;p&gt;WARNING: net/core/sock_map.c:903 at __sock_hash_lookup_elem+0x18f/0x1e0&lt;/p&gt;
&lt;p&gt;Ask the same question for the map that is handed to a helper in sleepable
context, unless the RCU read lock is held: by bpf_rcu_read_lock(), or by
the helper that runs the callback, as bpf_for_each_map_elem() does for a
hash map.  Programs that take the lock go on working.  Disabled preemption
or interrupts are not enough, since the maps ask for rcu_read_lock_held().
The other parts of the program may use such a map as before.&lt;/p&gt;
&lt;p&gt;A global function that is called with preemption or interrupts disabled is
verified for the non-sleepable context, in which nothing is known of all
that.  Verify it for a context of its own: not sleepable, and without the
RCU read lock.  It differs in what maps can be used, and in nothing else.&lt;/p&gt;
&lt;p&gt;What is refused from now on runs into the warning above, or uses what the
map frees behind a plain RCU gra…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139304</guid>
    </item>
  </channel>
</rss>
