Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2605718iog; Sun, 26 Jun 2022 21:42:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vvtFbxWw+yPz6HhCvWtTm1WJCSMuNdLhLlaGwkBXFzddUE3C2OYXUZFhK3Pygjug6XNVLL X-Received: by 2002:a17:90a:885:b0:1ec:8968:95 with SMTP id v5-20020a17090a088500b001ec89680095mr18585073pjc.20.1656304957466; Sun, 26 Jun 2022 21:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656304957; cv=none; d=google.com; s=arc-20160816; b=sKzJ2aMggdN865bx0m8RxETeGFdcyzBoxFnLQLZ2YOjTZ6pLqv4Ae0L35jSzxw2suH 753VcFlugHc5mV/4ixR3kQ1j6uiNoX9BjxlM+hHXM4NK7EJOUnVJDK7nq/RzEM0RmpJW j0ZooOvTXgl2Fuj3iaTxemM2twXCUyWDs+dE/hJYzl710/kAxUm8YOIXJOAXUX3dzRRv hDfRnZyk7rs3HH4emQDtUBpkmdA5KDG33Ux4zLrn7XMeM5UrGKTXGmvKZ8BPck5z98Dk x9ohtw1ZYrSvMrHNS8p4N08syzdihFFRnyOEUAevuCRT7SGZmPPbM6tm/Mq4nVppU0GX fKCw== 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=VGnevX9G/FAyne4kSDIYkylm7uDGxuW8ROK7dj8djTU=; b=kE8Vm/V/DpQKfL5DCh0fHF3HBSqsfcDQTH2HGR99RqaOo3ZvDk4hxO/T2kqNGnB87s /q2tN47Cjf+tH6mJQ+u/KaYbiiEAlOTawniE0At1e0muG6LgZ9zW6/6uEhSnIJm8k8Wt 9cGyRDb1PYBG4vtaHJr0DtOIPyLspweHi9dQOT073w6Yws3F5919jqfxwUwUmN2FFSIQ KJP9O4Nq26/2DWTdOljAL7fgJV+NAALT9y8+ywbkyjnKQRnRym1tiyZjbf7vwgzRmtG0 6sLFyMr+z0s58ojTBqd1d3TAxqmR7K6/nZ3QI+U89WZdLmBdHr4k1EzjmLoclesE8AHp mOYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jnKuFHRe; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a056a00191100b00525106ac52fsi10388148pfi.79.2022.06.26.21.42.14; Sun, 26 Jun 2022 21:42:37 -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=@gmail.com header.s=20210112 header.b=jnKuFHRe; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231727AbiF0Efd (ORCPT + 99 others); Mon, 27 Jun 2022 00:35:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiF0Efc (ORCPT ); Mon, 27 Jun 2022 00:35:32 -0400 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D68C2705; Sun, 26 Jun 2022 21:35:31 -0700 (PDT) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-3176d94c236so74013957b3.3; Sun, 26 Jun 2022 21:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VGnevX9G/FAyne4kSDIYkylm7uDGxuW8ROK7dj8djTU=; b=jnKuFHRe8aDzO2iz4XQOY1V9LFpDgHE5SEAevG6hW9hXWObyXQCRHLuR744OOeFSpK 1844PoEFgKZHwXM1kVTPW3WF02pfiR5PEbYWad5V8c+dGS/5k8FQgVni8FWf2KTJ3By7 pil7JfCEilKzbFW5ou9bm/nkw041yXO+0I4m/DV3nPqDWBFD6FmTplReYL58WC3iV8IA STl6OaVoFPJCWbWLC2+auMaKFYDG+K0tkcQyZ9W0DZVGkUX/Dxrk+7CbzqODt+aP4nKR kMNSXX059dF0Iry5PyG/tny+84AHkRocaBbimKFVenAx1UMXlEoPOBCwZ8fbDS1BStt7 SdqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VGnevX9G/FAyne4kSDIYkylm7uDGxuW8ROK7dj8djTU=; b=sGn+HhfbKtAElcfZaM5NpbY2naKqoEw+uMxph28lKbn+i0xnRFa4UIJhXDgzM3+zVK v1y45NcSRMocmLjTV/wp8A+eq4Mv+QGs1I4JDE/MCxh9GfZFKxMJkyLacUHGkzNf2/WD jaBSISg/ZvG4VU/rZyOqnbeO0zAVdrRSRZl83AQ7B4YL/R1FkXJJeUx+JtN482z1kOv9 q6hc8ljOWWrQySDb5Krsdg/FveheDYwJyge/KY2VCWmMi9yVvcvD70/AmaZ9tP8Qa5Ry PdKGKecD1dRv4xtIc1KPUwWqj5Bs9324kZ8wiBVgTR63BcOp82PlCrscLM+lLPSEjNzO 4H3Q== X-Gm-Message-State: AJIora/5mIi4S/1ABlDiQGkIkp6T7KX+/Rj52Tq+jXvpxS40hcajWScN Lq+0bu766tiqMxPV+0VY+XElkr/A9mCXY6AW9QU= X-Received: by 2002:a81:1942:0:b0:317:7e9f:75b with SMTP id 63-20020a811942000000b003177e9f075bmr13117916ywz.398.1656304530162; Sun, 26 Jun 2022 21:35:30 -0700 (PDT) MIME-Version: 1.0 References: <20220623074005.259309-1-ztong0001@gmail.com> <20220624114121.2c95c3aa@kernel.org> In-Reply-To: From: Tong Zhang Date: Sun, 26 Jun 2022 21:35:19 -0700 Message-ID: Subject: Re: [PATCH] epic100: fix use after free on rmmod To: Francois Romieu Cc: Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Florian Fainelli , Arnd Bergmann , Jason Gunthorpe , Jeff Kirsher , Netdev , open list , Yilun Wu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 On Sun, Jun 26, 2022 at 8:07 AM Francois Romieu wrote: > > Tong Zhang : > [...] > > Looks like drivers/net/ethernet/smsc/epic100.c is renamed from > > drivers/net/epic100.c and this bug has been around since the very > > initial commit. > > What would you suggest ? Remove the fix tag or use > > Fix: 1da177e4c3f4 ("Linux-2.6.12-rc2") > > 'Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")' has already been signed-by or > directly used by maintainers, including netdev ones. See: > > $ git log --grep='^Fixes: 1da177e4c3f4' > > The patch will require some change for pre-5.9 stable kernels due to > 63692803899b563f94bf1b4f821b574eb74316ae "epic100: switch from 'pci_' to 'dma_' API". > > -- > Ueimor Thanks! I amended the fix tag and sent it as v2. - Tong