<?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>Tue, 29 Sep 2026 11:34:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50131 — HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()</title>
      <link>https://db.gcve.eu/vuln/cve-2022-50131</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;HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()&lt;/p&gt;
&lt;p&gt;Smatch Warning:
drivers/hid/hid-mcp2221.c:388 mcp_smbus_write() error: __memcpy()
&amp;#39;&amp;amp;mcp-&amp;gt;txbuf[5]&amp;#39; too small (59 vs 255)
drivers/hid/hid-mcp2221.c:388 mcp_smbus_write() error: __memcpy() &amp;#39;buf&amp;#39;
too small (34 vs 255)&lt;/p&gt;
&lt;p&gt;The &amp;#39;len&amp;#39; variable can take a value between 0-255 as it can come from
data-&amp;gt;block[0] and it is user data. So add an bound check to prevent a
buffer overflow in memcpy().&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;HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()&lt;/p&gt;
&lt;p&gt;Smatch Warning:
drivers/hid/hid-mcp2221.c:388 mcp_smbus_write() error: __memcpy()
&amp;#39;&amp;amp;mcp-&amp;gt;txbuf[5]&amp;#39; too small (59 vs 255)
drivers/hid/hid-mcp2221.c:388 mcp_smbus_write() error: __memcpy() &amp;#39;buf&amp;#39;
too small (34 vs 255)&lt;/p&gt;
&lt;p&gt;The &amp;#39;len&amp;#39; variable can take a value between 0-255 as it can come from
data-&amp;gt;block[0] and it is user data. So add an bound check to prevent a
buffer overflow in memcpy().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-50131</guid>
    </item>
  </channel>
</rss>
