Bluetooth: hci_ll: Fix firmware leak on error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.253, Kernel 5.15.203, Kernel 6.1.168 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_ll: Fix firmware leak on error path Smatch reports: drivers/bluetooth/hci_ll.c:587 download_firmware() warn: 'fw' from request_firmware() not released on lines: 544. In download_firmware(), if request_firmware() succeeds but the returned firmware content is invalid (no data or zero size), the function returns without releasing the firmware, resulting in a resource leak. Fix this by calling release_firmware() before returning when request_firmware() succeeded but the firmware content is invalid.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.12 <5.10.253, >=5.11 <5.15.203, >=5.16 <6.1.168, >=6.13 <6.18.21, >=6.19 <6.19.11, >=6.2 <6.6.131, >=6.7 <6.12.80, =7.0, >=371805522f870986144fcd88727a47858e364a2c <31148a7be723aa9f2e8fbd62424825ab8d577973, >=371805522f870986144fcd88727a47858e364a2c <5213ef54528dd1ac79b846e30d8f72ce092794aa, >=371805522f870986144fcd88727a47858e364a2c <95e8601af227b2b4390eecf8db6abdb9f6a91f17, >=371805522f870986144fcd88727a47858e364a2c <9ecbfd93cd6de6c78cb7fd51fe079e36c7ff074b, >=371805522f870986144fcd88727a47858e364a2c <a7803df606a7d22e896b030f619e1d9d20ae0c6b, >=371805522f870986144fcd88727a47858e364a2c <b2dfbf1b5ff192cefd49574b951a4af9ddd32213, >=371805522f870986144fcd88727a47858e364a2c <e6d95488c8c964d1df0d3e1db44c958706311e86, =4.12, >=371805522f870986144fcd88727a47858e364a2c <28904375d54b436a757641fb0331537778c0de5a | 5.10.253, 5.15.203, 6.1.168, 6.18.21, 6.19.11, 6.6.131, 6.12.80, 31148a7be723aa9f2e8fbd62424825ab8d577973, 5213ef54528dd1ac79b846e30d8f72ce092794aa, 95e8601af227b2b4390eecf8db6abdb9f6a91f17, 9ecbfd93cd6de6c78cb7fd51fe079e36c7ff074b, a7803df606a7d22e896b030f619e1d9d20ae0c6b, b2dfbf1b5ff192cefd49574b951a4af9ddd32213, e6d95488c8c964d1df0d3e1db44c958706311e86, 28904375d54b436a757641fb0331537778c0de5a |
| linux-kernel: Kernel | >=4.12.0 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.168, >=6.13.0 <6.18.21, >=6.19.0 <6.19.11, >=6.2.0 <6.6.131, >=6.7.0 <6.12.80 | 5.10.253, 5.15.203, 6.1.168, 6.18.21, 6.19.11, 6.6.131, 6.12.80 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket