From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93415466B57; Tue, 16 Jun 2026 16:17:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781626653; cv=none; b=BTw6JoTeGiD2kf/5QIObu7QfjlylkP/o2B6ZEbl4oaOGfiN9ISwwAlci7oxzU+qjkCiek2aE33TYXMUHjfAgEuYuST5EWhPpq6wxA2ke6t33BT/Br0SRYTMOuMOAGuUc8AVs8QX2n+7EupreBd8GA2B5NBJ9g4mLuCZf/H1xvyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781626653; c=relaxed/simple; bh=08WogQl0urN7LO06YIAR2XWlrn0Dbiyv76r9y6yEEgE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N8SqsllSLkEBXXCPKMEQSOA3rm+7xE/9trXyC10+aC/FF0u6gozcfnji7T9IFDJ5jC43R9CpjkoCXISf8PI6Tl+wet8LdCkkmuKuSDgeVzFeFPJ/t7jI/v5yF17D/lzwbWHXeMkebRQY18VCLu7mwZbpUH/rfSwy3jEkUkZjsO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yEIjdlQG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yEIjdlQG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 666E71F00A3A; Tue, 16 Jun 2026 16:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1781626652; bh=tBgLdX3siB8xLw85vxz5HHQV+LFfM4tzu8TVe2SSH2M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=yEIjdlQGhxj6KjWJo8I8bf11OxVWgfQf0Oxm1eNukv1ht4ckTFmS/toTSQF8yfknN 8RDCIKuCeB8dEhB/wt+YND/3ZgzQ2PwOO/xcS78dpwviH0JTI8UDqrUCrH0moZ/i+9 DPjZAdYqgi6hJfRgkrkCC4e8eG5cr4QGGm7PPegM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Sashiko , Luiz Augusto von Dentz , Sasha Levin Subject: [PATCH 6.12 043/261] Bluetooth: ISO: Fix not releasing hdev reference on iso_conn_big_sync Date: Tue, 16 Jun 2026 20:28:01 +0530 Message-ID: <20260616145047.098673912@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260616145044.869532709@linuxfoundation.org> References: <20260616145044.869532709@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Luiz Augusto von Dentz [ Upstream commit 5cbf290b79351971f20c7a533247e8d58a3f970c ] 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 Signed-off-by: Luiz Augusto von Dentz Signed-off-by: Sasha Levin --- net/bluetooth/iso.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bluetooth/iso.c b/net/bluetooth/iso.c index f262c32da4f29b..935e230484b78c 100644 --- a/net/bluetooth/iso.c +++ b/net/bluetooth/iso.c @@ -1445,6 +1445,7 @@ static void iso_conn_big_sync(struct sock *sk) release_sock(sk); hci_dev_unlock(hdev); + hci_dev_put(hdev); } static int iso_sock_recvmsg(struct socket *sock, struct msghdr *msg, -- 2.53.0