Linux
Bluetooth: btrtl: validate firmware patch bounds
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < 39e01b4addfbbe177567d6ed1dfb81f9cccb19e6
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < bda3c598ade6ea03884074b91e31608326684921
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < a4cb830e0b55ac76c849fd7840afb251f4c028fa
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < 68c5a2a19987c035eb129e627e579adafb04f637
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < 83534891c058ed71e251135072640911670869aa
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < 6744ab60dfac55d1df5733960aad5be300984301
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < f1ca750c0510bdbb504bf084d2f196ef2af92ea6
- >= db33c77dddc2ed2cff3061d0b096a9f5ab0c3647, < 609c5b04a28dc1b0f3af6a7bc93055135b2d2059
Fixed in 39e01b4addfbbe177567d6ed1dfb81f9cccb19e6, bda3c598ade6ea03884074b91e31608326684921, a4cb830e0b55ac76c849fd7840afb251f4c028fa, 68c5a2a19987c035eb129e627e579adafb04f637, 83534891c058ed71e251135072640911670869aa, 6744ab60dfac55d1df5733960aad5be300984301, f1ca750c0510bdbb504bf084d2f196ef2af92ea6, 609c5b04a28dc1b0f3af6a7bc93055135b2d2059
- 4.2
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 39e01b4addfbbe177567d6ed1dfb81f9cccb19e6 or bda3c598ade6ea03884074b91e31608326684921 or a4cb830e0b55ac76c849fd7840afb251f4c028fa or 68c5a2a19987c035eb129e627e579adafb04f637 or 83534891c058ed71e251135072640911670869aa or 6744ab60dfac55d1df5733960aad5be300984301 or f1ca750c0510bdbb504bf084d2f196ef2af92ea6 or 609c5b04a28dc1b0f3af6a7bc93055135b2d2059 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.