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 55A45C05027 for ; Thu, 26 Jan 2023 21:00:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbjAZVAA (ORCPT ); Thu, 26 Jan 2023 16:00:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbjAZU76 (ORCPT ); Thu, 26 Jan 2023 15:59:58 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D081A13DE3 for ; Thu, 26 Jan 2023 12:59:57 -0800 (PST) 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 74CD861797 for ; Thu, 26 Jan 2023 20:59:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8C8BC433EF; Thu, 26 Jan 2023 20:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674766796; bh=If47x9TvkbqO5amhCs/LORUm78pEWToTPPdUs0gHRaA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kk1CXQ2wnY3h2UKeA3Yf5lGp5ayXMuq9fgQ525XKqvWxygaUrdXTfElyACCuZYhA9 kq3XC8XhLmF93vOWnfkY935gCvUxe4PwIVPBbvp7/pAuVhkzvt4MNWuTogUaG05NpI EY0PyInC7+1Xjh2SFL6COiy9Roks2jpNSI4pkSUR/rep91k9so+os+0fel//zIdZrX wkli1SvEpni5QvZOtolSVOwgonAXtyyQwHot8553G5+ERW8LsdvgDvDhJw1/sQ/o2o sHqpojR9TSYprafWhnz6vCykSYlMAbrETsqEMvR506AfdvOvAPPdvmziaqLIsADLTM 9ArXCF+mk+M3Q== Date: Thu, 26 Jan 2023 12:59:54 -0800 From: Josh Poimboeuf To: "Paul E. McKenney" Cc: peterz@infradead.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au Subject: Re: objtool warning from next-20230125 Message-ID: <20230126205954.zk3t4fpmxqowfu2d@treble> References: <20230126182302.GA687063@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230126182302.GA687063@paulmck-ThinkPad-P17-Gen-1> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 26, 2023 at 10:23:02AM -0800, Paul E. McKenney wrote: > Hello! > > I have started seeing these objtool warnings from a wide variety of > KASAN-enabled rcutorture-related test scenarios in next-20230125. It has > been awhile since I tested -next, so I am not yet sure where this started. > > vmlinux.o: warning: objtool: __asan_memset+0x34: call to __memset() with UACCESS enabled > vmlinux.o: warning: objtool: __asan_memmove+0x4d: call to __memmove() with UACCESS enabled > vmlinux.o: warning: objtool: __asan_memcpy+0x4d: call to __memcpy() with UACCESS enabled > > As usual, should I be worried? This apparently came from Peter's 69d4c0d32186 ("entry, kasan, x86: Disallow overriding mem*() functions") but I have no idea how this is supposed to work. Peter? -- Josh