ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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[].
From the CVE record · Linux
The Linux kernel's ALSA scarlett2 mixer control did not clamp values passed to scarlett2_mixer_ctl_put(). A value outside the expected range could cause an access outside scarlett2_mixer_values[]. The input does not specify how an attacker could supply that value or whether authentication, network access, or user interaction is required.
Engineers running Linux kernels with the ALSA scarlett2 component should check their installations; affected versions are not specified.