Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1488686imm; Fri, 11 May 2018 17:42:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZriiV8ox4alxhB/zDqqOefy2I0I5SaWLnyayPwXEiw/ulB6nhpoAf3ltwMlk8OtVz79iv8G X-Received: by 2002:a63:6945:: with SMTP id e66-v6mr1005127pgc.306.1526085772731; Fri, 11 May 2018 17:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526085772; cv=none; d=google.com; s=arc-20160816; b=bIPjEx2gfRBR7yrN1OFIdzofFtMAYQMEuSTfQnvvp0xEnitDWlTB+1C2EoI0cVpFMh FifF9Vcgi4V0A0DQA6NNnS56uqwOayVj24i9bWQ8o20xCUXcAVt9fSnJemSWM0NkTIpp xhYA6SNODVyFQCneMDcaowPZgTEio3CeyFboEsLEb/R2WGbdoil55NnCQzBx8bpEEwUa eFsJz2AN3Yuv9LST/NLuW99sZgKN7GWF4wp1Qj1i/norz3QBEnrght1kdtd3md/KWQDJ l0iZwf4ydp1j2sD4CsiiSpvuhJdNbKykSWE8JjsDu1k7X+R/VgF7fiLui5Ns3Y/tWOy5 8EMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=JMfJGn923d7F/xIPUZN5k32UTyGZ+6nXhMLZ/bk9fos=; b=vctuOmLeSCZ1LnwYRuSsbNSP+njyecV+dOC0lqFrlmlziYboVyJrJlqRYSRsIdRuu5 TDvSXjmr2Kx7rkf6B+O1bQjiK1lSji5OuBAeLRss27RrYNcl4Fa7riJg9eJxFbyo9X7T D4xNQOwTGwSHhgLkqzKVgn18zuxoNRzG+5RqNzmgHzbnCwFw1leggEOZRykveWCz7qDU V2wd5L6IuDz3CTVP/d5dqo7yUzy0kSjXb+NYrX96LdZ0U7M9EtiblDUs46YlVGxS2gxz HNAxuzIZ+l5ONkMvsoQysP3/tEpoYUApx7okF9tId+UgcnK8ax51OGh5/PYlnSZr9zrw MELw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VV9knec7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r76-v6si4347539pfb.65.2018.05.11.17.42.36; Fri, 11 May 2018 17:42:52 -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=pass header.i=@kernel.org header.s=default header.b=VV9knec7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751198AbeELAm1 (ORCPT + 99 others); Fri, 11 May 2018 20:42:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:60034 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbeELAmZ (ORCPT ); Fri, 11 May 2018 20:42:25 -0400 Received: from devbox (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB6F721851; Sat, 12 May 2018 00:42:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526085745; bh=pke1bPbQQJSX0x02MC5HgaR+stTVklpbM5O11aaXYTY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VV9knec7JJZ1F0NxzjPeVEHJcbTNRKZ2l70llR9HhMwji7VMCTmhtuXbTAzLirRiM weM6Hr3ISKyEzWrP/AAVvxyijDtYn/VqivvD93lO4r4G7L+DdQrMbalwZ7QAth/GXB rEyklXGt8CP+NYqKdRn5Qp+sW8GWlTfIv5itXHpM= Date: Sat, 12 May 2018 09:42:21 +0900 From: Masami Hiramatsu To: gregkh@linux-foundation.org Cc: Wang Nan , Will Deacon , Jon Medhurst , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, David Long , stable@vger.kernel.org, Russell King - ARM Linux Subject: Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions Message-Id: <20180512094221.e911fa262d8ca9a70ab8869e@kernel.org> In-Reply-To: <20180508112503.GD16141@n2100.armlinux.org.uk> References: <152540727123.29650.13679359124038587629.stgit@devbox> <20180508112503.GD16141@n2100.armlinux.org.uk> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, Could you pick this series to stable? 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