<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T16:33:50.229490+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2022-50838</id>
    <title>CVE-2022-50838 — net: stream: purge sk_error_queue in sk_stream_kill_queues()</title>
    <updated>2026-09-28T16:33:50.247533+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>net: stream: purge sk_error_queue in sk_stream_kill_queues()</p>
<p>Changheon Lee reported TCP socket leaks, with a nice repro.</p>
<p>It seems we leak TCP sockets with the following sequence:</p>
<p>1) SOF_TIMESTAMPING_TX_ACK is enabled on the socket.</p>
<p>Each ACK will cook an skb put in error queue, from __skb_tstamp_tx().
   __skb_tstamp_tx() is using skb_clone(), unless
   SOF_TIMESTAMPING_OPT_TSONLY was also requested.</p>
<p>2) If the application is also using MSG_ZEROCOPY, then we put in the
   error queue cloned skbs that had a struct ubuf_info attached to them.</p>
<p>Whenever an struct ubuf_info is allocated, sock_zerocopy_alloc()
   does a sock_hold().</p>
<p>As long as the cloned skbs are still in sk_error_queue,
   socket refcount is kept elevated.</p>
<p>3) Application closes the socket, while error queue is not empty.</p>
<p>Since tcp_close() no longer purges the socket error queue,
we might end up with a TCP socket with at least one skb in
error queue keeping the socket alive forever.</p>
<p>This bug can be (ab)used to consume all kernel memory
and freeze the host.</p>
<p>We need to purge the error queue, with proper synchronization
against concurrent writers.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2022-50838"/>
  </entry>
</feed>
