CVEvulnerability

CVE-2026-31497

5.5 MEDIUM Published 2026-04-22 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-04-22
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

Affected configurations

• linux linux kernel (>= 5.8.1 < 5.10.253) • linux linux kernel (>= 5.11 < 5.15.203) • linux linux kernel (>= 5.16 < 6.1.168) • linux linux kernel (>= 6.2 < 6.6.131) • linux linux kernel (>= 6.7 < 6.12.80) • linux linux kernel (>= 6.13 < 6.18.21) • linux linux kernel (>= 6.19 < 6.19.11) • linux linux kernel 5.8 • linux linux kernel 7.0

References