Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3412633pxp; Mon, 14 Mar 2022 19:28:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ6KYgoAIPXEFPwoeyRIgZlpObqjslguiedpICKxQ1niIp82W/YJXcvV3khlJJcYnLSUZZ X-Received: by 2002:a17:902:a508:b0:14d:bfd8:58be with SMTP id s8-20020a170902a50800b0014dbfd858bemr26858431plq.10.1647311294838; Mon, 14 Mar 2022 19:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647311294; cv=none; d=google.com; s=arc-20160816; b=wxLiYQ2vOe4XCWmwrLkqMMhdgquDI7UTD4ITFNXHcjyL6KGCYCnUt2rv4rDWFlbUzt Yy4yoNq97vtsIDk3eeaInF11oWI4EGxoFtPqAMjJEQdsbGhAy65D/NV4aLhT+z0ftL8F zQElHh6Kmz6bqH0ZT2q8xRVnQ5ojMisHbMVbEe5IeCTNsuya0XmQ4QI8Sl+EefdixQeV lbg5hEHPQwSulrz0PPJQQ8mOZW9gex7SDfEQIquUQh90B21uQAZ/cjenxYaQ6Tl/H/ik KnxaufilnBujkuupCtdUHGRGbIexpS66rEQe5lrmrqpv38LcBA1mg1heHI9AUSNzh7do vk1g== 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=X0/Irb1cibTtMr5ZGAZWVjXaOdOuFimZBmaGc8PgTI0=; b=KJ9RL0tee00b6r+ulCHuxSMrFq/uVFlFUy5V0tw5O5dGjaZ/1ICVooRACFX+19byNx y+Ny4rGnMFAD7wNLuvM2C7o095c8zOsfzlvVDOlRYatZrvwFM5XjPujaSRoe4jEJXovo Cmnz5q5YInrHfZFWub9sibTkZlNxJtHK5BVURuLR2Xts1BmrbTQMqcT2R1F+uzfdM/2W A9xElooZyfePR9cCibXzsRMzreqNXGUD6CNb64xt/ntUBFeedus0oNVXrnaeif5FR0Ik G+XRVybAcJt0OTqDEaHOmovwX1uYTic3olg5C63wr9v1amM6ZVy4xiKhEq5ebRTMmDLi Tamw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n1v0gZF+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q71-20020a17090a17cd00b001bd6b5b192csi740769pja.22.2022.03.14.19.28.01; Mon, 14 Mar 2022 19:28:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=n1v0gZF+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S238370AbiCNKLf (ORCPT + 99 others); Mon, 14 Mar 2022 06:11:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238372AbiCNKLY (ORCPT ); Mon, 14 Mar 2022 06:11:24 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEB6F3C48A; Mon, 14 Mar 2022 03:10:14 -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 64042CE113D; Mon, 14 Mar 2022 10:10:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A4C0FC340F7; Mon, 14 Mar 2022 10:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647252611; bh=bYIm4hVM0CHF3WLrx87iPpNZexuy3p8S541z5pRuYUk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=n1v0gZF+Jhloy6nMoODxDf3Pqe5EyRCEi5hfQXIz13G1uFihyDaOIjLKL+3bUT9RX vPZP9EAR1N6YQ8yr/m4jfFGkjhSA00dWuQWIqpYHKOvsSyyKnT1q3/nqmEu9+2c/7h Tt/HCoAMaVrKvJfCmmHmf+MNo5VsD3aPggNHL9YGjAWoERFIEq34mffvPtEYurzmuy Z2NhYYCtBtw6sAivAjvgUVMxHrn63fWKUrPe2xi9jXRyr95Ln1qWw/ikXDw8SmmeO+ cvuZfeSXOrJno8UkyBdKDKyXJmxn8l3RWYcIrL7LFNTBNQgfY/+caqULT3uGXvuf6g DZx3KaHUjL7Ww== 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 8F862E6D44B; Mon, 14 Mar 2022 10:10:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next 0/2] net: macvlan: fix potential UAF problem for lowerdev From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164725261157.13129.12736326177131205389.git-patchwork-notify@kernel.org> Date: Mon, 14 Mar 2022 10:10:11 +0000 References: In-Reply-To: To: Ziyang Xuan Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-8.6 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,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org Hello: This series was applied to netdev/net-next.git (master) by David S. Miller : On Fri, 11 Mar 2022 17:02:41 +0800 you wrote: > Add the reference operation to lowerdev of macvlan to avoid > the potential UAF problem under the following known scenario: > > Someone module puts the NETDEV_UNREGISTER event handler to a > work, and lowerdev is accessed in the work handler. But when > the work is excuted, lowerdev has been destroyed because upper > macvlan did not get reference to lowerdev correctly. > > [...] Here is the summary with links: - [net-next,1/2] net: macvlan: fix potential UAF problem for lowerdev https://git.kernel.org/netdev/net-next/c/291ac68478d9 - [net-next,2/2] net: macvlan: add net device refcount tracker https://git.kernel.org/netdev/net-next/c/1f4a5983d623 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html