Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3485640pxb; Mon, 4 Apr 2022 18:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP1O6z3xZVpG0D8FW+Sge4oC4eU/7H6oWTpe5remJM282HRky6i5/HEVycxYwfGxrygv0S X-Received: by 2002:a17:902:9307:b0:154:78ba:ed40 with SMTP id bc7-20020a170902930700b0015478baed40mr1066919plb.92.1649122208610; Mon, 04 Apr 2022 18:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649122208; cv=none; d=google.com; s=arc-20160816; b=Au9beBKnKjeVMSCuyqoWpVV8LIpYdzxkmiw5n/sqa2pyAfMKV/gWKLAQbqh4Lsc7TQ WF1IOv+HLVQg5CJ3PJXxMNlTTogTTAlPrZ12uzNZ5bfwqg9ShOjxuDXGng6M6RA54h/I KZdhav9hfDqqHM7suUEF0XqBCQBKHF4EcHcuII6Sc+9g8FBcmK71HKo49giKVT3L5XYf WhwomnW7BcOo/B0zHftw0KoqMSJ5fdvgi/aETf656TwxKehGZHzmFaf4HwbfqiXmTn37 17E0x/4zWuED/Sg/5K1ybMDivS5ZedhJEKhaECwZ5zzqMA7BwIxlteVDTaJL62PZc4UU ZjAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=Y29Cn9u2vmsZsZ+PJvrfFWrYwhr1TVDXhRpo6pzY760=; b=YlvaTayaUF0p8p7JZVO0c7uzsyjtTy4XlhoAoeu4M0dRUHH/rj1TjMNUnppaw0gdzS ewnCrERZ/VF/edDimKtrjLVXZFMNdqOB3ZDKHJ4ImvFu+Xb/8vXKh5k88jnWxlsj0U94 wOz34ZgJFB0zmQeujse8vLXC42TWuYzhVjMFWZ1d0p4oq/8it3QaPdBYugEO91oWCzS2 duzm+OFzuflGEJqGgQKlxvc3KXgSsxeHmwbU8oFsCM1Z0mFfTiJcW15kCRD9OezmTeeK XaNhVGP6awHAwG1J6tX9gvr+x5lWFaX0XwWSvD7nzmRjY5siCpQWY1bImPWXyC+JdedJ t+Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TlaGIyXC; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id o22-20020a637e56000000b003862e2ae4f3si11126941pgn.352.2022.04.04.18.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:30:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TlaGIyXC; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D85DB70F42; Mon, 4 Apr 2022 17:19:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244324AbiDDMZN (ORCPT + 99 others); Mon, 4 Apr 2022 08:25:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbiDDMZL (ORCPT ); Mon, 4 Apr 2022 08:25:11 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BDD92FFE5 for ; Mon, 4 Apr 2022 05:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649074995; x=1680610995; h=date:from:to:cc:subject:message-id:mime-version; bh=XN0gG6pXXYUDUr+udSH6X5MIBDXhHD005JPvv6sOxkg=; b=TlaGIyXC9KL+5Ew77YQhU/gidH4J/AezFAjzZwwxuFskBOdUkhBXqZxu O5GB5521nakxzDi8FAz8rSGahmYaSTur+wkgE5RbqgFXI2vwR7kZvvQbK KUtP0xdkuZCd9n0Mga9P0Wqzq8pBeP8uQZfo+OiKTEc0ma4voj2EdQxMx gUlrtd3Yzwt9qVbMXNs+N9+nxipczhKO8H/AG+bMUpce/4Ix3+jnUsUZI vwne/Ujg/3d8MURa9gn2rZCiYAIvEM0Ov/hkm1e6SXzhbwUk9iBhnDj62 aldFul8Y9/t2Wnd6nvjW7tNWbreH3K/vqng076zuo6N+2JKnhwwedTcQ6 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10306"; a="258082213" X-IronPort-AV: E=Sophos;i="5.90,234,1643702400"; d="scan'208";a="258082213" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2022 05:23:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,234,1643702400"; d="scan'208";a="523559724" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 04 Apr 2022 05:23:13 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1nbLjl-00022d-5I; Mon, 04 Apr 2022 12:23:13 +0000 Date: Mon, 4 Apr 2022 20:22:33 +0800 From: kernel test robot To: Kees Cook Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: vmlinux.o: warning: objtool: stackleak_erase()+0x35: call to ftrace_likely_update() leaves .noinstr.text section Message-ID: <202204042008.sCQbEmVS-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3123109284176b1532874591f7c81f3837bbdc17 commit: dcb85f85fa6f142aae1fe86f399d4503d49f2b60 gcc-plugins/stackleak: Use noinstr in favor of notrace date: 8 weeks ago config: x86_64-randconfig-r012-20220404 (https://download.01.org/0day-ci/archive/20220404/202204042008.sCQbEmVS-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-19) 11.2.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dcb85f85fa6f142aae1fe86f399d4503d49f2b60 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout dcb85f85fa6f142aae1fe86f399d4503d49f2b60 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): vmlinux.o: warning: objtool: __wrgsbase_inactive()+0x26: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: __rdgsbase_inactive()+0x23: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: fixup_bad_iret()+0x76: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: noist_exc_debug()+0x3c: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_nmi()+0xaa: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: poke_int3_handler()+0x3e: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_check_crashing_cpu()+0x15: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_start()+0x4e: call to __kcsan_check_access() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_gather_info()+0x5f: call to v8086_mode.constprop.0() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_read_aux()+0x93: call to mca_msr_reg() leaves .noinstr.text section vmlinux.o: warning: objtool: do_machine_check()+0x5f: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_machine_check()+0x8e: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_severity_amd.constprop.0()+0xca: call to mce_severity_amd_smca() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_enter()+0x45: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_exit()+0x38: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode()+0x15: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x1a: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x15: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x15: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_exit()+0x28: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: context_tracking_recursion_enter()+0x103: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: __context_tracking_enter()+0x30: call to ftrace_likely_update() leaves .noinstr.text section >> vmlinux.o: warning: objtool: stackleak_erase()+0x35: call to ftrace_likely_update() leaves .noinstr.text section -- 0-DAY CI Kernel Test Service https://01.org/lkp