]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: ISO: don't leak skb in ISO_CONT RX
authorPauli Virtanen <pav@iki.fi>
Mon, 22 Sep 2025 18:11:22 +0000 (21:11 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 27 Sep 2025 15:37:43 +0000 (11:37 -0400)
commit5bf863f4c5da055c1eb08887ae4f26d99dbc4aac
tree119d37845fb77f7f5e863233f805eec58d38980f
parent6ba85da5804efffe15c89b03742ea868f20b4172
Bluetooth: ISO: don't leak skb in ISO_CONT RX

For ISO_CONT RX, the data from skb is copied to conn->rx_skb, but the
skb is leaked.

Free skb after copying its data.

Fixes: ccf74f2390d6 ("Bluetooth: Add BTPROTO_ISO socket type")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c