CVE-2021-46926 ALSA: hda: intel-sdw-acpi: harden detection of controller

Medium 5.5 Published Updated

A logic error in the Linux kernel's SoundWire controller detection can lead to a null pointer dereference, 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-2021-46926?

CVE-2021-46926 is a medium-severity vulnerability in Linux kernel, published on 27 Feb 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: intel-sdw-acpi: harden detection of controller

The existing code currently sets a pointer to an ACPI handle before checking that it's actually a SoundWire controller. This can lead to issues where the graph walk continues and eventually fails, but the pointer was set already.

This patch changes the logic so that the information provided to the caller is set when a controller is found.

Which versions are affected by CVE-2021-46926?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-46926?

Apply the vendor's patch.

Is CVE-2021-46926 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-46926, GHSA-g85h-w3x6-7g28, ROOT-OS-DEBIAN-11-CVE-2021-46926, UBUNTU-CVE-2021-46926.

Is CVE-2021-46926 in your software?

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

Check your SBOMs for free