<?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://cve.radiocsirt.org</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>Tue, 06 Oct 2026 20:18:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49697 — bpf: Fix request_sock leak in sk lookup helpers</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-49697</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 request_sock leak in sk lookup helpers&lt;/p&gt;
&lt;p&gt;A customer reported a request_socket leak in a Calico cloud environment. We
found that a BPF program was doing a socket lookup with takes a refcnt on
the socket and that it was finding the request_socket but returning the parent
LISTEN socket via sk_to_full_sk() without decrementing the child request socket
1st, resulting in request_sock slab object leak. This patch retains the
existing behaviour of returning full socks to the caller but it also decrements
the child request_socket if one is present before doing so to prevent the leak.&lt;/p&gt;
&lt;p&gt;Thanks to Curtis Taylor for all the help in diagnosing and testing this. And
thanks to Antoine Tenart for the reproducer and patch input.&lt;/p&gt;
&lt;p&gt;v2 of this patch contains, refactor as per Daniel Borkmann&amp;#39;s suggestions to
validate RCU flags on the listen socket so that it balances with bpf_sk_release()
and update comments as per Martin KaFai Lau&amp;#39;s suggestion. One small change to
Daniels suggestion, put &amp;#34;sk = sk2&amp;#34; under &amp;#34;if (sk2 != sk)&amp;#34; to avoid an extra
instruction.&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 request_sock leak in sk lookup helpers&lt;/p&gt;
&lt;p&gt;A customer reported a request_socket leak in a Calico cloud environment. We
found that a BPF program was doing a socket lookup with takes a refcnt on
the socket and that it was finding the request_socket but returning the parent
LISTEN socket via sk_to_full_sk() without decrementing the child request socket
1st, resulting in request_sock slab object leak. This patch retains the
existing behaviour of returning full socks to the caller but it also decrements
the child request_socket if one is present before doing so to prevent the leak.&lt;/p&gt;
&lt;p&gt;Thanks to Curtis Taylor for all the help in diagnosing and testing this. And
thanks to Antoine Tenart for the reproducer and patch input.&lt;/p&gt;
&lt;p&gt;v2 of this patch contains, refactor as per Daniel Borkmann&amp;#39;s suggestions to
validate RCU flags on the listen socket so that it balances with bpf_sk_release()
and update comments as per Martin KaFai Lau&amp;#39;s suggestion. One small change to
Daniels suggestion, put &amp;#34;sk = sk2&amp;#34; under &amp;#34;if (sk2 != sk)&amp;#34; to avoid an extra
instruction.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-49697</guid>
    </item>
  </channel>
</rss>
