From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC60FC433F5 for ; Wed, 27 Apr 2022 04:57:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Uk2T205+rOvyAIFqQGdfq57QwyrlZdPzSNoOYY9/jKo=; b=FcgE+PdxqO5xcM H/+SZZQ8eB4zEUS4Vd/dv7x9vFdL+zpvB5B5iFfB5GKmYrj9a6waUtI2zX7mSXsd/x5jFJJbXSjB4 /xbsVKJvuY9ai4FPLvyuanDjZnUade4cimYIl03iqa1uonmTyxMCqv28JqFCYGrhHMjCTlBVaXFx4 pSRpELnWJAPNA60TWJODvoJ839o6d8SV/yfZZSc+uhoWmrwxj7MfxCeQa4lrHsFCOBVJ+DmdzTQ8x LSJdVTlUPh7bZzHFUf7Ew/KEx6wGjKcXFbTcx5JpmVKkz8lu1Vvn+NNOIzOCNP5949+qw/i1dePz9 vuseH+W/2Zo0iI1wOdEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njZhj-00HQXD-7S; Wed, 27 Apr 2022 04:55:07 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njZhg-00HQWA-AS for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2022 04:55:05 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 2CE416114F; Wed, 27 Apr 2022 04:55:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6872CC385A9; Wed, 27 Apr 2022 04:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651035302; bh=lb0749tNeujoajvrbWKtsMVUVmfSzSAh3mOQ5OSWbws=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r7wYa8F18+PZLTDUmJKFzhLYYO74EtPmmL3519tYSUTYar7ruzcYYcSW3ukXFgBRj eP0aKTMAlRWZ+qVsuW85TATNJpZJBLVZ3CNb4Vum8W2xpAgk95jYFmr9BFPjaaQc8L odJZTZuVF4tTUZAFoESZOQNg6Jnyvi2WVwr9MDXg= Date: Wed, 27 Apr 2022 06:54:57 +0200 From: Greg KH To: Wan Jiabing Cc: Hartley Sweeten , Alexander Sverdlin , Russell King , Nikita Shubin , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] ep93xx: clock: Fix UAF in mach-ep93xx/clock.c Message-ID: References: <20220427022111.772457-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220427022111.772457-1-wanjiabing@vivo.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_215504_440010_A0C0A417 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 27, 2022 at 10:21:11AM +0800, Wan Jiabing wrote: > Fix following coccicheck errors: > ./arch/arm/mach-ep93xx/clock.c:351:9-12: ERROR: reference preceded by free on line 349 > ./arch/arm/mach-ep93xx/clock.c:458:9-12: ERROR: reference preceded by free on line 456 > > Fix two more potential UAF errors. > > Link: https://lore.kernel.org/all/20220418121212.634259061@linuxfoundation.org/ > Fixes: 9645ccc7bd7a ("ep93xx: clock: convert in-place to COMMON_CLK") > Signed-off-by: Wan Jiabing > --- > arch/arm/mach-ep93xx/clock.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B6BBC433EF for ; Wed, 27 Apr 2022 04:55:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357743AbiD0E6R (ORCPT ); Wed, 27 Apr 2022 00:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237234AbiD0E6O (ORCPT ); Wed, 27 Apr 2022 00:58:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330FB2665; Tue, 26 Apr 2022 21:55:03 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 3000260BD6; Wed, 27 Apr 2022 04:55:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6872CC385A9; Wed, 27 Apr 2022 04:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651035302; bh=lb0749tNeujoajvrbWKtsMVUVmfSzSAh3mOQ5OSWbws=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r7wYa8F18+PZLTDUmJKFzhLYYO74EtPmmL3519tYSUTYar7ruzcYYcSW3ukXFgBRj eP0aKTMAlRWZ+qVsuW85TATNJpZJBLVZ3CNb4Vum8W2xpAgk95jYFmr9BFPjaaQc8L odJZTZuVF4tTUZAFoESZOQNg6Jnyvi2WVwr9MDXg= Date: Wed, 27 Apr 2022 06:54:57 +0200 From: Greg KH To: Wan Jiabing Cc: Hartley Sweeten , Alexander Sverdlin , Russell King , Nikita Shubin , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] ep93xx: clock: Fix UAF in mach-ep93xx/clock.c Message-ID: References: <20220427022111.772457-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220427022111.772457-1-wanjiabing@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 27, 2022 at 10:21:11AM +0800, Wan Jiabing wrote: > Fix following coccicheck errors: > ./arch/arm/mach-ep93xx/clock.c:351:9-12: ERROR: reference preceded by free on line 349 > ./arch/arm/mach-ep93xx/clock.c:458:9-12: ERROR: reference preceded by free on line 456 > > Fix two more potential UAF errors. > > Link: https://lore.kernel.org/all/20220418121212.634259061@linuxfoundation.org/ > Fixes: 9645ccc7bd7a ("ep93xx: clock: convert in-place to COMMON_CLK") > Signed-off-by: Wan Jiabing > --- > arch/arm/mach-ep93xx/clock.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.