CVE-2026-31497
UNKNOWN
NVD
CVSS Score
0
Severity
UNKNOWN
Published
Apr 22, 2026
Vendor
unknown
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: clamp SCO altsetting table indices btusb_work() maps the number of active SCO links to USB alternate settings through a three-entry lookup table when CVSD traffic uses transparent voice settings. The lookup currently indexes alts[] with data->sco_num - 1 without first constraining sco_num to the number of available table entries. While the table only defines alternate settings for up to three SCO links, data->sco_num comes from hci_conn_num() and is used directly. Cap the lookup to the last table entry before indexing it so the driver keeps selecting the highest supported alternate setting without reading past alts[].
References
- https://git.kernel.org/stable/c/1019028eb124564cf7bca58a16f1df8a1ca30726
- https://git.kernel.org/stable/c/129fa608b6ad08b8ab7178eeb2ec272c993aaccc
- https://git.kernel.org/stable/c/21c254202f9d78abe0fcd642a92966deb92bd226
- https://git.kernel.org/stable/c/312c4450fe23014665c163f480edd5ad2e27bbb8
- https://git.kernel.org/stable/c/476c9262b430c38c6a701a3b8176a3f48689085b