PT-2024-34117 · Linux+7 · Linux Kernel+7

Published

2024-11-05

·

Updated

2025-10-03

·

CVE-2024-50292

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel (affected versions not specified)
Description: A vulnerability in the Linux kernel has been identified, related to the ASoC: stm32: spdifrx component. The issue arises when requesting the ctrl chan DMA channel, where an error can lead to a NULL pointer dereference. This results in a kernel error, as evidenced by the call trace involving dma release channel+0x24/0x100, stm32 spdifrx remove+0x24/0x60, and stm32 spdifrx probe+0x320/0x4c4. The problem occurs because the ctrl chan is not null when an error happens, causing issues when releasing the DMA channel.
Recommendations: To resolve this issue, ensure that the DMA channel is released only if the pointer is valid. This can be achieved by modifying the stm32 spdifrx remove function to check the validity of the ctrl chan pointer before releasing the channel. As a temporary workaround, consider disabling the stm32 spdifrx probe function until a patch is available. However, the most effective solution is to update the Linux kernel with the fix for the ASoC: stm32: spdifrx component, which ensures that the DMA channel is released correctly. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-17891
ALT-PU-2025-12647
AZL-54927
BDU:2025-03349
CVE-2024-50292
DLA-4008-1
DLA-4075-1
DSA-5818-1
OESA-2024-2533
OESA-2024-2534
OESA-2024-2536
OESA-2024-2537
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4315-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2024_4376-1
SUSE-SU-2024:4314-1
SUSE-SU-2024:4315-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4376-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7288-1
USN-7288-2
USN-7289-1
USN-7289-2
USN-7289-3
USN-7289-4
USN-7291-1
USN-7305-1
USN-7308-1
USN-7310-1
USN-7331-1
USN-7388-1
USN-7389-1
USN-7390-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu