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: <202305230734.kGz3nQsy-lkp@intel.com>
Date:   Tue, 23 May 2023 08:26:14 +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_user_enter+0x3e: 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:   421ca22e313871d4104617bab077b275b30950ae
commit: 0ffc781a19ed3030c792ad1a0e44e6e047bb9adc context_tracking: Rename __context_tracking_enter/exit() to __ct_user_enter/exit()
date:   11 months ago
config: x86_64-randconfig-x075-20230522
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ffc781a19ed3030c792ad1a0e44e6e047bb9adc
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 0ffc781a19ed3030c792ad1a0e44e6e047bb9adc
        # 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>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305230734.kGz3nQsy-lkp@intel.com/

All warnings (new ones prefixed by >>):

   ld: warning: arch/x86/lib/retpoline.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+0x21: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x25: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x98: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x4c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0xb0: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x52: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x1f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x68: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x7c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x53: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x34: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x57: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x57: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x57: call to ftrace_likely_update() 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+0x53: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: __ct_user_enter+0x3e: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o __ct_user_enter:
0000 0000000000005290 <__ct_user_enter>:
0000     5290:	48 83 ec 18          	sub    $0x18,%rsp
0004     5294:	48 89 1c 24          	mov    %rbx,(%rsp)
0008     5298:	48 89 6c 24 08       	mov    %rbp,0x8(%rsp)
000d     529d:	89 fb                	mov    %edi,%ebx
000f     529f:	4c 89 64 24 10       	mov    %r12,0x10(%rsp)
0014     52a4:	31 ed                	xor    %ebp,%ebp
0016     52a6:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	52a7: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
001b     52ab:	48 8b 04 25 00 00 00 00 	mov    0x0,%rax	52af: R_X86_64_32S	current_task
0023     52b3:	4c 8b a0 a0 02 00 00 	mov    0x2a0(%rax),%r12
002a     52ba:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	52bd: R_X86_64_32S	_ftrace_annotated_branch+0x442e0
0031     52c1:	4d 85 e4             	test   %r12,%r12
0034     52c4:	40 0f 94 c5          	sete   %bpl
0038     52c8:	31 c9                	xor    %ecx,%ecx
003a     52ca:	31 d2                	xor    %edx,%edx
003c     52cc:	89 ee                	mov    %ebp,%esi
003e     52ce:	e8 00 00 00 00       	call   52d3 <__ct_user_enter+0x43>	52cf: R_X86_64_PLT32	ftrace_likely_update-0x4
0043     52d3:	4d 85 e4             	test   %r12,%r12
0046     52d6:	74 7a                	je     5352 <__ct_user_enter+0xc2>
0048     52d8:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	52d9: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
004d     52dd:	31 c9                	xor    %ecx,%ecx
004f     52df:	31 d2                	xor    %edx,%edx
0051     52e1:	89 ee                	mov    %ebp,%esi
0053     52e3:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	52e6: R_X86_64_32S	_ftrace_annotated_branch+0x442b0
005a     52ea:	e8 00 00 00 00       	call   52ef <__ct_user_enter+0x5f>	52eb: R_X86_64_PLT32	ftrace_likely_update-0x4
005f     52ef:	e8 cc fd ff ff       	call   50c0 <context_tracking_recursion_enter>
0064     52f4:	84 c0                	test   %al,%al
0066     52f6:	74 43                	je     533b <__ct_user_enter+0xab>
0068     52f8:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	52f9: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
006d     52fd:	8b 05 00 00 00 00    	mov    0x0(%rip),%eax        # 5303 <__ct_user_enter+0x73>	52ff: R_X86_64_PC32	context_tracking+0x4
0073     5303:	39 d8                	cmp    %ebx,%eax
0075     5305:	74 26                	je     532d <__ct_user_enter+0x9d>
0077     5307:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5308: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
007c     530c:	8a 05 00 00 00 00    	mov    0x0(%rip),%al        # 5312 <__ct_user_enter+0x82>	530e: R_X86_64_PC32	context_tracking-0x4
0082     5312:	84 c0                	test   %al,%al
0084     5314:	74 0c                	je     5322 <__ct_user_enter+0x92>
0086     5316:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5317: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
008b     531b:	83 fb 01             	cmp    $0x1,%ebx
008e     531e:	66 90                	xchg   %ax,%ax
0090     5320:	74 3e                	je     5360 <__ct_user_enter+0xd0>
0092     5322:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5323: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
0097     5327:	89 1d 00 00 00 00    	mov    %ebx,0x0(%rip)        # 532d <__ct_user_enter+0x9d>	5329: R_X86_64_PC32	context_tracking+0x4
009d     532d:	0f 1f 00             	nopl   (%rax)
00a0     5330:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5331: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
00a5     5335:	ff 0d 00 00 00 00    	decl   0x0(%rip)        # 533b <__ct_user_enter+0xab>	5337: R_X86_64_PC32	context_tracking
00ab     533b:	48 8b 1c 24          	mov    (%rsp),%rbx
00af     533f:	48 8b 6c 24 08       	mov    0x8(%rsp),%rbp
00b4     5344:	4c 8b 64 24 10       	mov    0x10(%rsp),%r12
00b9     5349:	48 83 c4 18          	add    $0x18,%rsp
00bd     534d:	c3                   	ret
00be     534e:	cc                   	int3	534e: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
00bf     534f:	0f 1f 00             	nopl   (%rax)
00c2     5352:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5353: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
00c7     5357:	90                   	nop
00c8     5358:	0f 0b                	ud2
00ca     535a:	90                   	nop
00cb     535b:	e9 78 ff ff ff       	jmp    52d8 <__ct_user_enter+0x48>
00d0     5360:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5361: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
00d5     5365:	90                   	nop
00d6     5366:	e8 00 00 00 00       	call   536b <__ct_user_enter+0xdb>	5367: R_X86_64_PC32	.text+0x669bac
00db     536b:	48 8b 3c 25 00 00 00 00 	mov    0x0,%rdi	536f: R_X86_64_32S	current_task
00e3     5373:	e8 00 00 00 00       	call   5378 <__ct_user_enter+0xe8>	5374: R_X86_64_PLT32	vtime_user_enter-0x4
00e8     5378:	90                   	nop
00e9     5379:	eb a7                	jmp    5322 <__ct_user_enter+0x92>
00eb     537b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ