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: <202212262303.pAL3u3Nm-lkp@intel.com>
Date:   Mon, 26 Dec 2022 23:54:47 +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+0x38: call to
 ftrace_likely_update() leaves .noinstr.text section

Hi Frederic,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1b929c02afd37871d5afb9d498426f83432e71c2
commit: 3864caafe7c66f01b188ffccb6a4215f3bf56292 rcu/context-tracking: Remove rcu_irq_enter/exit()
date:   6 months ago
config: x86_64-randconfig-a015-20221226
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 olddefconfig
        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+0x32: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_start+0x73: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x53: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x70: 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_idle_exit+0x2d: 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+0x50: 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+0x46: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_enter+0x38: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_exit+0x38: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_irq_enter:
0000 0000000000006900 <ct_irq_enter>:
0000     6900:	f3 0f 1e fa          	endbr64
0004     6904:	55                   	push   %rbp
0005     6905:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	6906: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
000a     690a:	8b 05 00 00 00 00    	mov    0x0(%rip),%eax        # 6910 <ct_irq_enter+0x10>	690c: R_X86_64_PC32	debug_locks-0x4
0010     6910:	85 c0                	test   %eax,%eax
0012     6912:	74 10                	je     6924 <ct_irq_enter+0x24>
0014     6914:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	6915: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
0019     6919:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 6920 <ct_irq_enter+0x20>	691c: R_X86_64_PC32	lockdep_recursion-0x4
0020     6920:	85 c0                	test   %eax,%eax
0022     6922:	74 36                	je     695a <ct_irq_enter+0x5a>
0024     6924:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	6925: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
0029     6929:	31 c9                	xor    %ecx,%ecx
002b     692b:	31 d2                	xor    %edx,%edx
002d     692d:	31 f6                	xor    %esi,%esi
002f     692f:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	6932: R_X86_64_32S	_ftrace_annotated_branch+0x58050
0036     6936:	31 ed                	xor    %ebp,%ebp
0038     6938:	e8 00 00 00 00       	call   693d <ct_irq_enter+0x3d>	6939: R_X86_64_PLT32	ftrace_likely_update-0x4
003d     693d:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	693e: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
0042     6942:	89 ee                	mov    %ebp,%esi
0044     6944:	31 c9                	xor    %ecx,%ecx
0046     6946:	31 d2                	xor    %edx,%edx
0048     6948:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	694b: R_X86_64_32S	_ftrace_annotated_branch+0x58020
004f     694f:	e8 00 00 00 00       	call   6954 <ct_irq_enter+0x54>	6950: R_X86_64_PLT32	ftrace_likely_update-0x4
0054     6954:	5d                   	pop    %rbp
0055     6955:	e9 66 ff ff ff       	jmp    68c0 <ct_nmi_enter>
005a     695a:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	695b: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
005f     695f:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 6966 <ct_irq_enter+0x66>	6962: R_X86_64_PC32	hardirqs_enabled-0x4
0066     6966:	85 c0                	test   %eax,%eax
0068     6968:	74 ba                	je     6924 <ct_irq_enter+0x24>
006a     696a:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	696b: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
006f     696f:	31 c9                	xor    %ecx,%ecx
0071     6971:	31 d2                	xor    %edx,%edx
0073     6973:	be 01 00 00 00       	mov    $0x1,%esi
0078     6978:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	697b: R_X86_64_32S	_ftrace_annotated_branch+0x58050
007f     697f:	e8 00 00 00 00       	call   6984 <ct_irq_enter+0x84>	6980: R_X86_64_PLT32	ftrace_likely_update-0x4
0084     6984:	90                   	nop
0085     6985:	0f 0b                	ud2
0087     6987:	90                   	nop
0088     6988:	bd 01 00 00 00       	mov    $0x1,%ebp
008d     698d:	eb ae                	jmp    693d <ct_irq_enter+0x3d>
008f     698f:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
009a     699a:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
00a5     69a5:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
00b0     69b0:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
00bb     69bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ