CVE-2025-38706 ASoC: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime()

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's ASoC core allows local attackers to cause a system crash during module removal.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38706?

CVE-2025-38706 is a medium-severity vulnerability in Debian Debian Linux, published on 4 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2025-38706?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38706?

Apply the vendor's patch.

Is CVE-2025-38706 being exploited?

There is no known exploitation of CVE-2025-38706 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-66896, AZL-75161, BELL-CVE-2025-38706, DEBIAN-CVE-2025-38706, GHSA-9c77-w28p-48g4, ROOT-OS-DEBIAN-11-CVE-2025-38706 and 4 more.

Is CVE-2025-38706 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free