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

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[].

Classification

CVE ID: CVE-2023-52674

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 17.81% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/e517645ead5ea22c69d2a44694baa23fe1ce7c2b
https://git.kernel.org/stable/c/d8d8897d65061cbe36bf2909057338303a904810
https://git.kernel.org/stable/c/03035872e17897ba89866940bbc9cefca601e572
https://git.kernel.org/stable/c/ad945ea8d47dd4454c271510bea24850119847c2
https://git.kernel.org/stable/c/04f8f053252b86c7583895c962d66747ecdc61b7

Timeline