Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1890421imm; Sat, 12 May 2018 02:07:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoHlFtPefYonn9uxRxrUGHVDJ0fuaQhBHQxUeFZzPfyjCjQ0zUFJu++Axde0ai8WvOt4fNp X-Received: by 2002:a17:902:8f8b:: with SMTP id z11-v6mr1671331plo.203.1526116075555; Sat, 12 May 2018 02:07:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526116075; cv=none; d=google.com; s=arc-20160816; b=wSMJ3c4pcOuhBdbpC2u9+CGuUG5TM1cQjHuZ6cp/OufXl+W8CgSlWsA2aCWX+EuvOD XpOFLKvrLWxnUzPYgve9AYmUGT2T5XM6CbpT3jrZe0mEK8TwjQjPmbOwhfSuyYhFf1m0 407jbWb2z4J6HxhnzhkvllKkWrFCV0AFe2p7uhTeZ7QCNQ90E4mGmyx0DHWyoVgwO/WM XJdrHYQprqXv5zq5/t8tdku6I7G3VptL7bhzs241dgefB+Z5nJpd8EVirJ1B4CKvzDST GxEmz8qvGIkp2n5xcKepZOCC4D1kK+5HRGJ3b3EZXrXU9LP4XyoFI4RdKV6M03IAU8jS 883w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=rW9Qst371XGMptyOTbPNrl5+fw+3cnGhYMezqz6oh5I=; b=JrWscR/zkaGRxZJPSMSj77fmLwqZr6h/2rSOz7D2bPyeNvK/UfdIhOHiNiso5pqsTx oGSoJ4+9dMkBzk7MsUyyuck1murd+Lv8SXB1FrHhAy+HsVYlqbpCECLgpfhzzcGm9ejK IAzW+DSCeb7U+usw/FZDh5L7Chi6+MnY6cvZ1ZIEjl+yEDkGG6xoevyXaSzv83jNO+w4 lkazly9llw7innyrXD1ihnjBGgN/YloFEmYlAhkVUIUpG9RsWGLddnXD4m2kam6ds/Qi wwV5f6HbItcvmE/HUha1uU/VRVJx/RQCtdRh0Zd8VXOINo9Uz96N9PVO+Y5UpvlVFDGX MUAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=QGxhzuKw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17-v6si4659947plo.355.2018.05.12.02.07.41; Sat, 12 May 2018 02:07:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=QGxhzuKw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751227AbeELJHH (ORCPT + 99 others); Sat, 12 May 2018 05:07:07 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:58792 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbeELJHG (ORCPT ); Sat, 12 May 2018 05:07:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rW9Qst371XGMptyOTbPNrl5+fw+3cnGhYMezqz6oh5I=; b=QGxhzuKwvY3hiwHMFtxcKq1iD soqwQB1uGhmHmtZVwSPRly0++T0MzUOMqZphQqkp6tNtJJh6tCcmnbNciX0vxbUBIWi8LcWv/nVt9 ETvBeXRTs7w4c9hoAaPDmI0Mzj+vu5YFOK+EgYwofBOk0uV+PzA+6gQiPAx1PBksfaLK4=; Received: from n2100.armlinux.org.uk ([2002:4e20:1eda:1:214:fdff:fe10:4f86]:33698) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fHQUK-0003yN-AA; Sat, 12 May 2018 10:06:48 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1fHQUH-000350-OI; Sat, 12 May 2018 10:06:45 +0100 Date: Sat, 12 May 2018 10:06:44 +0100 From: Russell King - ARM Linux To: Masami Hiramatsu Cc: gregkh@linux-foundation.org, Wang Nan , Will Deacon , Jon Medhurst , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, David Long , stable@vger.kernel.org Subject: Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions Message-ID: <20180512090644.GD16141@n2100.armlinux.org.uk> References: <152540727123.29650.13679359124038587629.stgit@devbox> <20180508112503.GD16141@n2100.armlinux.org.uk> <20180512094221.e911fa262d8ca9a70ab8869e@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180512094221.e911fa262d8ca9a70ab8869e@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 12, 2018 at 09:42:21AM +0900, Masami Hiramatsu wrote: > Hi Greg, > > Could you pick this series to stable? You've added the Cc for stable, so when they get committed to mainline, they will be automatically picked up without further need to ask. However, they do _first_ need to end up in mainline before they can go anywhere near stable trees as per stable tree rules. For more information on stable trees and their rules, please see: Documentation/process/stable-kernel-rules.rst > > Thank you, > > On Tue, 8 May 2018 12:25:03 +0100 > Russell King - ARM Linux wrote: > > > On Fri, May 04, 2018 at 01:14:31PM +0900, Masami Hiramatsu wrote: > > > Hi, > > > > > > This is the 3rd version of bugfix series for kprobes on arm. > > > This series fixes 4 different issues which I found. > > > > > > - Fix to use smp_processor_id() after disabling preemption. > > > - Prohibit probing on optimized_callback() for avoiding > > > recursive probe. > > > - Prohibit kprobes on do_undefinstr() by same reason. > > > - Prohibit kprobes on get_user() by same reason. > > > > > > >From v2, I included another 2 bugfixes (1/4 and 2/4) > > > which are not merged yet, and added "Cc: stable@vger.kernel.org", > > > since there are obvious bugs. > > > > Please submit them to the patch system, thanks. > > > > > > > > Thanks, > > > > > > --- > > > > > > Masami Hiramatsu (4): > > > arm: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed > > > arm: kprobes: Prohibit probing on optimized_callback > > > arm: kprobes: Prohibit kprobes on do_undefinstr > > > arm: kprobes: Prohibit kprobes on get_user functions > > > > > > > > > arch/arm/include/asm/assembler.h | 10 ++++++++++ > > > arch/arm/kernel/traps.c | 5 ++++- > > > arch/arm/lib/getuser.S | 10 ++++++++++ > > > arch/arm/probes/kprobes/opt-arm.c | 4 +++- > > > 4 files changed, 27 insertions(+), 2 deletions(-) > > > > > > -- > > > Masami Hiramatsu (Linaro) > > > > -- > > RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ > > FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up > > According to speedtest.net: 8.21Mbps down 510kbps up > > > -- > Masami Hiramatsu -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up