<?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:50:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139308 — bpf: Fix stale offload-&gt;prog pointer after realloc</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139308</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: Fix stale offload-&amp;gt;prog pointer after realloc&lt;/p&gt;
&lt;p&gt;bpf_prog_realloc() moves a program that the rewrites of the verifier make
outgrow its pages.  It updates aux-&amp;gt;prog, but not the offload-&amp;gt;prog of a
device-bound program.  When the device is unregistered,
__bpf_offload_dev_netdev_unregister() hands the stale pointer to
__bpf_prog_offload_destroy(), which faults on the freed program:&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: ffffc90000071050
  RIP: 0010:__bpf_prog_offload_destroy+0x3f/0x310&lt;/p&gt;
&lt;p&gt;It takes the right to load a device-bound XDP program, CAP_BPF and
CAP_NET_ADMIN or a BPF token, and a device that can be removed.&lt;/p&gt;
&lt;p&gt;Commit a1aa9ef47c29 (&amp;#34;bpf: Fix stale offload-&amp;gt;prog pointer after constant
blinding&amp;#34;) repaired the other place that replaces a program.  Do the same
here.&lt;/p&gt;
&lt;p&gt;Nothing keeps the device while a program is loaded, so it can also be
unregistered at that very moment.  That frees the offload, and it may have
read offload-&amp;gt;prog already when the old copy of the program is freed.  In
both places update the pointer under bpf_devs_lock, before the old copy
goes.&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: Fix stale offload-&amp;gt;prog pointer after realloc&lt;/p&gt;
&lt;p&gt;bpf_prog_realloc() moves a program that the rewrites of the verifier make
outgrow its pages.  It updates aux-&amp;gt;prog, but not the offload-&amp;gt;prog of a
device-bound program.  When the device is unregistered,
__bpf_offload_dev_netdev_unregister() hands the stale pointer to
__bpf_prog_offload_destroy(), which faults on the freed program:&lt;/p&gt;
&lt;p&gt;BUG: unable to handle page fault for address: ffffc90000071050
  RIP: 0010:__bpf_prog_offload_destroy+0x3f/0x310&lt;/p&gt;
&lt;p&gt;It takes the right to load a device-bound XDP program, CAP_BPF and
CAP_NET_ADMIN or a BPF token, and a device that can be removed.&lt;/p&gt;
&lt;p&gt;Commit a1aa9ef47c29 (&amp;#34;bpf: Fix stale offload-&amp;gt;prog pointer after constant
blinding&amp;#34;) repaired the other place that replaces a program.  Do the same
here.&lt;/p&gt;
&lt;p&gt;Nothing keeps the device while a program is loaded, so it can also be
unregistered at that very moment.  That frees the offload, and it may have
read offload-&amp;gt;prog already when the old copy of the program is freed.  In
both places update the pointer under bpf_devs_lock, before the old copy
goes.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139308</guid>
    </item>
  </channel>
</rss>
