{"id":"DEBIAN-CVE-2024-42088","details":"In the Linux kernel, the following vulnerability has been resolved:  ASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link  Commit e70b8dd26711 (\"ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link\") 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't do anything for platform entries.  This causes a KASAN out-of-bounds warning in mtk_soundcard_common_probe() in sound/soc/mediatek/common/mtk-soundcard-driver.c:  \tfor_each_card_prelinks(card, i, dai_link) { \t\tif (adsp_node && !strncmp(dai_link-\u003ename, \"AFE_SOF\", strlen(\"AFE_SOF\"))) \t\t\tdai_link-\u003eplatforms-\u003eof_node = adsp_node; \t\telse if (!dai_link-\u003eplatforms-\u003ename && !dai_link-\u003eplatforms-\u003eof_node) \t\t\tdai_link-\u003eplatforms-\u003eof_node = platform_node; \t}  where the code expects the platforms array to have space for at least one entry.  Add an COMP_EMPTY() entry so that dai_link-\u003eplatforms has space.","modified":"2026-10-01T11:03:30.120699619Z","published":"2024-07-29T17:15:11.457Z","upstream":["CVE-2024-42088"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-42088"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9.8-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-42088.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9.8-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-42088.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}