Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp865880lqt; Fri, 19 Apr 2024 12:50:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKnG5grIz9mUMctn13yhO0nsDwf2AijFup1+TV8altWtq6/Skq0cjtKWISl7vOwOoXxJMgIcf64actNoxxerUOyEyIxtsCquCo9OuYfg== X-Google-Smtp-Source: AGHT+IHdXBUq3MZNCuuDy8o0bfhYkdgw1oNzX8axFy0ElkjMjrzXAk7wIZx6w3gTTuzu/truEZ9A X-Received: by 2002:ac8:5d88:0:b0:432:d620:6d47 with SMTP id d8-20020ac85d88000000b00432d6206d47mr3924545qtx.52.1713556238088; Fri, 19 Apr 2024 12:50:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713556238; cv=pass; d=google.com; s=arc-20160816; b=qxUYSwdTXMTDmHS6W6+gO+Nkk2vWFA+6Dq8IOQGLhLLihP15n37wpi3VvG2BaBllir 34BS2jl+vemMLCF2mNptdS6Mn6xZPUM2kLan8ivQ2gsb52LJAekfx0w6aZcUYX+TJ/B/ T+dUBc1Lu/kh8OhWHQZx1BYRcJVisl9O3QqdEZQyFXYsR+//1bTTtHNnUbFjSU47HLIa 3mcD/9UkEV0vfHvtaQuQ8GoP5qGrfHDFa6Oj1LW3ok9q4gx6mDH8v3kh+glTCDoqNh0K 54Cc6fw3ciT3JHE0pkJP+LaHnsikHHc5PxQV+OODa+mQXGVfFV/3xE6fcRYbqyuxBbVG cnLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=wfAUC+j95Xppd+ZvpAxMoLMCiWMg9h57fGH9s9pVsAU=; fh=d8XUUejup0bZAtEAmr3LyQf9o1zAyqTZSE7XrjMVEZ0=; b=heedi7fynjG10rPKY+69OvXg7gJj4KxZ3JVc9/0KiCncdC2VCzBGNDSdR/fncLq3/g oqVtw3UH+tmiZJ8p3sO5Uy9fpEJt2JR4G8iQZhkxbfJBP/MNuX29t75CWCPiqUdnbeqN H2JMjqps8GD77g84TljdyOBk0rc4yCUtxYkiRXDw0k23dJ5eNpgtn3nPoCKS3YDoe64y /ngrjGu/xCJnBUAqkQkYXbQ1/CTkWG4JRdmkTAeCuuZerDiSGLNhF2iUq+tpDuTS6QkA t3d0CFzjG+b02uqunGGvJOk4Dx6SGTu+Clit/L0TXCyzSN5UuyvoGONO4AgzzBFQ4+kZ tLEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bUvR2KTl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-151918-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151918-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dj22-20020a05622a4e9600b0042aaa53f36dsi4194064qtb.573.2024.04.19.12.50.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 12:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151918-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bUvR2KTl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-151918-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151918-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C6DD21C210CA for ; Fri, 19 Apr 2024 19:50:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E43F613C9C3; Fri, 19 Apr 2024 19:50:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bUvR2KTl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 11297139CE8; Fri, 19 Apr 2024 19:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713556229; cv=none; b=LyiiLQKqaagKRDEBSzwS8eMUIrxru4ynTmYiDldhkUmrJcAMhNNoysROLIJDwDJHK41WCYsW9BizTWDNwJVUtEg+N4xphEQp/R3s2PZguhz4f+M4IX6IRe/zlrZXDzY0yrt9U3c2X7cKJirnscr1oMx84CCDowTQUOT5vqKhJE4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713556229; c=relaxed/simple; bh=x65GC0z98wTskh1l/wQIaNPdpvTmTWBoTgqMEUh8VgI=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=ElsiDA5urlSyg9f+5/b9leJTNZL9WniMzh89huY/YomrOHaI85Kif6b4RxZJl8aglebdu9rkw3l9Q2O+dGb3A3n+ekzWrY7ZvdPJUAaXbnktEZ/kGKcSDz0ZsrrwJtELieQ3XGtRjgPFVAWsF6a7eMpjG//XL+sjunbOwg0qQXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bUvR2KTl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 9BA63C2BD11; Fri, 19 Apr 2024 19:50:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713556228; bh=x65GC0z98wTskh1l/wQIaNPdpvTmTWBoTgqMEUh8VgI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=bUvR2KTlwI0I5MlLSJBpJhei/zHRCUBNLss9x0eWamMcK2+V+jhLoKwvL5Mzq6yNB 7dO/TBaVHUDla3aregIl0rtjUoY71QPxKGHNbqQIxI5VAmfayqp6oopTVv76rzrKpc UfAHNkxu8PrRcaZQxXlr4veHAZtdL1Dle150bQhA2+0R/XOoOZC1hxpPW0sZ8klc70 V6MsTq/CHF9NYEJj+s0aJhScInyFiWdaO5T0NroIFYuHyynKF8/KFyfx9xItV0z4NJ cfTcrysGnH4az2uejPqUtjwITLPA1RgO3x73g1Q6oKEjpbTF6ZBIrzakNIe1SMoqlI utxJnHgx7sYqQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 8B967C43618; Fri, 19 Apr 2024 19:50:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH RESEND] Bluetooth: btusb: medaitek: fix double free of skb in coredump From: patchwork-bot+bluetooth@kernel.org Message-Id: <171355622856.26355.12127979464027120079.git-patchwork-notify@kernel.org> Date: Fri, 19 Apr 2024 19:50:28 +0000 References: In-Reply-To: To: Sean Wang Cc: luiz.dentz@gmail.com, marcel@holtmann.org, johan.hedberg@gmail.com, sean.wang@mediatek.com, chris.lu@mediatek.com, Deren.Wu@mediatek.com, jsiuda@google.com, frankgor@google.com, abhishekpandit@google.com, michaelfsun@google.com, mmandlik@google.com, abhishekpandit@chromium.org, mcchou@chromium.org, shawnku@google.com, linux-bluetooth@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Wed, 17 Apr 2024 16:27:38 -0700 you wrote: > From: Sean Wang > > hci_devcd_append() would free the skb on error so the caller don't > have to free it again otherwise it would cause the double free of skb. > > Fixes: 0b7015132878 ("Bluetooth: btusb: mediatek: add MediaTek devcoredump support") > Reported-by : Dan Carpenter > Signed-off-by: Sean Wang > > [...] Here is the summary with links: - [RESEND] Bluetooth: btusb: medaitek: fix double free of skb in coredump https://git.kernel.org/bluetooth/bluetooth-next/c/6764ab72237d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html