CVE-2025-38706
JSON

5.5medium

ASoC: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime() snd_soc_remove_pcm_runtime() might be called with rtd == NULL which will leads to null pointer dereference. This was reproduced with topology loading and marking a link as ignore due to missing hardware component on the system. On module removal the soc_tplg_remove_link() would call snd_soc_remove_pcm_runtime() with rtd == NULL since the link was ignored, no runtime was created.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 8b465bedc2b417fd27c1d1ab7122882b4b60b1a0, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 82ba7b8cf9f6e3bf392a9f08ba3d1c0b200ccb94, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 7f8fc03712194fd4e2df28af7f7f7a38205934ef, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 41f53afe53a57a7c50323f99424b598190acf192, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 2fce20decc6a83f16dd73744150c4e7ea6c97c21, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before cecc65827ef3df9754e097582d89569139e6cd1e, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 7ce0a7255ce97ed7c54afae83fdbce712a1f0c9e, from 50cd9b5317d5593d0a33f4227f56ddcc1bf66604 before 2d91cb261cac6d885954b8f5da28b5c176c18131 and 1 more
Not affected: before 5.6, from 5.10.241 up to 5.10.*, from 5.15.190 up to 5.15.*, from 6.1.149 up to 6.1.*, from 6.6.103 up to 6.6.*, from 6.12.43 up to 6.12.*
CVE List
linux linux_kernelfrom 5.6 before 5.10.241, from 5.11 before 5.15.190, from 5.16 before 6.1.149, from 6.2 before 6.6.103, from 6.7 before 6.12.43, from 6.13 before 6.15.11, from 6.16 before 6.16.2NVD
debian debian_linux11.0NVD

Classification

CWE-476

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: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime() snd_soc_remove_pcm_runtime() might be called with rtd == NULL which will leads to null pointer dereference. This was reproduced with topology loading and marking a link as ignore due to missing hardware component on the system. On module removal the soc_tplg_remove_link() would call snd_soc_remove_pcm_runtime() with rtd == NULL since the link was ignored, no runtime was created.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ASoC: core: Comprobar si rtd == NULL en snd_soc_remove_pcm_runtime() snd_soc_remove_pcm_runtime() podría ser llamada con rtd == NULL, lo que resultará en una desreferencia de puntero nulo. Esto fue reproducido con la carga de topología y marcando un enlace como ignorado debido a la falta de un componente de hardware en el sistema. Al eliminar el módulo, soc_tplg_remove_link() llamaría a snd_soc_remove_pcm_runtime() con rtd == NULL, ya que el enlace fue ignorado, no se creó ningún tiempo de ejecución.

References

https://git.kernel.org/stable/c/8b465bedc2b417fd27c1d1ab7122882b4b60b1a0patch
https://git.kernel.org/stable/c/82ba7b8cf9f6e3bf392a9f08ba3d1c0b200ccb94patch
https://git.kernel.org/stable/c/7f8fc03712194fd4e2df28af7f7f7a38205934efpatch
https://git.kernel.org/stable/c/41f53afe53a57a7c50323f99424b598190acf192patch
https://git.kernel.org/stable/c/2fce20decc6a83f16dd73744150c4e7ea6c97c21patch
https://git.kernel.org/stable/c/cecc65827ef3df9754e097582d89569139e6cd1epatch
https://git.kernel.org/stable/c/7ce0a7255ce97ed7c54afae83fdbce712a1f0c9epatch
https://git.kernel.org/stable/c/2d91cb261cac6d885954b8f5da28b5c176c18131patch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlthird-party-advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlthird-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-032379.html

Sources

SourceRecordLicence
CVE ListCVE-2025-38706 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-38706 changed 2026-11-05Public domain