CVE-2023-52674 ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()

Medium 5.5 Published Updated

A missing bounds check in the ALSA Scarlett2 driver allows out-of-bounds memory access, potentially 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-52674?

CVE-2023-52674 is a medium-severity memory corruption vulnerability in Linux kernel, published on 17 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: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()

Ensure the value passed to scarlett2_mixer_ctl_put() is between 0 and SCARLETT2_MIXER_MAX_VALUE so we don't attempt to access outside scarlett2_mixer_values[].

Which versions are affected by CVE-2023-52674?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52674?

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-2023-52674 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52674, DEBIAN-CVE-2023-52674, GHSA-pqp3-8qxf-mjx8, ROOT-OS-DEBIAN-11-CVE-2023-52674, UBUNTU-CVE-2023-52674.

Is CVE-2023-52674 in your software?

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

Check your SBOMs for free