Bluetooth: btrtl: validate firmware patch bounds
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: validate firmware patch bounds rtlbt_parse_firmware() copies patch_length - 4 bytes before appending the firmware version. A malformed firmware patch shorter than the version field can make this subtraction underflow and turn the copy into an oversized read and write during Bluetooth setup. The existing patch_offset + patch_length check can also wrap on 32-bit architectures. Validate the patch length and range without arithmetic overflow before allocating or copying the patch.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in 39e01b4addfbbe177567d6ed1dfb81f9cccb19e6; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in bda3c598ade6ea03884074b91e31608326684921; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in a4cb830e0b55ac76c849fd7840afb251f4c028fa; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in 68c5a2a19987c035eb129e627e579adafb04f637; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in 83534891c058ed71e251135072640911670869aa; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in 6744ab60dfac55d1df5733960aad5be300984301; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in f1ca750c0510bdbb504bf084d2f196ef2af92ea6; From db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 · fixed in 609c5b04a28dc1b0f3af6a7bc93055135b2d2059
- Linux Linux
4.2
- KernelLinux
From 4.2.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/39e01b4addfbbe177567d6ed1dfb81f9cccb19e6
- stable/c/bda3c598ade6ea03884074b91e31608326684921
- stable/c/a4cb830e0b55ac76c849fd7840afb251f4c028fa
- stable/c/68c5a2a19987c035eb129e627e579adafb04f637
- stable/c/83534891c058ed71e251135072640911670869aa
- stable/c/6744ab60dfac55d1df5733960aad5be300984301
- stable/c/f1ca750c0510bdbb504bf084d2f196ef2af92ea6
- stable/c/609c5b04a28dc1b0f3af6a7bc93055135b2d2059