<?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://cve.radiocsirt.org</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, 07 Oct 2026 03:23:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26733 — arp: Prevent overflow in arp_req_get().</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-26733</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;arp: Prevent overflow in arp_req_get().&lt;/p&gt;
&lt;p&gt;syzkaller reported an overflown write in arp_req_get(). [0]&lt;/p&gt;
&lt;p&gt;When ioctl(SIOCGARP) is issued, arp_req_get() looks up an neighbour
entry and copies neigh-&amp;gt;ha to struct arpreq.arp_ha.sa_data.&lt;/p&gt;
&lt;p&gt;The arp_ha here is struct sockaddr, not struct sockaddr_storage, so
the sa_data buffer is just 14 bytes.&lt;/p&gt;
&lt;p&gt;In the splat below, 2 bytes are overflown to the next int field,
arp_flags.  We initialise the field just after the memcpy(), so it&amp;#39;s
not a problem.&lt;/p&gt;
&lt;p&gt;However, when dev-&amp;gt;addr_len is greater than 22 (e.g. MAX_ADDR_LEN),
arp_netmask is overwritten, which could be set as htonl(0xFFFFFFFFUL)
in arp_ioctl() before calling arp_req_get().&lt;/p&gt;
&lt;p&gt;To avoid the overflow, let&amp;#39;s limit the max length of memcpy().&lt;/p&gt;
&lt;p&gt;Note that commit b5f0de6df6dc (&amp;#34;net: dev: Convert sa_data to flexible
array in struct sockaddr&amp;#34;) just silenced syzkaller.&lt;/p&gt;
&lt;p&gt;[0]:
memcpy: detected field-spanning write (size 16) of single field &amp;#34;r-&amp;gt;arp_ha.sa_data&amp;#34; at net/ipv4/arp.c:1128 (size 14)
WARNING: CPU: 0 PID: 144638 at net/ipv4/arp.c:1128 arp_req_get+0x411/0x4a0 net/ipv4/arp.c:1128
Modules linked in:
CPU: 0 PID: 144638 Comm: syz-executor.4 Not tainted 6.1.74 #31
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-5 04/01/2014
RIP: 0010:arp_req_get+0x411/0x4a0 net/ipv4/arp.c:1128
Code: fd ff ff e8 41 42 de fb b9 0e 00 00 00 4c 89 fe 48 c7 c2 20 6d ab 87 48 c7 c7 80 6d ab 87 c6 05 25 af 72 04 01 e8 5f 8d…&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;arp: Prevent overflow in arp_req_get().&lt;/p&gt;
&lt;p&gt;syzkaller reported an overflown write in arp_req_get(). [0]&lt;/p&gt;
&lt;p&gt;When ioctl(SIOCGARP) is issued, arp_req_get() looks up an neighbour
entry and copies neigh-&amp;gt;ha to struct arpreq.arp_ha.sa_data.&lt;/p&gt;
&lt;p&gt;The arp_ha here is struct sockaddr, not struct sockaddr_storage, so
the sa_data buffer is just 14 bytes.&lt;/p&gt;
&lt;p&gt;In the splat below, 2 bytes are overflown to the next int field,
arp_flags.  We initialise the field just after the memcpy(), so it&amp;#39;s
not a problem.&lt;/p&gt;
&lt;p&gt;However, when dev-&amp;gt;addr_len is greater than 22 (e.g. MAX_ADDR_LEN),
arp_netmask is overwritten, which could be set as htonl(0xFFFFFFFFUL)
in arp_ioctl() before calling arp_req_get().&lt;/p&gt;
&lt;p&gt;To avoid the overflow, let&amp;#39;s limit the max length of memcpy().&lt;/p&gt;
&lt;p&gt;Note that commit b5f0de6df6dc (&amp;#34;net: dev: Convert sa_data to flexible
array in struct sockaddr&amp;#34;) just silenced syzkaller.&lt;/p&gt;
&lt;p&gt;[0]:
memcpy: detected field-spanning write (size 16) of single field &amp;#34;r-&amp;gt;arp_ha.sa_data&amp;#34; at net/ipv4/arp.c:1128 (size 14)
WARNING: CPU: 0 PID: 144638 at net/ipv4/arp.c:1128 arp_req_get+0x411/0x4a0 net/ipv4/arp.c:1128
Modules linked in:
CPU: 0 PID: 144638 Comm: syz-executor.4 Not tainted 6.1.74 #31
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-5 04/01/2014
RIP: 0010:arp_req_get+0x411/0x4a0 net/ipv4/arp.c:1128
Code: fd ff ff e8 41 42 de fb b9 0e 00 00 00 4c 89 fe 48 c7 c2 20 6d ab 87 48 c7 c7 80 6d ab 87 c6 05 25 af 72 04 01 e8 5f 8d…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-26733</guid>
    </item>
  </channel>
</rss>
