CVE-2024-35842

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

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
May 11, 2026
Reserved
May 17, 2024

Read the record on cve.org

Description

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

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

It's not granted that all entries of struct sof_conn_stream declare a `normal_link` (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 normal_link string in any of the sof_conn_stream entries and there will be more drivers doing that in the future.

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0caf1120c58395108344d5df4e09359b67e95094 to before cad471227a37c0c7c080bfc9ed01b53750e82afeAffected
  • 0caf1120c58395108344d5df4e09359b67e95094 to before b1d3db6740d0997ffc6e5a0d96ef7cbd62b35fddAffected
  • 0caf1120c58395108344d5df4e09359b67e95094 to before cde6ca5872bf67744dffa875a7cb521ab007b7efAffected
  • 0caf1120c58395108344d5df4e09359b67e95094 to before e3b3ec967a7d93b9010a5af9a2394c8b5c8f31edAffected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.75 through 6.1.*Not affected
  • 6.6.14 through 6.6.*Not affected
  • 6.7.2 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.