<?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:23:18 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138942 — powerpc64/bpf: fix percpu private stack leak on JIT failure</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138942</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;powerpc64/bpf: fix percpu private stack leak on JIT failure&lt;/p&gt;
&lt;p&gt;The existing conditional statement in bpf_int_jit_compile() frees the
percpu private stack at out_addrs only when the image buffer was never
allocated.&lt;/p&gt;
&lt;p&gt;If bpf_jit_build_body() fails during a code-generation pass, the
image buffer has already been allocated, so !image is false and the
percpu stack is not freed.&lt;/p&gt;
&lt;p&gt;Because JIT compilation failed, fp-&amp;gt;jited remains at 0. The subsequent
bpf_jit_free() path only frees priv_stack_ptr when fp-&amp;gt;jited is set, so
freeing is skipped here too, leaking the percpu allocation.&lt;/p&gt;
&lt;p&gt;Fix implements freeing the private stack whenever fp-&amp;gt;jited was not set,
i.e. compilation did not succeed, instead of keying off !image. !fp-&amp;gt;jited
already covers the !image case, since image is only NULL on early-failure
paths where fp-&amp;gt;jited is likewise 0.&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;powerpc64/bpf: fix percpu private stack leak on JIT failure&lt;/p&gt;
&lt;p&gt;The existing conditional statement in bpf_int_jit_compile() frees the
percpu private stack at out_addrs only when the image buffer was never
allocated.&lt;/p&gt;
&lt;p&gt;If bpf_jit_build_body() fails during a code-generation pass, the
image buffer has already been allocated, so !image is false and the
percpu stack is not freed.&lt;/p&gt;
&lt;p&gt;Because JIT compilation failed, fp-&amp;gt;jited remains at 0. The subsequent
bpf_jit_free() path only frees priv_stack_ptr when fp-&amp;gt;jited is set, so
freeing is skipped here too, leaking the percpu allocation.&lt;/p&gt;
&lt;p&gt;Fix implements freeing the private stack whenever fp-&amp;gt;jited was not set,
i.e. compilation did not succeed, instead of keying off !image. !fp-&amp;gt;jited
already covers the !image case, since image is only NULL on early-failure
paths where fp-&amp;gt;jited is likewise 0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138942</guid>
    </item>
  </channel>
</rss>
