{"uuid": "3c31a823-2558-4baf-99de-60f7acce4f3d", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-42088", "type": "seen", "source": "https://t.me/cvedetector/1895", "content": "{\n  \"Source\": \"CVE FEED\",\n  \"Title\": \"CVE-2024-42088 - Mediatek Linux Kernel uninitialized data structure vulnerability\", \n  \"Content\": \"CVE ID : CVE-2024-42088 \nPublished : July 29, 2024, 5:15 p.m. | 17\u00a0minutes ago \nDescription : In the Linux kernel, the following vulnerability has been resolved:  \n  \nASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link  \n  \nCommit e70b8dd26711 (\"ASoC: mediatek: mt8195: Remove afe-dai component  \nand rework codec link\") removed the codec entry for the ETDM1_OUT_BE  \ndai link entirely instead of replacing it with COMP_EMPTY(). This worked  \nby accident as the remaining COMP_EMPTY() platform entry became the codec  \nentry, and the platform entry became completely empty, effectively the  \nsame as COMP_DUMMY() since snd_soc_fill_dummy_dai() doesn't do anything  \nfor platform entries.  \n  \nThis causes a KASAN out-of-bounds warning in mtk_soundcard_common_probe()  \nin sound/soc/mediatek/common/mtk-soundcard-driver.c:  \n  \n for_each_card_prelinks(card, i, dai_link) {  \n  if (adsp_node &amp;&amp; !strncmp(dai_link-&gt;name, \"AFE_SOF\", strlen(\"AFE_SOF\")))  \n   dai_link-&gt;platforms-&gt;of_node = adsp_node;  \n  else if (!dai_link-&gt;platforms-&gt;name &amp;&amp; !dai_link-&gt;platforms-&gt;of_node)  \n   dai_link-&gt;platforms-&gt;of_node = platform_node;  \n }  \n  \nwhere the code expects the platforms array to have space for at least one entry.  \n  \nAdd an COMP_EMPTY() entry so that dai_link-&gt;platforms has space. \nSeverity: 0.0 | NA \nVisit the link for more details, such as CVSS details, affected products, timeline, and more...\",\n  \"Detection Date\": \"29 Jul 2024\",\n  \"Type\": \"Vulnerability\"\n}\n\ud83d\udd39 t.me/cvedetector \ud83d\udd39", "creation_timestamp": "2024-07-29T19:38:57.000000Z"}