Bluetooth: btrtl: validate firmware patch bounds
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f1ca750c0510bdbb504bf084d2f196ef2af92ea6, Kernel 39e01b4addfbbe177567d6ed1dfb81f9cccb19e6, Kernel 609c5b04a28dc1b0f3af6a7bc93055135b2d2059 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <f1ca750c0510bdbb504bf084d2f196ef2af92ea6, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <39e01b4addfbbe177567d6ed1dfb81f9cccb19e6, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <609c5b04a28dc1b0f3af6a7bc93055135b2d2059, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <6744ab60dfac55d1df5733960aad5be300984301, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <68c5a2a19987c035eb129e627e579adafb04f637, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <83534891c058ed71e251135072640911670869aa, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <a4cb830e0b55ac76c849fd7840afb251f4c028fa, >=db33c77dddc2ed2cff3061d0b096a9f5ab0c3647 <bda3c598ade6ea03884074b91e31608326684921, =4.2 | f1ca750c0510bdbb504bf084d2f196ef2af92ea6, 39e01b4addfbbe177567d6ed1dfb81f9cccb19e6, 609c5b04a28dc1b0f3af6a7bc93055135b2d2059, 6744ab60dfac55d1df5733960aad5be300984301, 68c5a2a19987c035eb129e627e579adafb04f637, 83534891c058ed71e251135072640911670869aa, a4cb830e0b55ac76c849fd7840afb251f4c028fa, bda3c598ade6ea03884074b91e31608326684921 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.2.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket