Re: [PATCH v2] Bluetooth: hci_ll: Fix firmware leak on error path
From: patchwork-bot+bluetooth
Date: Wed Mar 18 2026 - 12:57:36 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Sun, 15 Mar 2026 10:51:37 +0000 you wrote:
> 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.
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: hci_ll: Fix firmware leak on error path
https://git.kernel.org/bluetooth/bluetooth-next/c/0f1a322270bb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html