[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250621075110.686bbf0f@kernel.org>
Date: Sat, 21 Jun 2025 07:51:10 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Luiz Augusto von Dentz <luiz.dentz@...il.com>
Cc: davem@...emloft.net, linux-bluetooth@...r.kernel.org,
netdev@...r.kernel.org, Kuniyuki Iwashima <kuniyu@...gle.com>
Subject: Re: [GIT PULL] bluetooth 2025-06-20
On Fri, 20 Jun 2025 13:57:47 -0400 Luiz Augusto von Dentz wrote:
> bluetooth pull request for net:
>
> - L2CAP: Fix L2CAP MTU negotiation
> - hci_core: Fix use-after-free in vhci_flush()
> - btintel_pcie: Fix potential race condition in firmware download
> - hci_qca: fix unable to load the BT driver
commit 135c1294c585cf8
alloc_size = sizeof(*hdev);
if (sizeof_priv) {
/* Fixme: May need ALIGN-ment? */
alloc_size += sizeof_priv;
}
hdev = kzalloc(alloc_size, GFP_KERNEL);
if (!hdev)
return NULL;
+ if (init_srcu_struct(&hdev->srcu))
+ return NULL;
+
hdev->pkt_type = (HCI_DM1 | HCI_DH1 | HCI_HV1);
Isn't this leaking hdev?
Powered by blists - more mailing lists