{"schema_version":"1.7.5","id":"CVE-2026-23078","published":"2026-02-04T16:08:03.283Z","modified":"2026-07-15T01:48:58.130625011Z","related":["SUSE-SU-2026:0962-1","SUSE-SU-2026:1081-1","SUSE-SU-2026:20667-1","SUSE-SU-2026:20720-1","SUSE-SU-2026:20838-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20873-1","SUSE-SU-2026:20876-1","SUSE-SU-2026:20931-1","SUSE-SU-2026:21284-1","openSUSE-SU-2026:20416-1"],"summary":"ALSA: scarlett2: Fix buffer overflow in config retrieval","details":"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 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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ac34df733d2dfe3b553897a1e9e1a44414f09834"},{"fixed":"d5e80d1f97ae55bcea1426f551e4419245b41b9c"},{"fixed":"51049f6e3f05d70660e2458ad3bb302a3721b751"},{"fixed":"91a756d22f0482eac5bedb113c8922f90b254449"},{"fixed":"27049f50be9f5ae3a62d272128ce0b381cb26a24"},{"fixed":"31a3eba5c265a763260976674a22851e83128f6d"},{"fixed":"6f5c69f72e50d51be3a8c028ae7eda42c82902cb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23078.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"5.15.199"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.162"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.122"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.68"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23078.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51049f6e3f05d70660e2458ad3bb302a3721b751"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5e80d1f97ae55bcea1426f551e4419245b41b9c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23078.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23078"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23078.json"}}