Bluetooth: btrtl: Don't leak return code when parsing firmware format v2
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c4249cf6e80b1bd62a6a409aaabe760fe025dac3, Kernel 422f6547259654bae690713614c794dd1e2c0a0b, Kernel 83e3e515fd261600ed8491fb0a8bcdfb115c904e and 6 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa <c4249cf6e80b1bd62a6a409aaabe760fe025dac3, >=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa <422f6547259654bae690713614c794dd1e2c0a0b, >=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa <83e3e515fd261600ed8491fb0a8bcdfb115c904e, >=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa <90f3a142b5f8596a565b8e080d18a8050be6edef, >=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa <ba96047bba4a6101267cf4f6b3057cbc58e6c554, =6.4 | c4249cf6e80b1bd62a6a409aaabe760fe025dac3, 422f6547259654bae690713614c794dd1e2c0a0b, 83e3e515fd261600ed8491fb0a8bcdfb115c904e, 90f3a142b5f8596a565b8e080d18a8050be6edef, ba96047bba4a6101267cf4f6b3057cbc58e6c554 |
| linux-kernel: Kernel | >=6.19.0 <7.2.7, >=6.4.0 <6.6.158, >=6.7.0 <6.12.111, >=6.13.0 <6.18.53 | 7.2.7, 6.6.158, 6.12.111, 6.18.53 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket