CVE-2024-27436 ALSA: usb-audio: Stop parsing channels bits when all channels are found.

Medium 5.3 Published Updated

A malicious USB audio device can trigger an out-of-bounds write in the Linux kernel, potentially allowing local attackers to execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27436?

CVE-2024-27436 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 17 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: Stop parsing channels bits when all channels are found.

If a usb audio device sets more bits than the amount of channels it could write outside of the map array.

Weakness: CWE-787

Which versions are affected by CVE-2024-27436?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-27436?

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-27436 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27436, DEBIAN-CVE-2024-27436, GHSA-87hx-vm5x-2v44, UBUNTU-CVE-2024-27436.

Is CVE-2024-27436 in your software?

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

Check your SBOMs for free