lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202211151131.LoCnoyfJ-lkp@intel.com>
Date:   Tue, 15 Nov 2022 11:05:06 +0800
From:   kernel test robot <lkp@...el.com>
To:     Frederic Weisbecker <frederic@...nel.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        "Paul E. McKenney" <paulmck@...nel.org>,
        Nicolas Saenz Julienne <nsaenzju@...hat.com>
Subject: vmlinux.o: warning: objtool: ct_irq_enter+0x26: call to
 ftrace_likely_update() leaves .noinstr.text section

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e01d50cbd6eece456843717a566a34e8b926cf0c
commit: 3864caafe7c66f01b188ffccb6a4215f3bf56292 rcu/context-tracking: Remove rcu_irq_enter/exit()
date:   4 months ago
config: x86_64-randconfig-a004-20221114
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3864caafe7c66f01b188ffccb6a4215f3bf56292
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3864caafe7c66f01b188ffccb6a4215f3bf56292
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   ld: warning: arch/x86/power/hibernate_asm_64.o: missing .note.GNU-stack section implies executable stack
   ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x22: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x26: 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+0x40: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x42: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x2c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_start+0x68: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter+0x21: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x1f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit+0x28: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter+0x42: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_enter+0x25: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_user_enter+0x26: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x4c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x47: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x60: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x2d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_enter+0x30: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_enter+0x26: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_exit+0x26: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_irq_enter:
0000 00000000000051e0 <ct_irq_enter>:
0000     51e0:	f3 0f 1e fa          	endbr64
0004     51e4:	8b 05 00 00 00 00    	mov    0x0(%rip),%eax        # 51ea <ct_irq_enter+0xa>	51e6: R_X86_64_PC32	debug_locks-0x4
000a     51ea:	85 c0                	test   %eax,%eax
000c     51ec:	74 0b                	je     51f9 <ct_irq_enter+0x19>
000e     51ee:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 51f5 <ct_irq_enter+0x15>	51f1: R_X86_64_PC32	lockdep_recursion-0x4
0015     51f5:	85 c0                	test   %eax,%eax
0017     51f7:	74 26                	je     521f <ct_irq_enter+0x3f>
0019     51f9:	31 f6                	xor    %esi,%esi
001b     51fb:	31 c9                	xor    %ecx,%ecx
001d     51fd:	31 d2                	xor    %edx,%edx
001f     51ff:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	5202: R_X86_64_32S	_ftrace_annotated_branch+0x5e260
0026     5206:	e8 00 00 00 00       	call   520b <ct_irq_enter+0x2b>	5207: R_X86_64_PLT32	ftrace_likely_update-0x4
002b     520b:	31 f6                	xor    %esi,%esi
002d     520d:	31 c9                	xor    %ecx,%ecx
002f     520f:	31 d2                	xor    %edx,%edx
0031     5211:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	5214: R_X86_64_32S	_ftrace_annotated_branch+0x5e230
0038     5218:	e8 00 00 00 00       	call   521d <ct_irq_enter+0x3d>	5219: R_X86_64_PLT32	ftrace_likely_update-0x4
003d     521d:	eb b1                	jmp    51d0 <ct_nmi_enter>
003f     521f:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 5226 <ct_irq_enter+0x46>	5222: R_X86_64_PC32	hardirqs_enabled-0x4
0046     5226:	85 c0                	test   %eax,%eax
0048     5228:	74 cf                	je     51f9 <ct_irq_enter+0x19>
004a     522a:	31 c9                	xor    %ecx,%ecx
004c     522c:	31 d2                	xor    %edx,%edx
004e     522e:	be 01 00 00 00       	mov    $0x1,%esi
0053     5233:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	5236: R_X86_64_32S	_ftrace_annotated_branch+0x5e260
005a     523a:	e8 00 00 00 00       	call   523f <ct_irq_enter+0x5f>	523b: R_X86_64_PLT32	ftrace_likely_update-0x4
005f     523f:	90                   	nop
0060     5240:	0f 0b                	ud2
0062     5242:	90                   	nop
0063     5243:	be 01 00 00 00       	mov    $0x1,%esi
0068     5248:	eb c3                	jmp    520d <ct_irq_enter+0x2d>
006a     524a:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (170287 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ