DEBIAN-CVE-2024-42088

Source
https://security-tracker.debian.org/tracker/CVE-2024-42088
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-42088.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-42088
Upstream
Published
2024-07-29T17:15:11Z
Modified
2025-09-26T09:00:33Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8195: Add platform entry for ETDM1OUTBE dai link Commit e70b8dd26711 ("ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link") removed the codec entry for the ETDM1OUTBE dai link entirely instead of replacing it with COMPEMPTY(). This worked by accident as the remaining COMPEMPTY() platform entry became the codec entry, and the platform entry became completely empty, effectively the same as COMPDUMMY() since sndsocfilldummydai() doesn't do anything for platform entries. This causes a KASAN out-of-bounds warning in mtksoundcardcommonprobe() in sound/soc/mediatek/common/mtk-soundcard-driver.c: foreachcardprelinks(card, i, dailink) { if (adspnode && !strncmp(dailink->name, "AFESOF", strlen("AFESOF"))) dailink->platforms->ofnode = adspnode; else if (!dailink->platforms->name && !dailink->platforms->ofnode) dailink->platforms->ofnode = platformnode; } where the code expects the platforms array to have space for at least one entry. Add an COMPEMPTY() entry so that dai_link->platforms has space.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.9.8-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.9.8-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}