<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T05:42:05.831760+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/cve-2025-22058</id>
    <title>CVE-2025-22058 — udp: Fix memory accounting leak.</title>
    <updated>2026-10-05T05:42:05.908721+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>udp: Fix memory accounting leak.</p>
<p>Matt Dowling reported a weird UDP memory usage issue.</p>
<p>Under normal operation, the UDP memory usage reported in /proc/net/sockstat
remains close to zero.  However, it occasionally spiked to 524,288 pages
and never dropped.  Moreover, the value doubled when the application was
terminated.  Finally, it caused intermittent packet drops.</p>
<p>We can reproduce the issue with the script below [0]:</p>
<p>1. /proc/net/sockstat reports 0 pages</p>
<p># cat /proc/net/sockstat | grep UDP:
    UDP: inuse 1 mem 0</p>
<p>2. Run the script till the report reaches 524,288</p>
<p># python3 test.py &amp; sleep 5
    # cat /proc/net/sockstat | grep UDP:
    UDP: inuse 3 mem 524288  &lt;-- (INT_MAX + 1) &gt;&gt; PAGE_SHIFT</p>
<p>3. Kill the socket and confirm the number never drops</p>
<p># pkill python3 &amp;&amp; sleep 5
    # cat /proc/net/sockstat | grep UDP:
    UDP: inuse 1 mem 524288</p>
<p>4. (necessary since v6.0) Trigger proto_memory_pcpu_drain()</p>
<p># python3 test.py &amp; sleep 1 &amp;&amp; pkill python3</p>
<p>5. The number doubles</p>
<p># cat /proc/net/sockstat | grep UDP:
    UDP: inuse 1 mem 1048577</p>
<p>The application set INT_MAX to SO_RCVBUF, which triggered an integer
overflow in udp_rmem_release().</p>
<p>When a socket is close()d, udp_destruct_common() purges its receive
queue and sums up skb-&gt;truesize in the queue.  This total is calculated
and stored in a local unsigned integer variable.</p>
<p>The total size is then passed to udp_rmem_release()…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2025-22058"/>
  </entry>
</feed>
