Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3385781pxk; Mon, 28 Sep 2020 16:37:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQpTrkJFNLgSL5h6boU+Fm3Hdn1XK2/iE13uB0EdJdDSFwWkK+IHUKZeW0Wl9hw7uDE/IV X-Received: by 2002:a17:906:f246:: with SMTP id gy6mr1093293ejb.373.1601336236966; Mon, 28 Sep 2020 16:37:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601336236; cv=none; d=google.com; s=arc-20160816; b=T0sfOKOyimRQ4DqNkX+keE/nxhTVp+QVS+S4F1dXUL4utEFPOTxNLcG5NY2xoDMlbN vO24KmgPwNs6nAlOD+GiqksqEy3F64nCNTSg4D0o3VsSjnHu7h+pVVg2u04aAtwfyF8d qfk8FCDWQbduFmLBuNUKXFwj+Nrec6GmMWEisFhEjC/WLYAt0oQ/ifozTaUyzkXH4MIw 3kubRQkSdbRY5CobUziRctjge6pxumJ+OWzyNAiJs2Kj8dfeRDbCZ7N4kleG1pn2hrCD maFvALrQdNOtZzuS80SLup25MisgEhyDfQ/+6D0/KBcljt/b/zRti6qasiBe11CFK8+H 3fsw== 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=QHe1SgG9NK/apmGYSdTeN3oXqixAwdc/2M2hGWflaps=; b=hWUVDOUcEtoA+vDD5h6GvEYcKCulGVzBLMJcKhYpOM+gto/DxQN9uQW3CaYzOmqf+D eP0QRadX3WpPy4AluWRd3/qFEoKDh5q/UX4HvLTyXhS6EBFKmE5M8t9CNpnNaySgJbaa hxzD7JxLfUBf5vWSw2+r5jZJ/xT9wGIFRgQt38cOh0fUZnNuxlWgsipAjpLTiruyaMOx zGAugdY3LCWQHG9Qsykx2qma4ixJ/b4jgcZ9cJiw1TFn1TwzToowtQMuAyMNyXfBZnUj bZHCYLQ+eYglpzBQVqYU0WHg7u8BYi3fknfKaSLaBmdIjjHcbOW39H5+WE8BNTtEjTaH B7Mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f2si1800615edr.143.2020.09.28.16.36.46; Mon, 28 Sep 2020 16:37:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbgI1Xfb convert rfc822-to-8bit (ORCPT + 99 others); Mon, 28 Sep 2020 19:35:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:59748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbgI1Xfb (ORCPT ); Mon, 28 Sep 2020 19:35:31 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 D8C17235F7; Mon, 28 Sep 2020 22:15:36 +0000 (UTC) Date: Mon, 28 Sep 2020 18:15:35 -0400 From: Steven Rostedt To: Naresh Kamboju Cc: Greg Kroah-Hartman , open list , linux- stable , Masami Hiramatsu , Muchun Song , Chengming Zhou Subject: Re: [PATCH 4.19 38/92] kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler Message-ID: <20200928181535.56d7b2cb@oasis.local.home> In-Reply-To: <20200928180942.100aa6c8@oasis.local.home> References: <20200820091537.490965042@linuxfoundation.org> <20200820091539.592290034@linuxfoundation.org> <20200928180942.100aa6c8@oasis.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Sep 2020 18:09:42 -0400 Steven Rostedt wrote: > On Tue, 29 Sep 2020 01:32:59 +0530 > Naresh Kamboju wrote: > > > stable rc branch 4.19 build warning on arm64. > > > > ../kernel/kprobes.c: In function ‘kill_kprobe’: > > ../kernel/kprobes.c:1070:33: warning: statement with no effect [-Wunused-value] > > 1070 | #define disarm_kprobe_ftrace(p) (-ENODEV) > > | ^ > > ../kernel/kprobes.c:2090:3: note: in expansion of macro ‘disarm_kprobe_ftrace’ > > 2090 | disarm_kprobe_ftrace(p); > > | ^~~~~~~~~~~~~~~~~~~~ > > Seems to affect upstream as well. > Bah, no (tested the wrong kernel). You want this commit too: 10de795a5addd ("kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE") -- Steve