{"id":"CVE-2026-23078","title":"ALSA: scarlett2: Fix buffer overflow in config retrieval","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: scarlett2: Fix buffer overflow in config retrieval\n\nThe scarlett2_usb_get_config() function has a logic error in the\nendianness conversion code that can cause buf…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < d5e80d1f97ae55bcea1426f551e4419245b41b9c","Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 51049f6e3f05d70660e2458ad3bb302a3721b751","Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 91a756d22f0482eac5bedb113c8922f90b254449","Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 27049f50be9f5ae3a62d272128ce0b381cb26a24","Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 31a3eba5c265a763260976674a22851e83128f6d","Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 6f5c69f72e50d51be3a8c028ae7eda42c82902cb","Linux 5.14"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T21:19:14.680742Z"},"published":"2026-02-04","updated":"2026-11-05","sourceUpdated":"2026-11-05T21:23:16.539Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-23078","references":[{"url":"https://git.kernel.org/stable/c/d5e80d1f97ae55bcea1426f551e4419245b41b9c"},{"url":"https://git.kernel.org/stable/c/51049f6e3f05d70660e2458ad3bb302a3721b751"},{"url":"https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449"},{"url":"https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24"},{"url":"https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d"},{"url":"https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb"}],"tags":["cve.org"],"epss":0.00171,"epssPercentile":0.06561,"ingestedAt":"2026-11-05T22:38:32.069Z","slug":"CVE-2026-23078","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nALSA: scarlett2: Fix buffer overflow in config retrieval\n\nThe scarlett2_usb_get_config() function has a logic error in the\nendianness conversion code that can cause buffer overflows when\ncount > 1.\n\nThe code checks `if (size == 2)` where `size` is the total buffer size in\nbytes, then loops `count` times treating each element as u16 (2 bytes).\nThis causes the loop to access `count * 2` bytes when the buffer only\nhas `size` bytes allocated.\n\nFix by checking the element size (config_item->size) instead of the\ntotal buffer size. This ensures the endianness conversion matches the\nactual element type.\n\n## Affected\n\n- `Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < d5e80d1f97ae55bcea1426f551e4419245b41b9c`\n- `Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 51049f6e3f05d70660e2458ad3bb302a3721b751`\n- `Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 91a756d22f0482eac5bedb113c8922f90b254449`\n- `Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 27049f50be9f5ae3a62d272128ce0b381cb26a24`\n- `Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 31a3eba5c265a763260976674a22851e83128f6d`\n- `Linux >= ac34df733d2dfe3b553897a1e9e1a44414f09834 < 6f5c69f72e50d51be3a8c028ae7eda42c82902cb`\n- `Linux 5.14`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}