Bug 1226761 (CVE-2024-38551)

Summary: VUL-0: CVE-2024-38551: kernel: ASoC: mediatek: assign dummy when codec not specified for a DAI link
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: camila.matos, gabriel.bertazi
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/411436/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38551:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-06-21 12:28:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: Assign dummy when codec not specified for a DAI link

MediaTek sound card drivers are checking whether a DAI link is present
and used on a board to assign the correct parameters and this is done
by checking the codec DAI names at probe time.

If no real codec is present, assign the dummy codec to the DAI link
to avoid NULL pointer during string comparison.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38551
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38551.mbox
https://git.kernel.org/stable/c/87b8dca6e06f9b1681bc52bf7bfa85c663a11158
https://git.kernel.org/stable/c/cbbcabc7f0979f6542372cf88d7a9da7143a4226
https://git.kernel.org/stable/c/0c052b1c11d8119f3048b1f7b3c39a90500cacf9
https://git.kernel.org/stable/c/5f39231888c63f0a7708abc86b51b847476379d8
https://www.cve.org/CVERecord?id=CVE-2024-38551
https://bugzilla.redhat.com/show_bug.cgi?id=2293448