CVE-2024-50292
"STM32 ASoC DMA Channel Release Null Pointer Dereference Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove In case of error when requesting ctrl_chan DMA channel, ctrl_chan is not null. So the release of the dma channel leads to the following issue: [ 4.879000] st,stm32-spdifrx 500d0000.audio-controller: dma_request_slave_channel error -19 [ 4.888975] Unable to handle kernel NULL pointer dereference at virtual address 000000000000003d [...] [ 5.096577] Call trace: [ 5.099099] dma_release_channel+0x24/0x100 [ 5.103235] stm32_spdifrx_remove+0x24/0x60 [snd_soc_stm32_spdifrx] [ 5.109494] stm32_spdifrx_probe+0x320/0x4c4 [snd_soc_stm32_spdifrx] To avoid this issue, release channel only if the pointer is valid.
INFO
Published Date :
Nov. 19, 2024, 2:16 a.m.
Last Modified :
Jan. 7, 2025, 4:10 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50292
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50292
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50292
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7 up to (excluding) 5.10.230 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.172 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.117 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.61 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.8 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/0d75f887aabd80cf37ea48d28f159afa7850ea28 No Types Assigned https://git.kernel.org/stable/c/0d75f887aabd80cf37ea48d28f159afa7850ea28 Patch Changed Reference Type https://git.kernel.org/stable/c/22ae9321054cf7f36c537702af133659f51a0b88 No Types Assigned https://git.kernel.org/stable/c/22ae9321054cf7f36c537702af133659f51a0b88 Patch Changed Reference Type https://git.kernel.org/stable/c/23bdbd1ef3e063e03d3c50c15a591b005ebbae39 No Types Assigned https://git.kernel.org/stable/c/23bdbd1ef3e063e03d3c50c15a591b005ebbae39 Patch Changed Reference Type https://git.kernel.org/stable/c/3a977b554f668382dfba31fd62e4cce4fe5643db No Types Assigned https://git.kernel.org/stable/c/3a977b554f668382dfba31fd62e4cce4fe5643db Patch Changed Reference Type https://git.kernel.org/stable/c/4f1d74f74752eab8af6b8b28797dc6490d57374c No Types Assigned https://git.kernel.org/stable/c/4f1d74f74752eab8af6b8b28797dc6490d57374c Patch Changed Reference Type https://git.kernel.org/stable/c/9bb4af400c386374ab1047df44c508512c08c31f No Types Assigned https://git.kernel.org/stable/c/9bb4af400c386374ab1047df44c508512c08c31f Patch -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 19, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove In case of error when requesting ctrl_chan DMA channel, ctrl_chan is not null. So the release of the dma channel leads to the following issue: [ 4.879000] st,stm32-spdifrx 500d0000.audio-controller: dma_request_slave_channel error -19 [ 4.888975] Unable to handle kernel NULL pointer dereference at virtual address 000000000000003d [...] [ 5.096577] Call trace: [ 5.099099] dma_release_channel+0x24/0x100 [ 5.103235] stm32_spdifrx_remove+0x24/0x60 [snd_soc_stm32_spdifrx] [ 5.109494] stm32_spdifrx_probe+0x320/0x4c4 [snd_soc_stm32_spdifrx] To avoid this issue, release channel only if the pointer is valid. Added Reference kernel.org https://git.kernel.org/stable/c/3a977b554f668382dfba31fd62e4cce4fe5643db [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0d75f887aabd80cf37ea48d28f159afa7850ea28 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4f1d74f74752eab8af6b8b28797dc6490d57374c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/23bdbd1ef3e063e03d3c50c15a591b005ebbae39 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/22ae9321054cf7f36c537702af133659f51a0b88 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9bb4af400c386374ab1047df44c508512c08c31f [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50292
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50292
weaknesses.