]> git.ipfire.org Git - thirdparty/linux.git/commit
Bluetooth: ISO: Fix not releasing hdev reference on iso_conn_big_sync
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Jun 2026 18:45:42 +0000 (14:45 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 3 Jun 2026 15:22:48 +0000 (11:22 -0400)
commit5cbf290b79351971f20c7a533247e8d58a3f970c
treef5e87f4bacedd40c9e964198fe1a6d7a881668c3
parent37b3009bf5976e8ab77c8b9a9bc3bbd7ff49e37f
Bluetooth: ISO: Fix not releasing hdev reference on iso_conn_big_sync

hci_get_route() returns a reference-counted hci_dev pointer via
hci_dev_hold(). The function exits normally or with an error without ever
releasing it.

Fixes: 07a9342b94a9 ("Bluetooth: ISO: Send BIG Create Sync via hci_sync")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c