<?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>Tue, 29 Sep 2026 00:23:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-49970 — drm/amd/display: Implement bounds check for stream encoder creation in DCN401</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-49970</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;drm/amd/display: Implement bounds check for stream encoder creation in DCN401&lt;/p&gt;
&lt;p&gt;&amp;#39;stream_enc_regs&amp;#39; array is an array of dcn10_stream_enc_registers
structures. The array is initialized with four elements, corresponding
to the four calls to stream_enc_regs() in the array initializer. This
means that valid indices for this array are 0, 1, 2, and 3.&lt;/p&gt;
&lt;p&gt;The error message &amp;#39;stream_enc_regs&amp;#39; 4 &amp;lt;= 5 below, is indicating that
there is an attempt to access this array with an index of 5, which is
out of bounds. This could lead to undefined behavior&lt;/p&gt;
&lt;p&gt;Here, eng_id is used as an index to access the stream_enc_regs array. If
eng_id is 5, this would result in an out-of-bounds access on the
stream_enc_regs array.&lt;/p&gt;
&lt;p&gt;Thus fixing Buffer overflow error in dcn401_stream_encoder_create&lt;/p&gt;
&lt;p&gt;Found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c:1209 dcn401_stream_encoder_create() error: buffer overflow &amp;#39;stream_enc_regs&amp;#39; 4 &amp;lt;= 5&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;drm/amd/display: Implement bounds check for stream encoder creation in DCN401&lt;/p&gt;
&lt;p&gt;&amp;#39;stream_enc_regs&amp;#39; array is an array of dcn10_stream_enc_registers
structures. The array is initialized with four elements, corresponding
to the four calls to stream_enc_regs() in the array initializer. This
means that valid indices for this array are 0, 1, 2, and 3.&lt;/p&gt;
&lt;p&gt;The error message &amp;#39;stream_enc_regs&amp;#39; 4 &amp;lt;= 5 below, is indicating that
there is an attempt to access this array with an index of 5, which is
out of bounds. This could lead to undefined behavior&lt;/p&gt;
&lt;p&gt;Here, eng_id is used as an index to access the stream_enc_regs array. If
eng_id is 5, this would result in an out-of-bounds access on the
stream_enc_regs array.&lt;/p&gt;
&lt;p&gt;Thus fixing Buffer overflow error in dcn401_stream_encoder_create&lt;/p&gt;
&lt;p&gt;Found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c:1209 dcn401_stream_encoder_create() error: buffer overflow &amp;#39;stream_enc_regs&amp;#39; 4 &amp;lt;= 5&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-49970</guid>
    </item>
  </channel>
</rss>
