<?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>Mon, 28 Sep 2026 23:56:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50168 — bpf, x86: fix freeing of not-finalized bpf_prog_pack</title>
      <link>https://db.gcve.eu/vuln/cve-2022-50168</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, x86: fix freeing of not-finalized bpf_prog_pack&lt;/p&gt;
&lt;p&gt;syzbot reported a few issues with bpf_prog_pack [1], [2]. This only happens
with multiple subprogs. In jit_subprogs(), we first call bpf_int_jit_compile()
on each sub program. And then, we call it on each sub program again. jit_data
is not freed in the first call of bpf_int_jit_compile(). Similarly we don&amp;#39;t
call bpf_jit_binary_pack_finalize() in the first call of bpf_int_jit_compile().&lt;/p&gt;
&lt;p&gt;If bpf_int_jit_compile() failed for one sub program, we will call
bpf_jit_binary_pack_finalize() for this sub program. However, we don&amp;#39;t have a
chance to call it for other sub programs. Then we will hit &amp;#34;goto out_free&amp;#34; in
jit_subprogs(), and call bpf_jit_free on some subprograms that haven&amp;#39;t got
bpf_jit_binary_pack_finalize() yet.&lt;/p&gt;
&lt;p&gt;At this point, bpf_jit_binary_pack_free() is called and the whole 2MB page is
freed erroneously.&lt;/p&gt;
&lt;p&gt;Fix this with a custom bpf_jit_free() for x86_64, which calls
bpf_jit_binary_pack_finalize() if necessary. Also, with custom
bpf_jit_free(), bpf_prog_aux-&amp;gt;use_bpf_prog_pack is not needed any more,
remove it.&lt;/p&gt;
&lt;p&gt;[1] https://syzkaller.appspot.com/bug?extid=2f649ec6d2eea1495a8f
[2] https://syzkaller.appspot.com/bug?extid=87f65c75f4a72db05445&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, x86: fix freeing of not-finalized bpf_prog_pack&lt;/p&gt;
&lt;p&gt;syzbot reported a few issues with bpf_prog_pack [1], [2]. This only happens
with multiple subprogs. In jit_subprogs(), we first call bpf_int_jit_compile()
on each sub program. And then, we call it on each sub program again. jit_data
is not freed in the first call of bpf_int_jit_compile(). Similarly we don&amp;#39;t
call bpf_jit_binary_pack_finalize() in the first call of bpf_int_jit_compile().&lt;/p&gt;
&lt;p&gt;If bpf_int_jit_compile() failed for one sub program, we will call
bpf_jit_binary_pack_finalize() for this sub program. However, we don&amp;#39;t have a
chance to call it for other sub programs. Then we will hit &amp;#34;goto out_free&amp;#34; in
jit_subprogs(), and call bpf_jit_free on some subprograms that haven&amp;#39;t got
bpf_jit_binary_pack_finalize() yet.&lt;/p&gt;
&lt;p&gt;At this point, bpf_jit_binary_pack_free() is called and the whole 2MB page is
freed erroneously.&lt;/p&gt;
&lt;p&gt;Fix this with a custom bpf_jit_free() for x86_64, which calls
bpf_jit_binary_pack_finalize() if necessary. Also, with custom
bpf_jit_free(), bpf_prog_aux-&amp;gt;use_bpf_prog_pack is not needed any more,
remove it.&lt;/p&gt;
&lt;p&gt;[1] https://syzkaller.appspot.com/bug?extid=2f649ec6d2eea1495a8f
[2] https://syzkaller.appspot.com/bug?extid=87f65c75f4a72db05445&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-50168</guid>
    </item>
  </channel>
</rss>
