<?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>Wed, 30 Sep 2026 11:05:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-42088 — ASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link</title>
      <link>https://db.gcve.eu/vuln/cve-2024-42088</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;ASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link&lt;/p&gt;
&lt;p&gt;Commit e70b8dd26711 (&amp;#34;ASoC: mediatek: mt8195: Remove afe-dai component
and rework codec link&amp;#34;) removed the codec entry for the ETDM1_OUT_BE
dai link entirely instead of replacing it with COMP_EMPTY(). This worked
by accident as the remaining COMP_EMPTY() platform entry became the codec
entry, and the platform entry became completely empty, effectively the
same as COMP_DUMMY() since snd_soc_fill_dummy_dai() doesn&amp;#39;t do anything
for platform entries.&lt;/p&gt;
&lt;p&gt;This causes a KASAN out-of-bounds warning in mtk_soundcard_common_probe()
in sound/soc/mediatek/common/mtk-soundcard-driver.c:&lt;/p&gt;
&lt;p&gt;for_each_card_prelinks(card, i, dai_link) {
		if (adsp_node &amp;amp;&amp;amp; !strncmp(dai_link-&amp;gt;name, &amp;#34;AFE_SOF&amp;#34;, strlen(&amp;#34;AFE_SOF&amp;#34;)))
			dai_link-&amp;gt;platforms-&amp;gt;of_node = adsp_node;
		else if (!dai_link-&amp;gt;platforms-&amp;gt;name &amp;amp;&amp;amp; !dai_link-&amp;gt;platforms-&amp;gt;of_node)
			dai_link-&amp;gt;platforms-&amp;gt;of_node = platform_node;
	}&lt;/p&gt;
&lt;p&gt;where the code expects the platforms array to have space for at least one entry.&lt;/p&gt;
&lt;p&gt;Add an COMP_EMPTY() entry so that dai_link-&amp;gt;platforms has space.&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;ASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link&lt;/p&gt;
&lt;p&gt;Commit e70b8dd26711 (&amp;#34;ASoC: mediatek: mt8195: Remove afe-dai component
and rework codec link&amp;#34;) removed the codec entry for the ETDM1_OUT_BE
dai link entirely instead of replacing it with COMP_EMPTY(). This worked
by accident as the remaining COMP_EMPTY() platform entry became the codec
entry, and the platform entry became completely empty, effectively the
same as COMP_DUMMY() since snd_soc_fill_dummy_dai() doesn&amp;#39;t do anything
for platform entries.&lt;/p&gt;
&lt;p&gt;This causes a KASAN out-of-bounds warning in mtk_soundcard_common_probe()
in sound/soc/mediatek/common/mtk-soundcard-driver.c:&lt;/p&gt;
&lt;p&gt;for_each_card_prelinks(card, i, dai_link) {
		if (adsp_node &amp;amp;&amp;amp; !strncmp(dai_link-&amp;gt;name, &amp;#34;AFE_SOF&amp;#34;, strlen(&amp;#34;AFE_SOF&amp;#34;)))
			dai_link-&amp;gt;platforms-&amp;gt;of_node = adsp_node;
		else if (!dai_link-&amp;gt;platforms-&amp;gt;name &amp;amp;&amp;amp; !dai_link-&amp;gt;platforms-&amp;gt;of_node)
			dai_link-&amp;gt;platforms-&amp;gt;of_node = platform_node;
	}&lt;/p&gt;
&lt;p&gt;where the code expects the platforms array to have space for at least one entry.&lt;/p&gt;
&lt;p&gt;Add an COMP_EMPTY() entry so that dai_link-&amp;gt;platforms has space.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2024-42088</guid>
    </item>
  </channel>
</rss>
