Bluetooth: btrtl: Don't leak return code when parsing firmware format v2
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: Don't leak return code when parsing firmware format v2 When key_id from chip is zero, rtlbt_parse_firmware_v2() intentionally ignores all security headers. However, the implementation simply breaks from a switch statement and leaks uninitialized return code `rc' (if the first section is a security one) or the previous section's `rc'. Fix it by really skipping a loop with `continue'. For consistency and readability, also do the same for the default case.
CVE-2026-97907
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-97907
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": "9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa",
"lessThan": "ba96047bba4a6101267cf4f6b3057cbc58e6c554",
"versionType": "git"
},
{
"status": "affected",
"version": "9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa",
"lessThan": "90f3a142b5f8596a565b8e080d18a8050be6edef",
"versionType": "git"
},
{
"status": "affected",
"version": "9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa",
"lessThan": "422f6547259654bae690713614c794dd1e2c0a0b",
"versionType": "git"
},
{
"status": "affected",
"version": "9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa",
"lessThan": "c4249cf6e80b1bd62a6a409aaabe760fe025dac3",
"versionType": "git"
},
{
"status": "affected",
"version": "9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa",
"lessThan": "83e3e515fd261600ed8491fb0a8bcdfb115c904e",
"versionType": "git"
}
],
"programFiles": [
"drivers/bluetooth/btrtl.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/bluetooth/btrtl.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97907
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38063 · Revision 1
- Added to Heist Feed
- Publisher date