Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2535355rdb; Fri, 8 Dec 2023 10:51:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLs6ACinqZECSLu1Vqq/ueX24Jq7d6Fejy06lB1+NNhyIw1PgWc+QSWiH/M4qaJ41g6Y5s X-Received: by 2002:a05:6a00:cc1:b0:6ce:49a7:1695 with SMTP id b1-20020a056a000cc100b006ce49a71695mr680755pfv.32.1702061474553; Fri, 08 Dec 2023 10:51:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702061474; cv=none; d=google.com; s=arc-20160816; b=GUGKNOU13iRjKpT9Xdwzxh8/PWe/5i8fzb3tqaa17LHPTdIPprGmxMvXx57OMPlDVJ wzKa6FpTaqZpeUAN6YkQt3hUr2j+XT1I25ACRZSrCzzs74B/BurkrnyJ7yYJIjRQN8OQ HB1uIq1GM/XB5GgXm29wrhrcfAVoS5mhUTEHtf+WXLisj1S6/i0Cy9o6d74FtFF8nFWr rqfBGzOJdj7MVzlhpKuPcG5oLnXFUpozXfkG2EYnTK04hTdJ+MdFX2hjdpB6CnSeWrgI /lP2xIgNgyRnijkRUVr9zJggkoeoRCfaZJgy9eoQh3L5JRLv0M1E8JUX8GeRJebvyWrI zGbQ== 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=yERl2DowJKsympajQYHjjsBP5E3/g7w+jb3QHkclws8=; fh=IeSGilG0hboWZ3z0sGBJLM9mSp0M7QQD9u0HfIUVrTE=; b=WFfDRzdXHQtLUT/grRBCmwGg2AYNwSRcEcLQQGgGp9MhkYMsV/fcGmVJd9XALd21vD DtPI59ahoyxaddJsz7tSTJNdhdIozVnAH/iu2xIkvahmdo3WSr1eSRmOUi1Kvr3faxwc 0YvglJ1Lq0p3HmOK4U7ldczBcVaMjtUkTSZHeV6mjFdBgt9UBxUc2jYPkSKPjlGjvRld Lqlk1gNOtZqyQ8D3P9EVVaAVjQ8HrR8cqryZEhYBTGuGsbnxwpqlxUCubUtsOccMNHW9 9UjRlFudM8e06DcSU9Sl5dDiqyzb4JXq6pjlIO7l8CHCpQAFgqjJNJlSxq6PXfgIQILR DWkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OUjDBMGB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id o9-20020a056a0015c900b006cee3f46ebcsi869817pfu.289.2023.12.08.10.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:51:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OUjDBMGB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3789380732BB; Fri, 8 Dec 2023 10:50:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233811AbjLHSuT (ORCPT + 99 others); Fri, 8 Dec 2023 13:50:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjLHSuS (ORCPT ); Fri, 8 Dec 2023 13:50:18 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B829E0 for ; Fri, 8 Dec 2023 10:50:24 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2A9FEC433C9; Fri, 8 Dec 2023 18:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702061424; bh=sOzOiCooIHWv8JwLcQOBgic7AA/i/2hi5qBpmG99UAQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OUjDBMGBJIUBC6ckaV9Gmqu7y85/wcFFGAMz0R00eJ9mf/a5NWt9KcjofdBXnXQB+ qj28jcFigGux3yc8FWmKsS2iQycF9hKj0LxjP6kPxVWs7avWpd5htby0gMABGNBOGJ zTOvmn/BoMftYVhSRfqN5QuOK59vvp29g7s38B+mNJxdnobhcqPTnMkOdyBlHOJjKz onX836BQUzUueQR8m5SrxkqSfDb33I3xFtxa1m+XyFSeysM4k48qgj5HGBOxmyIqwc zV8TrwL6+WaCJ8hJn9T+Jlob75GjvWPThThZJczI4hu5SoejK68TWdi5ukl+W84rQD nPEAA3kRrdsvQ== 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 0F572C04E24; Fri, 8 Dec 2023 18:50:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] team: Fix use-after-free when an option instance allocation fails From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170206142405.6428.2927511697282770717.git-patchwork-notify@kernel.org> Date: Fri, 08 Dec 2023 18:50:24 +0000 References: <20231206123719.1963153-1-revest@chromium.org> In-Reply-To: <20231206123719.1963153-1-revest@chromium.org> To: Florent Revest Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 10:50:38 -0800 (PST) Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Wed, 6 Dec 2023 13:37:18 +0100 you wrote: > In __team_options_register, team_options are allocated and appended to > the team's option_list. > If one option instance allocation fails, the "inst_rollback" cleanup > path frees the previously allocated options but doesn't remove them from > the team's option_list. > This leaves dangling pointers that can be dereferenced later by other > parts of the team driver that iterate over options. > > [...] Here is the summary with links: - team: Fix use-after-free when an option instance allocation fails https://git.kernel.org/netdev/net/c/c12296bbecc4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html