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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-17T14:24:40.049Z
- Modified: 2026-06-17T06:43:18.857Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 9e4d5c1be21f0c00e747e92186784f3298309b3e before e517645ead5ea22c69d2a44694baa23fe1ce7c2b; from 9e4d5c1be21f0c00e747e92186784f3298309b3e before d8d8897d65061cbe36bf2909057338303a904810; from 9e4d5c1be21f0c00e747e92186784f3298309b3e before 03035872e17897ba89866940bbc9cefca601e572; from 9e4d5c1be21f0c00e747e92186784f3298309b3e before ad945ea8d47dd4454c271510bea24850119847c2; from 9e4d5c1be21f0c00e747e92186784f3298309b3e before 04f8f053252b86c7583895c962d66747ecdc61b7; 5.4 (not affected: before 5.4; from 5.15.148 up to 5.15.*; from 6.1.75 up to 6.1.*; from 6.6.14 up to 6.6.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.4 before 5.15.148; from 5.16 before 6.1.75; from 6.2 before 6.6.14; from 6.7 before 6.7.2

## References

- <https://git.kernel.org/stable/c/e517645ead5ea22c69d2a44694baa23fe1ce7c2b> (patch)
- <https://git.kernel.org/stable/c/d8d8897d65061cbe36bf2909057338303a904810> (patch)
- <https://git.kernel.org/stable/c/03035872e17897ba89866940bbc9cefca601e572> (patch)
- <https://git.kernel.org/stable/c/ad945ea8d47dd4454c271510bea24850119847c2> (patch)
- <https://git.kernel.org/stable/c/04f8f053252b86c7583895c962d66747ecdc61b7> (patch)

## Sources

- CVE List: [CVE-2023-52674](https://www.cve.org/CVERecord?id=CVE-2023-52674), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52674](https://nvd.nist.gov/vuln/detail/CVE-2023-52674), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52674 · Whole record: https://cve.day/CVE-2023-52674.json · Rebuilt by cve.day 2026-11-25T22:58:33.967Z
