# CVE-2026-31497: Bluetooth: btusb: clamp SCO altsetting table indices

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-04-22T13:54:19.051Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 312c4450fe23014665c163f480edd5ad2e27bbb8; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 9dd13a8641de79bc1bc93da55cdd35259a002683; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 476c9262b430c38c6a701a3b8176a3f48689085b; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 6fba3c3d48c927e55611a0f5ea34da88138ed0ff; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 834cf890d2c3d29cbfa1ee2376c40469c28ec297; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 1019028eb124564cf7bca58a16f1df8a1ca30726; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 21c254202f9d78abe0fcd642a92966deb92bd226; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 129fa608b6ad08b8ab7178eeb2ec272c993aaccc
- Anyone running Linux 5.8

## 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 and fixed versions

- Linux: \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 312c4450fe23014665c163f480edd5ad2e27bbb8; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 9dd13a8641de79bc1bc93da55cdd35259a002683; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 476c9262b430c38c6a701a3b8176a3f48689085b; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 6fba3c3d48c927e55611a0f5ea34da88138ed0ff; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 834cf890d2c3d29cbfa1ee2376c40469c28ec297; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 1019028eb124564cf7bca58a16f1df8a1ca30726; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 21c254202f9d78abe0fcd642a92966deb92bd226; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 129fa608b6ad08b8ab7178eeb2ec272c993aaccc (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 129fa608b6ad08b8ab7178eeb2ec272c993aaccc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31497. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31497.md
Affected: Linux >= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, < 312c4450fe23014665c163f480edd5ad2e27bbb8; >= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, < 9dd13a8641de79bc1bc93da55cdd35259a002683; >= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, < 476c9262b430c38c6a701a3b8176a3f48689085b; >= baac6276c0a9f36f1fe1f00…
Fixed in: Linux 312c4450fe23014665c163f480edd5ad2e27bbb8, Linux 9dd13a8641de79bc1bc93da55cdd35259a002683, Linux 476c9262b430c38c6a701a3b8176a3f48689085b, Linux 6fba3c3d48c927e55611a0f5ea34da88138ed0ff, Linux 834cf890d2c3d29cbfa1ee2376c40469c28ec297, Linux 1019028eb124564cf7bca58a16f1df8a1ca30726, Linux 21c25…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31497 being exploited?

There is no confirmed exploitation: CVE-2026-31497 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31497?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31497?

Linux \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 312c4450fe23014665c163f480edd5ad2e27bbb8; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 9dd13a8641de79bc1bc93da55cdd35259a002683; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 476c9262b430c38c6a701a3b8176a3f48689085b; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 6fba3c3d48c927e55611a0f5ea34da88138ed0ff; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 834cf890d2c3d29cbfa1ee2376c40469c28ec297; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 1019028eb124564cf7bca58a16f1df8a1ca30726; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 21c254202f9d78abe0fcd642a92966deb92bd226; \>= baac6276c0a9f36f1fe1f00590ef00d2ba5ba626, \< 129fa608b6ad08b8ab7178eeb2ec272c993aaccc; Linux 5.8.

### Is there a fix for CVE-2026-31497?

Yes. Fixed in Linux 312c4450fe23014665c163f480edd5ad2e27bbb8, Linux 9dd13a8641de79bc1bc93da55cdd35259a002683, Linux 476c9262b430c38c6a701a3b8176a3f48689085b, Linux 6fba3c3d48c927e55611a0f5ea34da88138ed0ff, Linux 834cf890d2c3d29cbfa1ee2376c40469c28ec297, Linux 1019028eb124564cf7bca58a16f1df8a1ca30726, Linux 21c254202f9d78abe0fcd642a92966deb92bd226, Linux 129fa608b6ad08b8ab7178eeb2ec272c993aaccc. Upgrade Linux to 129fa608b6ad08b8ab7178eeb2ec272c993aaccc or later.

### How do I check if I'm affected by CVE-2026-31497?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/312c4450fe23014665c163f480edd5ad2e27bbb8>
- patch: <https://git.kernel.org/stable/c/9dd13a8641de79bc1bc93da55cdd35259a002683>
- patch: <https://git.kernel.org/stable/c/476c9262b430c38c6a701a3b8176a3f48689085b>
- patch: <https://git.kernel.org/stable/c/6fba3c3d48c927e55611a0f5ea34da88138ed0ff>
- patch: <https://git.kernel.org/stable/c/834cf890d2c3d29cbfa1ee2376c40469c28ec297>
- patch: <https://git.kernel.org/stable/c/1019028eb124564cf7bca58a16f1df8a1ca30726>
- patch: <https://git.kernel.org/stable/c/21c254202f9d78abe0fcd642a92966deb92bd226>
- patch: <https://git.kernel.org/stable/c/129fa608b6ad08b8ab7178eeb2ec272c993aaccc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31497>

HTML: <https://flawdb.com/CVE-2026-31497> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31497>
