<?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-29T08:46:50.900824+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-2024-35827</id>
    <title>CVE-2024-35827 — io_uring/net: fix overflow check in io_recvmsg_mshot_prep()</title>
    <updated>2026-09-29T08:46:50.916573+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>io_uring/net: fix overflow check in io_recvmsg_mshot_prep()</p>
<p>The "controllen" variable is type size_t (unsigned long).  Casting it
to int could lead to an integer underflow.</p>
<p>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's counted as an overflow.</p>
<p>However, if we cast "controllen" to an int and it turns negative, then
negative values *can* fit into an int type so there is no overflow.</p>
<p>Good: 100 + (unsigned long)-4 = 96  &lt;-- overflow
 Bad: 100 + (int)-4 = 96 &lt;-- no overflow</p>
<p>I deleted the cast of the sizeof() as well.  That's not a bug but the
cast is unnecessary.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-35827"/>
  </entry>
</feed>
