{"api_version":"1","generated_at":"2026-04-23T02:24:52+00:00","cve":"CVE-2026-31497","urls":{"html":"https://cve.report/CVE-2026-31497","api":"https://cve.report/api/cve/CVE-2026-31497.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31497","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31497"},"summary":{"title":"Bluetooth: btusb: clamp SCO altsetting table indices","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: clamp SCO altsetting table indices\n\nbtusb_work() maps the number of active SCO links to USB alternate\nsettings through a three-entry lookup table when CVSD traffic uses\ntransparent voice settings. The lookup currently indexes alts[] with\ndata->sco_num - 1 without first constraining sco_num to the number of\navailable table entries.\n\nWhile the table only defines alternate settings for up to three SCO\nlinks, data->sco_num comes from hci_conn_num() and is used directly.\nCap the lookup to the last table entry before indexing it so the\ndriver keeps selecting the highest supported alternate setting without\nreading past alts[].","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-22 14:16:47","updated_at":"2026-04-22 14:16:47"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9dd13a8641de79bc1bc93da55cdd35259a002683","name":"https://git.kernel.org/stable/c/9dd13a8641de79bc1bc93da55cdd35259a002683","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/129fa608b6ad08b8ab7178eeb2ec272c993aaccc","name":"https://git.kernel.org/stable/c/129fa608b6ad08b8ab7178eeb2ec272c993aaccc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/312c4450fe23014665c163f480edd5ad2e27bbb8","name":"https://git.kernel.org/stable/c/312c4450fe23014665c163f480edd5ad2e27bbb8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/834cf890d2c3d29cbfa1ee2376c40469c28ec297","name":"https://git.kernel.org/stable/c/834cf890d2c3d29cbfa1ee2376c40469c28ec297","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/21c254202f9d78abe0fcd642a92966deb92bd226","name":"https://git.kernel.org/stable/c/21c254202f9d78abe0fcd642a92966deb92bd226","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1019028eb124564cf7bca58a16f1df8a1ca30726","name":"https://git.kernel.org/stable/c/1019028eb124564cf7bca58a16f1df8a1ca30726","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6fba3c3d48c927e55611a0f5ea34da88138ed0ff","name":"https://git.kernel.org/stable/c/6fba3c3d48c927e55611a0f5ea34da88138ed0ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/476c9262b430c38c6a701a3b8176a3f48689085b","name":"https://git.kernel.org/stable/c/476c9262b430c38c6a701a3b8176a3f48689085b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31497","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31497","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 312c4450fe23014665c163f480edd5ad2e27bbb8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 9dd13a8641de79bc1bc93da55cdd35259a002683 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 476c9262b430c38c6a701a3b8176a3f48689085b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 6fba3c3d48c927e55611a0f5ea34da88138ed0ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 834cf890d2c3d29cbfa1ee2376c40469c28ec297 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 1019028eb124564cf7bca58a16f1df8a1ca30726 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 21c254202f9d78abe0fcd642a92966deb92bd226 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected baac6276c0a9f36f1fe1f00590ef00d2ba5ba626 129fa608b6ad08b8ab7178eeb2ec272c993aaccc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.253 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.168 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.131 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.80 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.21 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.11 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/bluetooth/btusb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"312c4450fe23014665c163f480edd5ad2e27bbb8","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"9dd13a8641de79bc1bc93da55cdd35259a002683","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"476c9262b430c38c6a701a3b8176a3f48689085b","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"6fba3c3d48c927e55611a0f5ea34da88138ed0ff","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"834cf890d2c3d29cbfa1ee2376c40469c28ec297","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"1019028eb124564cf7bca58a16f1df8a1ca30726","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"21c254202f9d78abe0fcd642a92966deb92bd226","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"},{"lessThan":"129fa608b6ad08b8ab7178eeb2ec272c993aaccc","status":"affected","version":"baac6276c0a9f36f1fe1f00590ef00d2ba5ba626","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/bluetooth/btusb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.8"},{"lessThan":"5.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.253","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.168","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.131","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.80","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.21","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.253","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.168","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.131","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.80","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.21","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.11","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"5.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: clamp SCO altsetting table indices\n\nbtusb_work() maps the number of active SCO links to USB alternate\nsettings through a three-entry lookup table when CVSD traffic uses\ntransparent voice settings. The lookup currently indexes alts[] with\ndata->sco_num - 1 without first constraining sco_num to the number of\navailable table entries.\n\nWhile the table only defines alternate settings for up to three SCO\nlinks, data->sco_num comes from hci_conn_num() and is used directly.\nCap the lookup to the last table entry before indexing it so the\ndriver keeps selecting the highest supported alternate setting without\nreading past alts[]."}],"providerMetadata":{"dateUpdated":"2026-04-22T13:54:19.051Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/312c4450fe23014665c163f480edd5ad2e27bbb8"},{"url":"https://git.kernel.org/stable/c/9dd13a8641de79bc1bc93da55cdd35259a002683"},{"url":"https://git.kernel.org/stable/c/476c9262b430c38c6a701a3b8176a3f48689085b"},{"url":"https://git.kernel.org/stable/c/6fba3c3d48c927e55611a0f5ea34da88138ed0ff"},{"url":"https://git.kernel.org/stable/c/834cf890d2c3d29cbfa1ee2376c40469c28ec297"},{"url":"https://git.kernel.org/stable/c/1019028eb124564cf7bca58a16f1df8a1ca30726"},{"url":"https://git.kernel.org/stable/c/21c254202f9d78abe0fcd642a92966deb92bd226"},{"url":"https://git.kernel.org/stable/c/129fa608b6ad08b8ab7178eeb2ec272c993aaccc"}],"title":"Bluetooth: btusb: clamp SCO altsetting table indices","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31497","datePublished":"2026-04-22T13:54:19.051Z","dateReserved":"2026-03-09T15:48:24.102Z","dateUpdated":"2026-04-22T13:54:19.051Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-22 14:16:47","lastModifiedDate":"2026-04-22 14:16:47","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31497","Ordinal":"1","Title":"Bluetooth: btusb: clamp SCO altsetting table indices","CVE":"CVE-2026-31497","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31497","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: clamp SCO altsetting table indices\n\nbtusb_work() maps the number of active SCO links to USB alternate\nsettings through a three-entry lookup table when CVSD traffic uses\ntransparent voice settings. The lookup currently indexes alts[] with\ndata->sco_num - 1 without first constraining sco_num to the number of\navailable table entries.\n\nWhile the table only defines alternate settings for up to three SCO\nlinks, data->sco_num comes from hci_conn_num() and is used directly.\nCap the lookup to the last table entry before indexing it so the\ndriver keeps selecting the highest supported alternate setting without\nreading past alts[].","Type":"Description","Title":"Bluetooth: btusb: clamp SCO altsetting table indices"}]}}}