Bluetooth: hci: validate codec capability element length
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci: validate codec capability element length Read Local Codec Capabilities returns a sequence of capability elements. Each element starts with a one-byte length followed by that many payload bytes. hci_read_codec_capabilities() checks that the skb contains the length byte, but then validates only caps->len against the remaining skb length. A malformed controller response with one remaining byte and caps->len set to one passes that check even though the element needs two bytes. The parser then records a two-byte capability and copies one byte beyond the advertised response payload into the codec list. Validate the full element size, including the length byte, before adding it to the accumulated capability length. This preserves all well-formed capability elements and drops only truncated controller responses.
CVE-2026-74300
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-74300
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
"lessThan": "fc97fc8cf7f53fd3619db63e09050d20a3a0c4b1",
"versionType": "git"
},
{
"status": "affected",
"version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
"lessThan": "290b36f9d1eb9b2f72b40d826f26b4a182ab15f7",
"versionType": "git"
},
{
"status": "affected",
"version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
"lessThan": "f2ad01f55e07f9531efcea736087e6b8658a3440",
"versionType": "git"
},
{
"status": "affected",
"version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
"lessThan": "ec4d352747a62c1082f16c11a74b37d6eb85a5a3",
"versionType": "git"
},
{
"status": "affected",
"version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
"lessThan": "4bc16db0f11918e07edf9fdcda4a30cf4c9df45c",
"versionType": "git"
},
{
"status": "affected",
"version": "8961987f3f5fa2f2618e72304d013c8dd5e604a6",
"lessThan": "c38fbcdc407925c7088f7e5f11c1fff73d2d35a2",
"versionType": "git"
}
],
"programFiles": [
"net/bluetooth/hci_codec.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/bluetooth/hci_codec.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-74300
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #33090 · Revision 1
- Added to Heist Feed
- Publisher date