Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1162740rwb; Tue, 4 Oct 2022 16:44:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5bwtq9rASQTwdUp4atEhgJd208tQQ6pbcrx0AAIH6otuyPj8QmCVVUV+CYz1QslFcWSCSR X-Received: by 2002:a17:90b:4c50:b0:202:c7b1:b1f9 with SMTP id np16-20020a17090b4c5000b00202c7b1b1f9mr2145795pjb.77.1664927084708; Tue, 04 Oct 2022 16:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664927084; cv=none; d=google.com; s=arc-20160816; b=tDSSKQCZv3pFM6ERS4br7upcZxpwYG5juja1ACTtzrX3XSr4MipPSz3UyoXjuyQpyW 8qAdQfkTuHuem8NFJb8c5zWoNBx7ILYjjcA1rN7C8vns3qfShMiA0uiEdrGJrWYZ2k5c 4nfvttlJl9YWkTqn01MkX8id21K47IfczWC0te/DYbFVVgTSd/vBYSamEp3aaHQ2Hq+u y4dAvaRv6gkwOIoFAUkDGEApREXLtjM+ZR9Pk+wEf9+39B5487Bde3DhMdQYpesT8nr9 OGdmbI2rjtBZmc+/cTIjX94tXtCACcz4k7CqG7nHNbAm5eDqytYOMS40ct3CvP4zyUdz HHaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=uwIgsqZRBeZlQrkvpKOx9sKCPniF7f4FDHVlGvvKHo8=; b=tHd2uBQkKJ2Pf6YSul76/TnJ2U4hK1Rl1eRz8cq/0ByJztk39dP+2u4PZtoVXcWeLP LG5c8FP/9QjHPsRLbBF69oZafcHmayg+9rLupdiZj/0TJiH+A0C9xECzsbtaiEujVDL9 lYqUohD73c6t1VST9A+BAT+MIQLg2qoTGVNTXAsJLY0/nG6sW+EJcSIcqTtV4e0q3/CF h7elJ0PghDQ+mXVxe+WNbjI0L0lhK7wonlPhKfv0CxQE3rZpCTBAlfMnwIjYB6ftDvyo SgiaUMgsEMahA8Hgm2fukbzjEYwcLqjub3i7rRdsWpQPFNy6ffrGxi6nq3YQPhS49aAx nXcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dl5lnTIX; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g68-20020a636b47000000b00434e8ee92a5si13441172pgc.119.2022.10.04.16.44.12; Tue, 04 Oct 2022 16:44:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dl5lnTIX; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230113AbiJDXkY (ORCPT + 99 others); Tue, 4 Oct 2022 19:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230006AbiJDXkX (ORCPT ); Tue, 4 Oct 2022 19:40:23 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02CAF1D676; Tue, 4 Oct 2022 16:40:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 9D8DFCE1119; Tue, 4 Oct 2022 23:40:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 0122BC433D6; Tue, 4 Oct 2022 23:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664926815; bh=qYshTl+pBcyzQ2bSYCdG81rJrDziSldW1bPras2wmZw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Dl5lnTIXJoUi7lNxwCLrR2iHOVfadGcE9H+AknXRmYKybpwLY9rAR2uyvOg+6oZTH 9EYlw8xtzvrbIEDkrb3+ttXCq+OwfGpXiOkvE3SBgFFSEB9ipOg0VRBL509zKhgAhP vIFP9AtndIjnZ/OSrB9QZleJO4yXzp2vmqgBarSo6Dm4ypPPJPYcd40J6Lp7fg7Xd4 0F5PekL8r2NjbTLUxYMp1Z88gODW1xbXfgtfU/0KniKzecjTG5gjEDEO7lenywUMSC YZr9LmgkjqftTkxgUEYkRGEDDyXj5yr2w0buJd2ujuzgqzgb+HQQPIleeZP6bN3nRB U3AtsZuUoNc9g== 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 D8936E49F63; Tue, 4 Oct 2022 23:40:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu From: patchwork-bot+bluetooth@kernel.org Message-Id: <166492681488.12972.13888396104463386099.git-patchwork-notify@kernel.org> Date: Tue, 04 Oct 2022 23:40:14 +0000 References: <20221004212718.504094-1-maxtram95@gmail.com> In-Reply-To: <20221004212718.504094-1-maxtram95@gmail.com> To: Maxim Mikityanskiy Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, mathew.j.martineau@linux.intel.com, gustavo.padovan@collabora.co.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Wed, 5 Oct 2022 00:27:18 +0300 you wrote: > Fix the race condition between the following two flows that run in > parallel: > > 1. l2cap_reassemble_sdu -> chan->ops->recv (l2cap_sock_recv_cb) -> > __sock_queue_rcv_skb. > > 2. bt_sock_recvmsg -> skb_recv_datagram, skb_free_datagram. > > [...] Here is the summary with links: - [v3] Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu https://git.kernel.org/bluetooth/bluetooth-next/c/89f9f3cb86b1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html