Bug 1227818 (CVE-2024-40964) - VUL-0: CVE-2024-40964: kernel: ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
Summary: VUL-0: CVE-2024-40964: kernel: ALSA: hda: cs35l41: Possible null pointer dere...
Status: REOPENED
Alias: CVE-2024-40964
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413891/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 13:26 UTC by SMASH SMASH
Modified: 2024-07-17 08:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-15 13:26:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()

The cs35l41_hda_unbind() function clears the hda_component entry
matching it's index and then dereferences the codec pointer held in the
first element of the hda_component array, this is an issue when the
device index was 0.

Instead use the codec pointer stashed in the cs35l41_hda structure as it
will still be valid.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40964
https://www.cve.org/CVERecord?id=CVE-2024-40964
https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819
https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c
https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40964.mbox