<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:51:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139548 — platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139548</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;platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data&lt;/p&gt;
&lt;p&gt;cros_typec_register_altmodes() iterates over sop_disc-&amp;gt;svid_count and
sop_disc-&amp;gt;svids[i].mode_count from the EC_CMD_TYPEC_DISCOVERY response
without validating their bounds.&lt;/p&gt;
&lt;p&gt;port-&amp;gt;disc_data is allocated as a buffer of EC_PROTO2_MAX_RESPONSE_SIZE
bytes, and each SVID entry contains a fixed mode_vdo[6] array. If the EC
returns an out-of-bounds svid_count or mode_count, the loops read past
the end of the mode_vdo array or the disc_data buffer.&lt;/p&gt;
&lt;p&gt;Validate that the discovery response with svid_count entries fits within
EC_PROTO2_MAX_RESPONSE_SIZE using struct_size(), and ensure each SVID&amp;#39;s
mode_count does not exceed ARRAY_SIZE(sop_disc-&amp;gt;svids[i].mode_vdo)
before registering altmodes.&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;platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data&lt;/p&gt;
&lt;p&gt;cros_typec_register_altmodes() iterates over sop_disc-&amp;gt;svid_count and
sop_disc-&amp;gt;svids[i].mode_count from the EC_CMD_TYPEC_DISCOVERY response
without validating their bounds.&lt;/p&gt;
&lt;p&gt;port-&amp;gt;disc_data is allocated as a buffer of EC_PROTO2_MAX_RESPONSE_SIZE
bytes, and each SVID entry contains a fixed mode_vdo[6] array. If the EC
returns an out-of-bounds svid_count or mode_count, the loops read past
the end of the mode_vdo array or the disc_data buffer.&lt;/p&gt;
&lt;p&gt;Validate that the discovery response with svid_count entries fits within
EC_PROTO2_MAX_RESPONSE_SIZE using struct_size(), and ensure each SVID&amp;#39;s
mode_count does not exceed ARRAY_SIZE(sop_disc-&amp;gt;svids[i].mode_vdo)
before registering altmodes.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139548</guid>
    </item>
  </channel>
</rss>
