CVE-2023-52806 ALSA: hda: Fix possible null-ptr-deref when assigning a stream

Medium 5.5 Published Updated

A local attacker can trigger a null pointer dereference in the Linux kernel ALSA HDA driver, causing a system crash.

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-2023-52806?

CVE-2023-52806 is a medium-severity vulnerability in Linux kernel, published on 21 May 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:

ALSA: hda: Fix possible null-ptr-deref when assigning a stream

While AudioDSP drivers assign streams exclusively of HOST or LINK type, nothing blocks a user to attempt to assign a COUPLED stream. As supplied substream instance may be a stub, what is the case when code-loading, such scenario ends with null-ptr-deref.

Weakness: CWE-476

Which versions are affected by CVE-2023-52806?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52806?

Apply the vendor's patch.

Is CVE-2023-52806 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52806, DEBIAN-CVE-2023-52806, GHSA-5jjf-3vj6-wjxf, UBUNTU-CVE-2023-52806.

Is CVE-2023-52806 in your software?

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

Check your SBOMs for free