[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2026020420-CVE-2026-23078-61cc@gregkh>
Date: Wed, 4 Feb 2026 17:14:37 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2026-23078: ALSA: scarlett2: Fix buffer overflow in config retrieval
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ALSA: scarlett2: Fix buffer overflow in config retrieval
The scarlett2_usb_get_config() function has a logic error in the
endianness conversion code that can cause buffer overflows when
count > 1.
The code checks `if (size == 2)` where `size` is the total buffer size in
bytes, then loops `count` times treating each element as u16 (2 bytes).
This causes the loop to access `count * 2` bytes when the buffer only
has `size` bytes allocated.
Fix by checking the element size (config_item->size) instead of the
total buffer size. This ensures the endianness conversion matches the
actual element type.
The Linux kernel CVE team has assigned CVE-2026-23078 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.6.122 with commit 91a756d22f0482eac5bedb113c8922f90b254449
Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.12.68 with commit 27049f50be9f5ae3a62d272128ce0b381cb26a24
Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.18.8 with commit 31a3eba5c265a763260976674a22851e83128f6d
Issue introduced in 5.14 with commit ac34df733d2dfe3b553897a1e9e1a44414f09834 and fixed in 6.19-rc7 with commit 6f5c69f72e50d51be3a8c028ae7eda42c82902cb
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23078
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/usb/mixer_scarlett2.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449
https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24
https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d
https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb
Powered by blists - more mailing lists