Wind River Support Network

Meet the Support Network

Home CVE Database CVE-2024-38605

CVE-2024-38605

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: core: Fix NULL module pointer assignment at card init The commit 81033c6b584b (ALSA: core: Warn on empty module) introduced a WARN_ON() for a NULL module pointer passed at snd_card object creation, and it also wraps the code around it with \'#ifdef MODULE\'. This works in most cases, but the devils are always in details. MODULE is defined when the target code (i.e. the sound core) is built as a module; but this doesn\'t mean that the caller is also built-in or not. Namely, when only the sound core is built-in (CONFIG_SND=y) while the driver is a module (CONFIG_SND_USB_AUDIO=m), the passed module pointer is ignored even if it\'s non-NULL, and card->module remains as NULL. This would result in the missing module reference up/down at the device open/close, leading to a race with the code execution after the module removal. For addressing the bug, move the assignment of card->module again out of ifdef. The WARN_ON() is still wrapped with ifdef because the module can be really NULL when all sound drivers are built-in. Note that we keep \'ifdef MODULE\' for WARN_ON(), otherwise it would lead to a false-positive NULL module check. Admittedly it won\'t catch perfectly, i.e. no check is performed when CONFIG_SND=y. But, it\'s no real problem as it\'s only for debugging, and the condition is pretty rare.

Priority: --
CVSS v3: 8.8
Component: linux
Publish Date: Jun 19, 2024
Related ID: --
CVSS v2: HIGH
Modified Date: Jun 20, 2024

Find out more about CVE-2024-38605 from the MITRE-CVE dictionary and NIST NVD


Products Affected

Login may be required to access defects or downloads.

Product Name Status Defect Fixed Downloads
Linux
Wind River Linux LTS 17 Requires LTSS -- -- --
Wind River Linux 8 Requires LTSS -- -- --
Wind River Linux 9 Requires LTSS -- -- --
Wind River Linux 7 Requires LTSS -- -- --
Wind River Linux LTS 21 Investigate -- -- --
Wind River Linux LTS 22 Fixed LIN1022-9399
10.22.33.17 --
Wind River Linux LTS 18 Requires LTSS -- -- --
Wind River Linux LTS 19 Investigate -- -- --
Wind River Linux CD release N/A -- -- --
Wind River Linux 6 Requires LTSS -- -- --
Wind River Linux LTS 23 Fixed LIN1023-6689
10.23.30.12 --
VxWorks
VxWorks 7 Not Vulnerable -- -- --
VxWorks 6.9 Not Vulnerable -- -- --
Helix Virtualization Platform Cert Edition
Helix Virtualization Platform Cert Edition Not Vulnerable -- -- --
eLxr
eLxr 12 Vulnerable -- -- --

Related Products

Product Name Status Defect Fixed Downloads

Notes
Requires LTSS - customers must have active LTSS (Long Term Security Shield) Support to receive up-to-date information about vulnerabilities that may affect legacy software. Please contact your Wind River account team or see https://docs.windriver.com/bundle/Support_and_Maintenance_Supplemental_Terms_and_Conditions and https://support2.windriver.com/index.php?page=plc for more information.
Live chat
Online