<?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:26:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138843 — usb: typec: ucsi: ccg: Validate altmode index in GET_CURRENT_CAM response</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138843</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;usb: typec: ucsi: ccg: Validate altmode index in GET_CURRENT_CAM response&lt;/p&gt;
&lt;p&gt;When the PPM reports more than one DisplayPort alternate mode for a
connector, ucsi_ccg_update_altmodes() merges them into a single entry
in uc-&amp;gt;updated[] and sets uc-&amp;gt;has_multiple_dp. In that case,
ucsi_ccg_update_get_current_cam_cmd() rewrites the response of the
GET_CURRENT_CAM command. The response is a single byte holding the
index of the currently active alternate mode, and it is provided by
the PPM firmware.&lt;/p&gt;
&lt;p&gt;The function uses this byte directly as an index into uc-&amp;gt;orig[], and
then uses the linked_idx read from that entry as the translated index
into uc-&amp;gt;updated[]. Both arrays have UCSI_MAX_ALTMODES entries, but
neither index is checked against that size.&lt;/p&gt;
&lt;p&gt;If a malicious or buggy PPM reports a value of UCSI_MAX_ALTMODES or
larger, e.g. 0xFF, uc-&amp;gt;orig[cam].linked_idx reads over the end of
uc-&amp;gt;orig[]. The byte read from there is then used as the index for
writing cam into uc-&amp;gt;updated[new_cam].active_idx, so the out-of-bounds
read is followed by an out-of-bounds write. This happens without any
userspace action, since the UCSI core issues GET_CURRENT_CAM on its own
when handling connector changes.&lt;/p&gt;
&lt;p&gt;Fix this by rejecting responses whose index is out of range, printing an
error and returning -EPROTO, so that the caller cannot accept this.
Also check linked_idx before using it as an index, so that the write into
uc-&amp;gt;updated[] is alw…&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;usb: typec: ucsi: ccg: Validate altmode index in GET_CURRENT_CAM response&lt;/p&gt;
&lt;p&gt;When the PPM reports more than one DisplayPort alternate mode for a
connector, ucsi_ccg_update_altmodes() merges them into a single entry
in uc-&amp;gt;updated[] and sets uc-&amp;gt;has_multiple_dp. In that case,
ucsi_ccg_update_get_current_cam_cmd() rewrites the response of the
GET_CURRENT_CAM command. The response is a single byte holding the
index of the currently active alternate mode, and it is provided by
the PPM firmware.&lt;/p&gt;
&lt;p&gt;The function uses this byte directly as an index into uc-&amp;gt;orig[], and
then uses the linked_idx read from that entry as the translated index
into uc-&amp;gt;updated[]. Both arrays have UCSI_MAX_ALTMODES entries, but
neither index is checked against that size.&lt;/p&gt;
&lt;p&gt;If a malicious or buggy PPM reports a value of UCSI_MAX_ALTMODES or
larger, e.g. 0xFF, uc-&amp;gt;orig[cam].linked_idx reads over the end of
uc-&amp;gt;orig[]. The byte read from there is then used as the index for
writing cam into uc-&amp;gt;updated[new_cam].active_idx, so the out-of-bounds
read is followed by an out-of-bounds write. This happens without any
userspace action, since the UCSI core issues GET_CURRENT_CAM on its own
when handling connector changes.&lt;/p&gt;
&lt;p&gt;Fix this by rejecting responses whose index is out of range, printing an
error and returning -EPROTO, so that the caller cannot accept this.
Also check linked_idx before using it as an index, so that the write into
uc-&amp;gt;updated[] is alw…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138843</guid>
    </item>
  </channel>
</rss>
