CVE-2024-35842: ASoC: mediatek: sof-common: Add NULL check for normal_link string

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: sof-common: Add NULL check for normallink string

It's not granted that all entries of struct sofconnstream declare a normallink (a non-SOF, direct link) string, and this is the case for SoCs that support only SOF paths (hence do not support both direct and SOF usecases).

For example, in the case of MT8188 there is no normallink string in any of the sofconnstream entries and there will be more drivers doing that in the future.

To avoid possible NULL pointer KPs, add a NULL check for normallink.

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=6.0<6.1.75
Linux Linux kernel>=6.2<6.6.14
Linux Linux kernel>=6.7<6.7.2
debian/linux<6.1.76-1
6.1.76-1
debian/linux<6.7.7-1
6.7.7-1
debian/linux<6.7.7-1
6.7.7-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Compensating control

    Add a NULL check for the `normal_link` string in `ASoC: mediatek: sof-common` to avoid possible NULL pointer KPs when `sof_conn_stream` entries omit `normal_link`.

Event History

May 17, 2024
CVE Published
via MITRE·02:27 PM
Data Sourced
via MITRE·02:27 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35842?

CVE-2024-35842 has a medium severity level due to potential security implications in the Linux kernel.

2

How do I fix CVE-2024-35842?

To resolve CVE-2024-35842, upgrade your Linux kernel to one of the fixed versions such as 5.10.223-1, 6.1.119-1, or later.

3

Which versions of the Linux kernel are affected by CVE-2024-35842?

CVE-2024-35842 affects various versions of the Linux kernel prior to the patches in 5.10.223-1 and 6.1.119-1.

4

What components are impacted by CVE-2024-35842?

CVE-2024-35842 impacts the ASoC (ALSA System on Chip) subsystem in the Linux kernel.

5

Is CVE-2024-35842 specific to certain hardware?

CVE-2024-35842 is related to specific SoCs (System on Chips) that utilize the ASoC framework in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203