<?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 23:23:30 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53798 — ethtool: Fix uninitialized number of lanes</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53798</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;ethtool: Fix uninitialized number of lanes&lt;/p&gt;
&lt;p&gt;It is not possible to set the number of lanes when setting link modes
using the legacy IOCTL ethtool interface. Since &amp;#39;struct
ethtool_link_ksettings&amp;#39; is not initialized in this path, drivers receive
an uninitialized number of lanes in &amp;#39;struct
ethtool_link_ksettings::lanes&amp;#39;.&lt;/p&gt;
&lt;p&gt;When this information is later queried from drivers, it results in the
ethtool code making decisions based on uninitialized memory, leading to
the following KMSAN splat [1]. In practice, this most likely only
happens with the tun driver that simply returns whatever it got in the
set operation.&lt;/p&gt;
&lt;p&gt;As far as I can tell, this uninitialized memory is not leaked to user
space thanks to the &amp;#39;ethtool_ops-&amp;gt;cap_link_lanes_supported&amp;#39; check in
linkmodes_prepare_data().&lt;/p&gt;
&lt;p&gt;Fix by initializing the structure in the IOCTL path. Did not find any
more call sites that pass an uninitialized structure when calling
&amp;#39;ethtool_ops::set_link_ksettings()&amp;#39;.&lt;/p&gt;
&lt;p&gt;[1]
BUG: KMSAN: uninit-value in ethnl_update_linkmodes net/ethtool/linkmodes.c:273 [inline]
BUG: KMSAN: uninit-value in ethnl_set_linkmodes+0x190b/0x19d0 net/ethtool/linkmodes.c:333
 ethnl_update_linkmodes net/ethtool/linkmodes.c:273 [inline]
 ethnl_set_linkmodes+0x190b/0x19d0 net/ethtool/linkmodes.c:333
 ethnl_default_set_doit+0x88d/0xde0 net/ethtool/netlink.c:640
 genl_family_rcv_msg_doit net/netlink/genetlink.c:968 [inline]
 genl_family_rcv_msg net/netlink/genetlink.…&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;ethtool: Fix uninitialized number of lanes&lt;/p&gt;
&lt;p&gt;It is not possible to set the number of lanes when setting link modes
using the legacy IOCTL ethtool interface. Since &amp;#39;struct
ethtool_link_ksettings&amp;#39; is not initialized in this path, drivers receive
an uninitialized number of lanes in &amp;#39;struct
ethtool_link_ksettings::lanes&amp;#39;.&lt;/p&gt;
&lt;p&gt;When this information is later queried from drivers, it results in the
ethtool code making decisions based on uninitialized memory, leading to
the following KMSAN splat [1]. In practice, this most likely only
happens with the tun driver that simply returns whatever it got in the
set operation.&lt;/p&gt;
&lt;p&gt;As far as I can tell, this uninitialized memory is not leaked to user
space thanks to the &amp;#39;ethtool_ops-&amp;gt;cap_link_lanes_supported&amp;#39; check in
linkmodes_prepare_data().&lt;/p&gt;
&lt;p&gt;Fix by initializing the structure in the IOCTL path. Did not find any
more call sites that pass an uninitialized structure when calling
&amp;#39;ethtool_ops::set_link_ksettings()&amp;#39;.&lt;/p&gt;
&lt;p&gt;[1]
BUG: KMSAN: uninit-value in ethnl_update_linkmodes net/ethtool/linkmodes.c:273 [inline]
BUG: KMSAN: uninit-value in ethnl_set_linkmodes+0x190b/0x19d0 net/ethtool/linkmodes.c:333
 ethnl_update_linkmodes net/ethtool/linkmodes.c:273 [inline]
 ethnl_set_linkmodes+0x190b/0x19d0 net/ethtool/linkmodes.c:333
 ethnl_default_set_doit+0x88d/0xde0 net/ethtool/netlink.c:640
 genl_family_rcv_msg_doit net/netlink/genetlink.c:968 [inline]
 genl_family_rcv_msg net/netlink/genetlink.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53798</guid>
    </item>
  </channel>
</rss>
