Re: [PATCH] Bluetooth: btmtk: fix skb double free on ISO padding failure

From
patchwork-bot+bluetooth@kernel.org
Date
2026-10-09 14:20:12
Also in
linux-bluetooth, lkml
Reply to
Eric Dumazet, 2026-10-09
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz [off-list ref]:

On Fri,  9 Oct 2026 10:35:25 +0200 you wrote:
btmtk_isopkt_pad() uses skb_pad(), which frees the skb on failure.

The error is propagated by alloc_mtk_intr_urb() and
btusb_send_frame_mtk() up to hci_send_frame(), which frees
the skb a second time:

	err = hdev->send(hdev, skb);
	if (err < 0) {
		bt_dev_err(hdev, "sending frame failed (%d)", err);
		kfree_skb(skb);
		return err;
	}

[...]
Here is the summary with links:
  - Bluetooth: btmtk: fix skb double free on ISO padding failure
    https://git.kernel.org/bluetooth/bluetooth-next/c/2820ae3262bd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Thread (2 messages) 2 messages, 2 authors, last reply 26d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help