{"id":"CVE-2026-97907","state":"PUBLISHED","title":"Bluetooth: btrtl: Don't leak return code when parsing firmware format v2","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btrtl: Don't leak return code when parsing firmware format v2\n\nWhen key_id from chip is zero, rtlbt_parse_firmware_v2() intentionally\nignores all security headers. However, the implementation simply breaks\nfrom a switch statement and leaks uninitialized return code `rc' (if the\nfirst section is a security one) or the previous section's `rc'.\n\nFix it by really skipping a loop with `continue'. For consistency and\nreadability, also do the same for the default case.","publishedAt":"2026-09-25T10:22:32.244Z","updatedAt":"2026-10-19T09:10:33.668Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"ba96047bba4a6101267cf4f6b3057cbc58e6c554","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"90f3a142b5f8596a565b8e080d18a8050be6edef","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"422f6547259654bae690713614c794dd1e2c0a0b","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"c4249cf6e80b1bd62a6a409aaabe760fe025dac3","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"83e3e515fd261600ed8491fb0a8bcdfb115c904e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]}],"references":["https://git.kernel.org/stable/c/ba96047bba4a6101267cf4f6b3057cbc58e6c554","https://git.kernel.org/stable/c/90f3a142b5f8596a565b8e080d18a8050be6edef","https://git.kernel.org/stable/c/422f6547259654bae690713614c794dd1e2c0a0b","https://git.kernel.org/stable/c/c4249cf6e80b1bd62a6a409aaabe760fe025dac3","https://git.kernel.org/stable/c/83e3e515fd261600ed8491fb0a8bcdfb115c904e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97907.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97907","state":"PUBLISHED","datePublished":"2026-09-25T10:22:32.244Z","dateUpdated":"2026-10-19T09:10:33.668Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:18:58.200Z"},"containers":{"cna":{"title":"Bluetooth: btrtl: Don't leak return code when parsing firmware format v2","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btrtl: Don't leak return code when parsing firmware format v2\n\nWhen key_id from chip is zero, rtlbt_parse_firmware_v2() intentionally\nignores all security headers. However, the implementation simply breaks\nfrom a switch statement and leaks uninitialized return code `rc' (if the\nfirst section is a security one) or the previous section's `rc'.\n\nFix it by really skipping a loop with `continue'. For consistency and\nreadability, also do the same for the default case."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"ba96047bba4a6101267cf4f6b3057cbc58e6c554","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"90f3a142b5f8596a565b8e080d18a8050be6edef","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"422f6547259654bae690713614c794dd1e2c0a0b","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"c4249cf6e80b1bd62a6a409aaabe760fe025dac3","versionType":"git"},{"version":"9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa","status":"affected","lessThan":"83e3e515fd261600ed8491fb0a8bcdfb115c904e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ba96047bba4a6101267cf4f6b3057cbc58e6c554"},{"url":"https://git.kernel.org/stable/c/90f3a142b5f8596a565b8e080d18a8050be6edef"},{"url":"https://git.kernel.org/stable/c/422f6547259654bae690713614c794dd1e2c0a0b"},{"url":"https://git.kernel.org/stable/c/c4249cf6e80b1bd62a6a409aaabe760fe025dac3"},{"url":"https://git.kernel.org/stable/c/83e3e515fd261600ed8491fb0a8bcdfb115c904e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:10:33.668Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}