CVE-2024-38605

linux: In the Linux kernel, the following vulnerability has been resolved: ALSA: core: Fix NULL module pointer assignment a...

CVE-2024-38605 is fixed in 84 products on 1 platform, first by DEBIAN-CVE-2024-38605, released June 19, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0075
55th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool · RHEL 9 0:7.4.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
bpftool · ol 9 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
dtb-aarch64 · opensuse-leap 15.6 6.4.0-150600.23.14.1 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-64k · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug-devel-matched · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-debug-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-devel-matched · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64k-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-64kb · opensuse-leap 15.6 6.4.0-150600.23.14.1 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-64kb · sles 15.6 6.4.0-150600.23.14.1 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-abi-stablelists · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-abi-stablelists · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-azure · opensuse-leap 15.6 6.4.0-150600.8.8.2 SUSE-SU-2024:2896-1 Aug 13, 2024
kernel-azure · sles 15.6 6.4.0-150600.8.8.2 SUSE-SU-2024:2896-1 Aug 13, 2024
kernel-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-core · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-cross-headers · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-debug-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-core · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-devel · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug-devel-matched · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-devel-matched · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-modules · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-modules-core · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-modules-extra · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-debug-uki-virt · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-debug-uki-virt · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-default · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-default · sles 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-default-base · opensuse-leap 15.6 6.4.0-150600.23.14.2.150600.12.4.3 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-default-base · sles 15.6 6.4.0-150600.23.14.2.150600.12.4.3 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-devel · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-devel-matched · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-devel-matched · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-doc · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-doc · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-docs · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-docs · sles 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-headers · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-kvmsmall · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-livepatch-SLE15-SP6-RT_Update_1 · sles 15.6 1-150600.1.5.1 SUSE-SU-2024:2973-1 Aug 20, 2024
kernel-livepatch-SLE15-SP6_Update_2 · sles 15.6 1-150600.13.3.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-modules · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-modules-core · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-modules-extra · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-obs-build · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-obs-build · sles 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-obs-qa · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-rt · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt · opensuse-leap 15.6 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1 Aug 20, 2024
kernel-rt-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug-kvm · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-debug-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-kvm · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-rt_debug · opensuse-leap 15.6 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1 Aug 20, 2024
kernel-source · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-source · sles 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-source-azure · opensuse-leap 15.6 6.4.0-150600.8.8.2 SUSE-SU-2024:2896-1 Aug 13, 2024
kernel-source-azure · sles 15.6 6.4.0-150600.8.8.2 SUSE-SU-2024:2896-1 Aug 13, 2024
kernel-source-rt · opensuse-leap 15.6 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1 Aug 20, 2024
kernel-syms · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-syms · sles 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-syms-azure · opensuse-leap 15.6 6.4.0-150600.8.8.1 SUSE-SU-2024:2896-1 Aug 13, 2024
kernel-syms-azure · sles 15.6 6.4.0-150600.8.8.1 SUSE-SU-2024:2896-1 Aug 13, 2024
kernel-syms-rt · opensuse-leap 15.6 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1 Aug 20, 2024
kernel-tools · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-tools · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-tools-libs · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-tools-libs · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-tools-libs-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-tools-libs-devel · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-uki-virt · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-uki-virt · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-uki-virt-addons · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-uki-virt-addons · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
kernel-zfcpdump · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-zfcpdump · opensuse-leap 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-zfcpdump · sles 15.6 6.4.0-150600.23.14.2 SUSE-SU-2024:2571-1 Jul 22, 2024
kernel-zfcpdump-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-zfcpdump-devel · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-zfcpdump-devel-matched · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-zfcpdump-modules · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-zfcpdump-modules-core · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
kernel-zfcpdump-modules-extra · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
libperf · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
libperf · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
linux · Debian 12.15 (bookworm) 6.1.94-1 DEBIAN-CVE-2024-38605 Jun 19, 2024
linux · Debian 13.5 (trixie) 6.8.12-1 DEBIAN-CVE-2024-38605 Jun 19, 2024
linux · Debian 14 6.8.12-1 DEBIAN-CVE-2024-38605 Jun 19, 2024
perf · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
perf · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
python3-perf · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
python3-perf · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
rtla · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
rtla · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024
rv · RHEL 9 0:5.14.0-503.11.1.el9_5 RHSA-2024:9315 Nov 12, 2024
rv · ol 9 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315 Nov 14, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.