CVE-2024-50007 ALSA: asihpi: Fix potential OOB array access

High 7.8 Published Updated

A missing bounds check in the ALSA asihpi driver allows out-of-bounds array access, potentially leading to memory corruption or system crashes.

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-50007?

CVE-2024-50007 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 21 Oct 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: asihpi: Fix potential OOB array access

ASIHPI driver stores some values in the static array upon a response from the driver, and its index depends on the firmware. We shouldn't trust it blindly.

This patch adds a sanity check of the array index to fit in the array size.

Weakness: CWE-129

Which versions are affected by CVE-2024-50007?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-50007?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-50007 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-52138, BELL-CVE-2024-50007, DEBIAN-CVE-2024-50007, GHSA-48wg-55fj-pvx6, UBUNTU-CVE-2024-50007.

Is CVE-2024-50007 in your software?

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

Check your SBOMs for free