Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp692690rwi; Wed, 2 Nov 2022 17:19:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5KXlQQmv1KTKqd3oU/8sWPiPUwEg7h8bMQ+4WhFxl4eXQ+MXrFTThM+65azAQ2KzCtRmO6 X-Received: by 2002:a65:47c3:0:b0:46f:98ce:65f7 with SMTP id f3-20020a6547c3000000b0046f98ce65f7mr19898203pgs.48.1667434790311; Wed, 02 Nov 2022 17:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667434790; cv=none; d=google.com; s=arc-20160816; b=aiw03e6GuGiRifNbI+BapIFiEIK0rwGJoZOF9XH/FwXUYsCMgVruyp06c1Zbwt5etC OGBrfG0NCvb7EmKZAhOa0UiIyZnghSK5UkuYiUo+nuXf35z1OdMusJ6NGtfN6xo8FIMS P2YL8dbIJNCnw1eDmFLH8zsC/q/w+ZLrVAm2hRoMNTaMhwnhodpMsZhhLQxTNr8JHOZV v0nhs5hL59+i5yXDN/uQhwfM3rpMsQNK5vwEgPTz+lvTL5IjPbozX+EsYNaTkmE4j4/g O01t6Vcvsdz4fewEopw6OrVH+h2BjrEP1fsDIdX67tXwWaGoE4lw+jJIt9ygRXyFgs8G bDyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=4ttxSArzB3JxLbwlEumEbjkR8UfsL4eZj6yoMA2ctpw=; b=gTuZhQmdaIiiEvNVeywucXOQmoaRQnLkHYkoRnafy+7Kx8pPLmhJ3F/vQdp6+guJvU Via24K9Lq+C15o2MRCPXnnyR5HVv3PaRNeYs1iSIR1dvARPQ82gtsYil9sAa5sVKvE/D dIWjgONXBkIv6VGbOkYVjA8iXOgqMeL7+9/48GVBqTCQiJMDksupW+in2++kJW5g8L67 r3baGnkCtgeO2NQ1w5UotvlxBzGkmV/oVLWIhyulkpc5eJpricCaVi0HbMEYFnkSm5Q1 VhqeNTdXNkZJMnZzLBb4hF/VHVnwDQMsf1iDzp/rXSiVypSJKjw8EFCGKNwo7xG3ik3b DMOQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a056a00218600b0056be3585c3asi19143324pfi.266.2022.11.02.17.19.36; Wed, 02 Nov 2022 17:19:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbiKBX7s (ORCPT + 98 others); Wed, 2 Nov 2022 19:59:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbiKBX7o (ORCPT ); Wed, 2 Nov 2022 19:59:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8797F2AF5; Wed, 2 Nov 2022 16:59:43 -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 ams.source.kernel.org (Postfix) with ESMTPS id 4DD62B8257C; Wed, 2 Nov 2022 23:59:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA5B7C433C1; Wed, 2 Nov 2022 23:59:40 +0000 (UTC) Date: Wed, 2 Nov 2022 19:59:38 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: Li Huafei , , , Subject: Re: [PATCH] ftrace: Fix use-after-free for dynamic ftrace_ops Message-ID: <20221102195938.477dad9f@rorschach.local.home> In-Reply-To: <20221101230716.22c7b52728990f6b192795c0@kernel.org> References: <20221101064146.69551-1-lihuafei1@huawei.com> <20221101230716.22c7b52728990f6b192795c0@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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-kernel@vger.kernel.org On Tue, 1 Nov 2022 23:07:16 +0900 Masami Hiramatsu (Google) wrote: > But I'm not sure what commit this is fixed. Maybe commit a4c35ed24112 > ("ftrace: Fix synchronization location disabling and freeing ftrace_ops"). > Steve, can you add Fixed: ? I would associate it to: Fixes: edb096e00724f ("ftrace: Fix memleak when unregistering dynamic ops when tracing disabled") -- Steve