Menu

Star on GitHub · 3.2k

CVE-2024-38605

7.8 · HIGH

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") introd…

Published Jun 19, 2024CWE-476EPSS 0.75%

Overview

CVE-2024-38605 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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 WA

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-38605?

CVE-2024-38605 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-38605?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-38605?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-38605?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-38605 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all