CVE-2024-41037 ASoC: SOF: Intel: hda: fix null deref on system suspend entry

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's Intel HDA driver during system suspend can cause a denial of service.

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-2024-41037?

CVE-2024-41037 is a medium-severity vulnerability in Linux kernel, published on 29 Jul 2024. 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: SOF: Intel: hda: fix null deref on system suspend entry

When system enters suspend with an active stream, SOF core calls hw_params_upon_resume(). On Intel platforms with HDA DMA used to manage the link DMA, this leads to call chain of

hda_dsp_set_hw_params_upon_resume() -> hda_dsp_dais_suspend() -> hda_dai_suspend() -> hda_ipc4_post_trigger()

A bug is hit in hda_dai_suspend() as hda_link_dma_cleanup() is run first, which clears hext_stream->link_substream, and then hda_ipc4_post_trigger() is called with a NULL snd_pcm_substream pointer.

Weakness: CWE-476

Which versions are affected by CVE-2024-41037?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-41037?

Apply the vendor's patch.

Is CVE-2024-41037 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-47546, BELL-CVE-2024-41037, DEBIAN-CVE-2024-41037, GHSA-jvmg-77fx-pxw2, UBUNTU-CVE-2024-41037.

Is CVE-2024-41037 in your software?

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

Check your SBOMs for free