Vulnerability 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`.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.0, < 6.1.75 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/b1d3db6740d0997ffc6e5a0d96ef7cbd62b35fddPatch
- https://git.kernel.org/stable/c/cad471227a37c0c7c080bfc9ed01b53750e82afePatch
- https://git.kernel.org/stable/c/cde6ca5872bf67744dffa875a7cb521ab007b7efPatch
- https://git.kernel.org/stable/c/e3b3ec967a7d93b9010a5af9a2394c8b5c8f31edPatch
- https://git.kernel.org/stable/c/b1d3db6740d0997ffc6e5a0d96ef7cbd62b35fddPatch
- https://git.kernel.org/stable/c/cad471227a37c0c7c080bfc9ed01b53750e82afePatch
- https://git.kernel.org/stable/c/cde6ca5872bf67744dffa875a7cb521ab007b7efPatch
- https://git.kernel.org/stable/c/e3b3ec967a7d93b9010a5af9a2394c8b5c8f31edPatch
FAQ
What is CVE-2024-35842?
CVE-2024-35842 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 decl...
How severe is CVE-2024-35842?
CVE-2024-35842 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35842?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.