Article View: linux.kernel.netdev
Article #1313Re: [PATCH] Bluetooth: btmtk: fix skb double free on ISO padding failure
From: patchwork-bot+bluetooth
Date: Fri, 09 Oct 2026 14:20
Date: Fri, 09 Oct 2026 14:20
30 lines
6395 bytes
6395 bytes
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Fri, 9 Oct 2026 10:35:25 +0200 you wrote:
> btmtk_isopkt_pad() uses skb_pad(), which frees the skb on failure.
>
> The error is propagated by alloc_mtk_intr_urb() and
> btusb_send_frame_mtk() up to hci_send_frame(), which frees
> the skb a second time:
>
> err = hdev->send(hdev, skb);
> if (err < 0) {
> bt_dev_err(hdev, "sending frame failed (%d)", err);
> kfree_skb(skb);
> return err;
> }
>
> [...]
Here is the summary with links:
- Bluetooth: btmtk: fix skb double free on ISO padding failure
https://git.kernel.org/bluetooth/bluetooth-next/c/2820ae3262bd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179155561051.812174.8873772264427168812.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343740-linux-kernel-netdev=dewy.ruReferences:
<20261009083525.733804-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343740-linux-kernel-netdev=dewy.ru From: patchwork-bot+bluetooth@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] Bluetooth: btmtk: fix skb double free on ISO padding failure Date: Fri, 09 Oct 2026 14:20:10 +0000 Organization: Usenet Network Message-ID: <179155561051.812174.8873772264427168812.git-patchwork-notify@kernel.org> References: <20261009083525.733804-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1124052"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ga/H3n78D5cAyZLThRd+Wq9VEYk= sha256:3bvvIvU8kpdzOJ/32pJbAbD/5CCsr7mESAJwakokqeI= sha1:UWsntOp3HBRzs1RQVawelXSBw2s= sha256:2DqnZi7ATOOUS0g952ofd6fjGMQL5mY7Twyzye6IUQY= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 9C77310F6EC; Fri, 9 Oct 2026 17:29:31 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -0.241 X-Spam-Status: No, score=-0.241 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jgfTpc1THck9; Fri, 9 Oct 2026 17:29:28 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343740-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 156F810F6F4; Fri, 9 Oct 2026 17:29:22 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id BD038827CB; Fri, 9 Oct 2026 14:20:46 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB4D24E4C40; Fri, 9 Oct 2026 14:20:19 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JzknZs2S" X-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 725054BE43B; Fri, 9 Oct 2026 14:20:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791555619; cv=none; b=W7MNwu9b8pkM1RR7FQF3VXvQw7gWtv+GHU6CtP9dkLnL2D0ucQWRr+G3XDglxp82DQgBEEutXTjDNgDP9kNg4Jr8nbH7L8Y0NnC5GRvf2yg8CuEiy94WadraBa8Qfqsw6V8jLRchxa3KBtf4ikIyMP7WNwUA9SiIQBBM6MSCcYM= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791555619; c=relaxed/simple; bh=FK/5QkKrJsl6LQgwJuO9euTHbOe4prmUUKzuulDswwQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=fCAiYM0umVevmn0tqHND+AdRyKvLvsFYe75dSg2mwITxKGNK6+CtkCI/c3vt7Er5Au4Q3RS9vdP957Iw/LGHSPRiBoq9DYQjbbtcaYrfYfPL6PTzjNyeYE9+fL6SI4BemPtkmInETjPECGvHdbIk5SU4o8KFsnWPlnCsdY4uMsc= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JzknZs2S; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 060BF1F00899; Fri, 9 Oct 2026 14:20:12 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791555612; bh=VueJfE8UlGkXA1cki1w3qV3t5fH9UA9JVCjBcoCaaK4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=JzknZs2SqvczwRk/MukSIZGgw6NIX2D368BBCrH0a6nAM7l3yIkuy5bGCHHejvx5T 6Kp3XJnJ+7TnMnL8DAlFtGugRFIVCecVwMr82VPAjbDsyiyVMB6lzoydeZ1u3CrX/l 3ykDNRcEYHu39CAEI47/2r6avAp5aXxDk+N1aWWJAy020bCp5G0Q4CUvHxGgN8OLMu kqPxMYrnUQYGwyRuCW9fEyQuxpdDvpUN8SHECFPmUd25u9wr+r9OHh8Ih+AcGdgcoH l+JZ8Gac+ORWJ78m6zymLFH0UAXgr8Sanz3W6iIxSvnf+ixuQfX/sQGvd8MVhooH0T JhPo5Th2owQsQ== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F153339253CC; Fri, 9 Oct 2026 14:20:11 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261009083525.733804-1-edumazet@kernel.org> X-Cc: marcel@holtmann.org, luiz.dentz@gmail.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org