Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4667739pxv; Tue, 20 Jul 2021 08:56:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9K8y5qYoFLSITut3viK7Eow7QHhoXL5Lkf7XNeqepZ/TTROMgLusNRMx2dLmhmC2Crloi X-Received: by 2002:a92:1944:: with SMTP id e4mr21134269ilm.186.1626796584379; Tue, 20 Jul 2021 08:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626796584; cv=none; d=google.com; s=arc-20160816; b=QerLBmxyIpMwBJVioimFhjmR9anhAPrdbWZUDf9G1scHSDos8T1TWHpvONyiZh9Miz 5Bf/YG2T963DokrdDxKely9zP9PkGs4MiikT34rdHaYupDIzAa20EBGrC9h+B0tiGnfp x2PYonBs8bNf3AYw/ki+Aj3b+gyyWT0SIu6q+1AOyK2ZSoROUaqZA0Zbb852iJW5l4IL uW4We3bnvYwUkTi0baBOOCjvPELj5TPna4HHwyNxsAXoiZsmpEo/lDdc0f3nDB/bEjyq 9SjpiV1E0HgR98aVbt4wylBJC/I3L4imAlcvIzl+wTa2jNDqX5enZ457vNT4sCij6XQc SCxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tn5GQG1impN/UmGoIUcAsteqIcWCQ+O6KpXk/KRYhHI=; b=0k68sBNAF94BBodrDIaOg6OziJ7Zlg1HWKZsMZfaaun+VvLFe5nWf47hHh9lUeomwf 0NPIxuPOqpkEd3NkGxp7sKme3KtBVKeKVAy1bejU4/1u9HRHdvUtaadVfr5GYcfWmH+S bPF36JOlx0MSAFQ20Z11Q30TH+dGrCazczl6DfNy3c8rMdmqqVqZZ3fLSq7ploDj4u8a Ljw8apMpC92Los4swA+Vy0rv6Oo1ZTXDHijqVO9DfUGO8JoL2lCvk/LxC+/rJFGZbHY4 xYt4FWeFeDzmUE0NpXceXgJ02al+50H+81eKLJRV5QwUKDgxfv41Kfxg3i1YPJ9WvZJ5 eNCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="lNe/NW7l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t26si5090243ioj.103.2021.07.20.08.56.12; Tue, 20 Jul 2021 08:56:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="lNe/NW7l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236905AbhGTPNx (ORCPT + 99 others); Tue, 20 Jul 2021 11:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241378AbhGTPKw (ORCPT ); Tue, 20 Jul 2021 11:10:52 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B91B5C0617AB; Tue, 20 Jul 2021 08:47:07 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id b13so33362989ybk.4; Tue, 20 Jul 2021 08:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tn5GQG1impN/UmGoIUcAsteqIcWCQ+O6KpXk/KRYhHI=; b=lNe/NW7lWDfERaztukADH3t7mRVDXv2pDELtmVvc07xZv0ICbm05BMThqPQSSUv9E/ ttK+/Sh+Ik06l3uIOR3N+963yTIAC4Jr540RdewFXARtj3ZPH3mx83ZF0PfmxpUIzAEO f+K3h1ST0eiURDX0/B7REINx2adZcqjmEPH8MhKvj2qKm4+Qce7TFcpNo9+G1b10vLD7 ZgjNONkjZ12ykLi2WnADh5sjwt0frPhPXO3szciv99P9o7NJScVrPwzzfoeRUrAVJle0 rFTz0GvanUoQ/TiEUbktBBCFOmLWKHwuPYWHNfKSiQw4hC3zzF6BeqXmHXUvP7NryZDJ BA5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tn5GQG1impN/UmGoIUcAsteqIcWCQ+O6KpXk/KRYhHI=; b=cxB1m470RYO4WcLZ2xTfZtuPt+5f1MXPfo8AaZShdc3j5F9eSV0noX+lE8J+ITSWMl y331qmKNoKSDnPR/NY8aPHgwXrDgniFqwEU7iyvH+C4f5hvMktZFrU8gw9rVrTv6pq6V MOPu7KLQLlv3lR2EEXaLDCLaxab10FS7iegmxLQ4hetdCYb6caICCOTo0LYLonQ5+qlJ 01j9xTKnRNGakuOJb5UTnFy5ngn9cZTcSDhWiCXMDcJAs1QoRb4XhUMFrRgUCvbOxZQs 9YsGjnIdAK9ax0X5CdN+UJDA14YAJ+2CEsJLKSxox+bTq3Gyusa8A3X/1aP9+9yJcJxE DBDQ== X-Gm-Message-State: AOAM533QTvDTyu/qPdXGCLlsAPaBSnKV2MR3hgLU5mPQGYWcXJCVSRsH x9MD16iXQVEiDFHOTIy1S9IzxHM2OU33vwoy5Tk= X-Received: by 2002:a05:6902:114c:: with SMTP id p12mr40586981ybu.282.1626796027029; Tue, 20 Jul 2021 08:47:07 -0700 (PDT) MIME-Version: 1.0 References: <20210719024937.9542-1-bobo.shaobowang@huawei.com> <20210719074829.2554-1-hdanton@sina.com> <97b64908-45d3-f074-bd9c-0bb04624bad1@huawei.com> <20210720021619.621-1-hdanton@sina.com> <20210720062100.819-1-hdanton@sina.com> In-Reply-To: <20210720062100.819-1-hdanton@sina.com> From: Luiz Augusto von Dentz Date: Tue, 20 Jul 2021 08:46:55 -0700 Message-ID: Subject: Re: [PATCH v2] Bluetooth: fix use-after-free error in lock_sock_nested() To: Hillf Danton Cc: "Wangshaobo (bobo)" , cj.chengjian@huawei.com, Wei Yongjun , yuehaibing@huawei.com, huawei.libin@huawei.com, Marcel Holtmann , Johan Hedberg , "linux-bluetooth@vger.kernel.org" , "open list:NETWORKING [GENERAL]" , Linux Kernel Mailing List , syzbot , syzbot Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hillf, On Mon, Jul 19, 2021 at 11:21 PM Hillf Danton wrote: > > On Mon, 19 Jul 2021 21:24:30 -0700 Luiz Augusto von Dentz wrote: > > > >While Im fine adding a destroy callback the kfree shall be still in > >l2cap_chan_destroy: > > Then feel free to send a tiny patchset to linux-bluetooth@vger. What do you mean, we haven't applied your changes yet. -- Luiz Augusto von Dentz