CVE-2023-52674: Linux Kernel ALSA Scarlett2 Mixer Control Vulnerability
Summary
CVE-2023-52674: 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_VALU... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. The ALSA (Advanced Linux Sound Architecture) subsystem is responsible for sound device management, enabling audio playback and recording. The Scarlett2 mixer control is a specific feature within ALSA that allows users to adjust audio settings for Scarlett2 devices. This vulnerability affects the integrity of the mixer control by allowing out-of-bounds access, potentially leading to system instability or crashes.
Vulnerability Detail
CVE-2023-52674 is a vulnerability in the Linux kernel's ALSA subsystem, specifically within the scarlett2_mixer_ctl_put() function. The issue arises when the function does not properly clamp the values passed to it, allowing values outside the expected range (0 to SCARLETT2_MIXER_MAX_VALUE) to be processed. This can lead to attempts to access memory locations outside the scarlett2_mixer_values[] array, resulting in undefined behavior, potential data corruption, or system crashes. The vulnerability has been resolved in subsequent kernel updates.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can avoid using the scarlett2 mixer control until the kernel is updated. This may involve using alternative audio settings or devices that do not rely on the affected functionality.
Conclusion
CVE-2023-52674 is a significant vulnerability affecting the Linux kernel's ALSA subsystem, specifically the Scarlett2 mixer control. Users are advised to update their kernel to mitigate the risks associated with this vulnerability. Temporary workarounds are available, but the best course of action is to apply the necessary updates as soon as possible.
See every vulnerability recorded for linux →
FAQ
CVE-2023-52674 is a vulnerability in the Linux kernel's ALSA subsystem that allows for out-of-bounds access in the scarlett2_mixer_ctl_put() function.
This vulnerability can lead to system instability, crashes, or data corruption if exploited, particularly when using the Scarlett2 mixer control.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected by this vulnerability without any signup.
If an immediate update is not possible, consider avoiding the use of the scarlett2 mixer control as a temporary workaround.
More information about CVE-2023-52674 can be found in the official Linux kernel security advisories and on vulnerability databases.
Related vulnerabilities
Recent vulnerabilities recorded for linux.