From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:47139 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754923AbbG3AZW (ORCPT ); Wed, 29 Jul 2015 20:25:22 -0400 Subject: Patch "Bluetooth: btusb: Fix memory leak in Intel setup routine" has been added to the 4.1-stable tree To: marcel@holtmann.org, gregkh@linuxfoundation.org, johan.hedberg@intel.com Cc: , From: Date: Wed, 29 Jul 2015 17:25:19 -0700 Message-ID: <143821591932242@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled Bluetooth: btusb: Fix memory leak in Intel setup routine to the 4.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: bluetooth-btusb-fix-memory-leak-in-intel-setup-routine.patch and it can be found in the queue-4.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From ecffc80478cdce122f0ecb6a4e4f909132dd5c47 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 7 Jun 2015 09:42:19 +0200 Subject: Bluetooth: btusb: Fix memory leak in Intel setup routine From: Marcel Holtmann commit ecffc80478cdce122f0ecb6a4e4f909132dd5c47 upstream. The SKB returned from the Intel specific version information command is missing a kfree_skb. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg Signed-off-by: Greg Kroah-Hartman --- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -1993,6 +1993,8 @@ static int btusb_setup_intel(struct hci_ } fw_ptr = fw->data; + kfree_skb(skb); + /* This Intel specific command enables the manufacturer mode of the * controller. * Patches currently in stable-queue which might be from marcel@holtmann.org are queue-4.1/bluetooth-btusb-correct-typo-in-roper-class-1-bluetooth-dongle.patch queue-4.1/bluetooth-btusb-fix-secure-send-command-length-alignment-on-intel-8260.patch queue-4.1/bluetooth-btbcm-allow-btbcm_read_verbose_config-to-fail-on-apple.patch queue-4.1/ieee802154-fix-sockaddr_ieee802154-implicit-padding-information-leak.patch queue-4.1/bluetooth-btusb-fix-memory-leak-in-intel-setup-routine.patch queue-4.1/bluetooth-fix-race-condition-with-user-channel-and-setup-stage.patch