5.5medium
ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 794df9448edb55978e50372f083aeedade1b2844 before 3a977b554f668382dfba31fd62e4cce4fe5643db, from 794df9448edb55978e50372f083aeedade1b2844 before 0d75f887aabd80cf37ea48d28f159afa7850ea28, from 794df9448edb55978e50372f083aeedade1b2844 before 4f1d74f74752eab8af6b8b28797dc6490d57374c, from 794df9448edb55978e50372f083aeedade1b2844 before 23bdbd1ef3e063e03d3c50c15a591b005ebbae39, from 794df9448edb55978e50372f083aeedade1b2844 before 22ae9321054cf7f36c537702af133659f51a0b88, from 794df9448edb55978e50372f083aeedade1b2844 before 9bb4af400c386374ab1047df44c508512c08c31f, 5.7 Not affected: before 5.7, from 5.10.230 up to 5.10.*, from 5.15.172 up to 5.15.*, from 6.1.117 up to 6.1.*, from 6.6.61 up to 6.6.*, from 6.11.8 up to 6.11.* | CVE List |
| linux linux_kernel | from 5.7 before 5.10.230, from 5.11 before 5.15.172, from 5.16 before 6.1.117, from 6.2 before 6.6.61, from 6.7 before 6.11.8, 6.12 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: stm32: spdifrx: corrige la liberación del canal DMA en stm32_spdifrx_remove En caso de error al solicitar el canal DMA ctrl_chan, ctrl_chan no es nulo. Por lo tanto, la liberación del canal DMA genera el siguiente problema: [4.879000] st,stm32-spdifrx 500d0000.audio-controller: error dma_request_slave_channel -19 [4.888975] No se puede manejar la desreferencia del puntero NULL del núcleo en la dirección virtual 000000000000003d [...] [5.096577] Rastreo de llamadas: [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] Para evitar este problema, libere el canal solo si el puntero es válido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50292 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-50292 changed 2026-06-17 | Public domain |