<?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>Tue, 29 Sep 2026 16:51:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-35827 — io_uring/net: fix overflow check in io_recvmsg_mshot_prep()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-35827</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;io_uring/net: fix overflow check in io_recvmsg_mshot_prep()&lt;/p&gt;
&lt;p&gt;The &amp;#34;controllen&amp;#34; variable is type size_t (unsigned long).  Casting it
to int could lead to an integer underflow.&lt;/p&gt;
&lt;p&gt;The check_add_overflow() function considers the type of the destination
which is type int.  If we add two positive values and the result cannot
fit in an integer then that&amp;#39;s counted as an overflow.&lt;/p&gt;
&lt;p&gt;However, if we cast &amp;#34;controllen&amp;#34; to an int and it turns negative, then
negative values *can* fit into an int type so there is no overflow.&lt;/p&gt;
&lt;p&gt;Good: 100 + (unsigned long)-4 = 96  &amp;lt;-- overflow
 Bad: 100 + (int)-4 = 96 &amp;lt;-- no overflow&lt;/p&gt;
&lt;p&gt;I deleted the cast of the sizeof() as well.  That&amp;#39;s not a bug but the
cast is unnecessary.&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;io_uring/net: fix overflow check in io_recvmsg_mshot_prep()&lt;/p&gt;
&lt;p&gt;The &amp;#34;controllen&amp;#34; variable is type size_t (unsigned long).  Casting it
to int could lead to an integer underflow.&lt;/p&gt;
&lt;p&gt;The check_add_overflow() function considers the type of the destination
which is type int.  If we add two positive values and the result cannot
fit in an integer then that&amp;#39;s counted as an overflow.&lt;/p&gt;
&lt;p&gt;However, if we cast &amp;#34;controllen&amp;#34; to an int and it turns negative, then
negative values *can* fit into an int type so there is no overflow.&lt;/p&gt;
&lt;p&gt;Good: 100 + (unsigned long)-4 = 96  &amp;lt;-- overflow
 Bad: 100 + (int)-4 = 96 &amp;lt;-- no overflow&lt;/p&gt;
&lt;p&gt;I deleted the cast of the sizeof() as well.  That&amp;#39;s not a bug but the
cast is unnecessary.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-35827</guid>
    </item>
  </channel>
</rss>
