Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp209847lqm; Tue, 30 Apr 2024 19:11:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkTfjLnI/S37D7rTA1InLgAwF1PWCyChMKtw8BPiBLchyL/XLCEF3/plZCfxEHCZ2xwC2WZJGNeLlBcy+PiqdD/XPSjo06/iuwF/hUig== X-Google-Smtp-Source: AGHT+IGFvPTyZVVzs7UmSsnAqslqvEWogdhE8gajZzwEqNweQ61meLRHtNlI88+7RaC+roSk8b2B X-Received: by 2002:a25:eb02:0:b0:de5:9eab:3e0d with SMTP id d2-20020a25eb02000000b00de59eab3e0dmr1308210ybs.16.1714529476993; Tue, 30 Apr 2024 19:11:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714529476; cv=pass; d=google.com; s=arc-20160816; b=DcR2IE19xb5AiCZX4XHqJLFmpL/CBcM6yWgxgZgieL3TlqlWmA9cLE8IgrexFo4RQ4 082DUzXzdwzLsr/P9u7Lj5NunyZr6ehCZbJpWUZGll7o0CtYJpMC+dDTr2F5Fzqt50WQ q0dYTudOrDU5wD61nPaO2ZUkl51Dt+y/8W0FPsZQLRilWQbB7QvACeahPetKFr9P6xyd vG2DtcEvIm4Xy1qTDBTtpgwDZ0tE3HYOHx5ZK3/7kmSrgSfj3rqQIkrQMjS5JTBusAvq nWH3039taxU1qLuzd4WOqADghPOaBVKRlG6srphZT3m5Y/YhupE/IIGs3YfoTwcBvopo VLTA== 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=PLA6vdkmeqkKR9CSuyrnDKeT4MCE9VdQoMfzMaOnEak=; fh=bUz3a2v2OVIAn5etDixZD0xn1+vh36CCH6njLCfh5U0=; b=laZwC11mS2EkKgvskEKsRVNC4vILGdpWaPFHYjRp6MP5mgD303JHGVjDVBAEd/lfDX bzmEMMq9tRqcFODpfbfN1weWjif7aBfcqniE5MkXEFhcxc/2vZMIYxc+ODtyoslrPN2l hNgadAvjgYLpfF8vobRu2Cks3G1PI2rDzqw+G8EShOy1LB50O4MLTwgAT41KiEBPxnjo /Hq1opNi+vJ5Zf+rmHlnFnv0MZmHoT3D3wm+YKLqDHWl0K9/ubR90VulZP83te6BU3mH 4+mB+alOXtYfgxiLBjDWR4Et7gCmSAEP1pMKhnLETw5vF8Ic04SnsdztWpUsNjLBQRZD tlMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="OjVQCce/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4208-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 p12-20020a05622a048c00b0043b06e0428bsi4640814qtx.194.2024.04.30.19.11.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 19:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4208-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="OjVQCce/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4208-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 ACA651C22832 for ; Wed, 1 May 2024 02:11:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 785CC1BDC8; Wed, 1 May 2024 02:10:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OjVQCce/" X-Original-To: linux-bluetooth@vger.kernel.org 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 CCD2B18EBF; Wed, 1 May 2024 02:10:33 +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=1714529433; cv=none; b=JUNEFWYXUSBnrg7yENfgfpguZjpZASKAtEd/KDd7e5oI/p3qiYTwa32NZTQC48ekpXuFJT+fR6QJ6o0BfeT/VdpDcDeFwz8rFWo3878oiqjbvRfhnEpska6HGzG7/B+0Ad80shaa1DLYcctlFvfIPw/3UADlh2p3cfpwlgI1pNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714529433; c=relaxed/simple; bh=kPMLOGmsDbAquSqDz0H95AiVcHWqf671Pp88X9yzvXY=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=lydxyAXHqqHTsPtN6SDN5GT9r0aj3rWp/5tKlFuuBlXiUJZ+GohyjimOz/TMbdBPl0xzgX3AV4CcRxQ2nLtQhEhZ37hzTKsMltdRZl0/qvdmOi19MYRl1esrgccr5AdFbwMOliAP/lrrPc+RKUBUy5AIXpjldTscXfkhNRCkWW8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OjVQCce/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 447E4C4AF50; Wed, 1 May 2024 02:10:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714529433; bh=kPMLOGmsDbAquSqDz0H95AiVcHWqf671Pp88X9yzvXY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OjVQCce/RSaC+Dj0t0SZ5Zie+eD4nkDZNDSMjd4c+8dyRzN2q70sJvo31pNjVFLWl V1deDJD4fmSEq+Cy8VZlTGdPfGNoo8Snehcz73nnssCD72L9pWNU7IUzDjZEzDahAp bxJma3KvG2wOdyg6vTKfnBdMbtThGolXjMYsUfr0ENYA7iK0onbbmB22Yy6yeXLgPV M85tKC6ftQKk70tv/BsU2sKAQJJtWDBAf8bEXRq2P7UREKTHu2M7hwZcsFJqBX6yQb jCTZfTmIZcazwM3jCR3MROtDYfU53GhYxcb2/c5LDKkMivDLZxR/MjgPwV0h6x9ERv ZZA3xXbRKcEJw== 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 388BFC43443; Wed, 1 May 2024 02:10:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v4] Bluetooth: msft: fix slab-use-after-free in msft_do_close() From: patchwork-bot+bluetooth@kernel.org Message-Id: <171452943322.31721.8564512267208580003.git-patchwork-notify@kernel.org> Date: Wed, 01 May 2024 02:10:33 +0000 References: <20240501014335.2329860-1-iam@sung-woo.kim> In-Reply-To: <20240501014335.2329860-1-iam@sung-woo.kim> To: Sungwoo Kim Cc: daveti@purdue.edu, benquike@gmail.com, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Tue, 30 Apr 2024 21:43:36 -0400 you wrote: > Dear Luiz, could you revert the v3 patch and apply this? > > Fix the use-after-free bug in msft->data by tying the > msft->data lifectime to hdev. > Also, change msft_unregister() name to msft_release(). > > How msft is used after freed: > > [...] Here is the summary with links: - [v4] Bluetooth: msft: fix slab-use-after-free in msft_do_close() https://git.kernel.org/bluetooth/bluetooth-next/c/c2d3fedad3ad You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html