<?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://vulnerability.circl.lu</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>Wed, 30 Sep 2026 03:57:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-53151 — svcrdma: Address an integer overflow</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-53151</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;svcrdma: Address an integer overflow&lt;/p&gt;
&lt;p&gt;Dan Carpenter reports:
&amp;gt; Commit 78147ca8b4a9 (&amp;#34;svcrdma: Add a &amp;#34;parsed chunk list&amp;#34; data
&amp;gt; structure&amp;#34;) from Jun 22, 2020 (linux-next), leads to the following
&amp;gt; Smatch static checker warning:
&amp;gt;
&amp;gt;	net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:498 xdr_check_write_chunk()
&amp;gt;	warn: potential user controlled sizeof overflow &amp;#39;segcount * 4 * 4&amp;#39;
&amp;gt;
&amp;gt; net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
&amp;gt;     488 static bool xdr_check_write_chunk(struct svc_rdma_recv_ctxt *rctxt)
&amp;gt;     489 {
&amp;gt;     490         u32 segcount;
&amp;gt;     491         __be32 *p;
&amp;gt;     492
&amp;gt;     493         if (xdr_stream_decode_u32(&amp;amp;rctxt-&amp;gt;rc_stream, &amp;amp;segcount))
&amp;gt;                                                               ^^^^^^^^
&amp;gt;
&amp;gt;     494                 return false;
&amp;gt;     495
&amp;gt;     496         /* A bogus segcount causes this buffer overflow check to fail. */
&amp;gt;     497         p = xdr_inline_decode(&amp;amp;rctxt-&amp;gt;rc_stream,
&amp;gt; --&amp;gt; 498                               segcount * rpcrdma_segment_maxsz * sizeof(*p));
&amp;gt;
&amp;gt;
&amp;gt; segcount is an untrusted u32.  On 32bit systems anything &amp;gt;= SIZE_MAX / 16 will
&amp;gt; have an integer overflow and some those values will be accepted by
&amp;gt; xdr_inline_decode().&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;svcrdma: Address an integer overflow&lt;/p&gt;
&lt;p&gt;Dan Carpenter reports:
&amp;gt; Commit 78147ca8b4a9 (&amp;#34;svcrdma: Add a &amp;#34;parsed chunk list&amp;#34; data
&amp;gt; structure&amp;#34;) from Jun 22, 2020 (linux-next), leads to the following
&amp;gt; Smatch static checker warning:
&amp;gt;
&amp;gt;	net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:498 xdr_check_write_chunk()
&amp;gt;	warn: potential user controlled sizeof overflow &amp;#39;segcount * 4 * 4&amp;#39;
&amp;gt;
&amp;gt; net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
&amp;gt;     488 static bool xdr_check_write_chunk(struct svc_rdma_recv_ctxt *rctxt)
&amp;gt;     489 {
&amp;gt;     490         u32 segcount;
&amp;gt;     491         __be32 *p;
&amp;gt;     492
&amp;gt;     493         if (xdr_stream_decode_u32(&amp;amp;rctxt-&amp;gt;rc_stream, &amp;amp;segcount))
&amp;gt;                                                               ^^^^^^^^
&amp;gt;
&amp;gt;     494                 return false;
&amp;gt;     495
&amp;gt;     496         /* A bogus segcount causes this buffer overflow check to fail. */
&amp;gt;     497         p = xdr_inline_decode(&amp;amp;rctxt-&amp;gt;rc_stream,
&amp;gt; --&amp;gt; 498                               segcount * rpcrdma_segment_maxsz * sizeof(*p));
&amp;gt;
&amp;gt;
&amp;gt; segcount is an untrusted u32.  On 32bit systems anything &amp;gt;= SIZE_MAX / 16 will
&amp;gt; have an integer overflow and some those values will be accepted by
&amp;gt; xdr_inline_decode().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-53151</guid>
    </item>
  </channel>
</rss>
