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]
Date:   Sat, 1 Oct 2022 22:04:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     Chao Gao <chao.gao@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Isaku Yamahata <isaku.yamahata@...el.com>
Subject: [intel-tdx:kvm-upstream-workaround 311/350] vmlinux.o: warning:
 objtool: np_seamldr_launch+0x129: missing int3 after ret

tree:   https://github.com/intel/tdx.git kvm-upstream-workaround
head:   699e64cb199ffac8cf4c8eff2e96fed94fcf5a0b
commit: b56618473556457b72d8ee0ac446d25649b7c9a7 [311/350] [REVERTME] x86/virt/tdx: Boot-time tdx module loading
config: x86_64-allyesconfig
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/b56618473556457b72d8ee0ac446d25649b7c9a7
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx kvm-upstream-workaround
        git checkout b56618473556457b72d8ee0ac446d25649b7c9a7
        # 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 >>):

   vmlinux.o: warning: objtool: do_machine_check+0xb9: call to ex_get_fixup_type() leaves .noinstr.text section
   vmlinux.o: warning: objtool: check_stackleak_irqoff+0x309: call to _printk() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: np_seamldr_launch+0x129: missing int3 after ret


objdump-func vmlinux.o np_seamldr_launch:
0000 000000000009a570 <np_seamldr_launch>:
0000    9a570:	f3 0f 1e fa          	endbr64
0004    9a574:	55                   	push   %rbp
0005    9a575:	48 89 e5             	mov    %rsp,%rbp
0008    9a578:	41 57                	push   %r15
000a    9a57a:	41 56                	push   %r14
000c    9a57c:	41 55                	push   %r13
000e    9a57e:	41 54                	push   %r12
0010    9a580:	53                   	push   %rbx
0011    9a581:	9c                   	pushf
0012    9a582:	f3 48 0f ae c8       	rdgsbase %rax
0017    9a587:	48 89 05 00 00 00 00 	mov    %rax,0x0(%rip)        # 9a58e <np_seamldr_launch+0x1e>	9a58a: R_X86_64_PC32	np_seamldr_saved_gs_base-0x4
001e    9a58e:	41 0f 20 db          	mov    %cr3,%r11
0022    9a592:	41 53                	push   %r11
0024    9a594:	49 81 e3 00 f0 ff ff 	and    $0xfffffffffffff000,%r11
002b    9a59b:	0f 20 e0             	mov    %cr4,%rax
002e    9a59e:	48 89 05 00 00 00 00 	mov    %rax,0x0(%rip)        # 9a5a5 <np_seamldr_launch+0x35>	9a5a1: R_X86_64_PC32	np_seamldr_saved_cr4-0x4
0035    9a5a5:	0f 20 c0             	mov    %cr0,%rax
0038    9a5a8:	48 89 05 00 00 00 00 	mov    %rax,0x0(%rip)        # 9a5af <np_seamldr_launch+0x3f>	9a5ab: R_X86_64_PC32	np_seamldr_saved_cr0-0x4
003f    9a5af:	0f 20 e0             	mov    %cr4,%rax
0042    9a5b2:	48 0d 00 40 00 00    	or     $0x4000,%rax
0048    9a5b8:	0f 22 e0             	mov    %rax,%cr4
004b    9a5bb:	0f 01 05 00 00 00 00 	sgdt   0x0(%rip)        # 9a5c2 <np_seamldr_launch+0x52>	9a5be: R_X86_64_PC32	.init.data+0x1090dc
0052    9a5c2:	4c 8b 0d 00 00 00 00 	mov    0x0(%rip),%r9        # 9a5c9 <np_seamldr_launch+0x59>	9a5c5: R_X86_64_PC32	.init.data+0x1090de
0059    9a5c9:	4c 8d 15 27 00 00 00 	lea    0x27(%rip),%r10        # 9a5f7 <np_seamldr_launch+0x87>
0060    9a5d0:	0f 01 0d 00 00 00 00 	sidt   0x0(%rip)        # 9a5d7 <np_seamldr_launch+0x67>	9a5d3: R_X86_64_PC32	.init.data+0x1090ec
0067    9a5d7:	4c 8b 25 00 00 00 00 	mov    0x0(%rip),%r12        # 9a5de <np_seamldr_launch+0x6e>	9a5da: R_X86_64_PC32	.init.data+0x1090ee
006e    9a5de:	48 89 25 00 00 00 00 	mov    %rsp,0x0(%rip)        # 9a5e5 <np_seamldr_launch+0x75>	9a5e1: R_X86_64_PC32	.init.data+0x1090fc
0075    9a5e5:	48 89 2d 00 00 00 00 	mov    %rbp,0x0(%rip)        # 9a5ec <np_seamldr_launch+0x7c>	9a5e8: R_X86_64_PC32	.init.data+0x109104
007c    9a5ec:	89 fb                	mov    %edi,%ebx
007e    9a5ee:	89 f1                	mov    %esi,%ecx
0080    9a5f0:	b8 02 00 00 00       	mov    $0x2,%eax
0085    9a5f5:	0f 37                	getsec
0087    9a5f7:	48 c7 c0 00 04 00 00 	mov    $0x400,%rax
008e    9a5fe:	48 c7 c2 00 00 00 00 	mov    $0x0,%rdx
0095    9a605:	b9 30 08 00 00       	mov    $0x830,%ecx
009a    9a60a:	0f 30                	wrmsr
009c    9a60c:	48 c7 c0 02 00 00 00 	mov    $0x2,%rax
00a3    9a613:	48 c7 c2 00 00 00 00 	mov    $0x0,%rdx
00aa    9a61a:	b9 3f 08 00 00       	mov    $0x83f,%ecx
00af    9a61f:	0f 30                	wrmsr
00b1    9a621:	b8 18 00 00 00       	mov    $0x18,%eax
00b6    9a626:	8e d8                	mov    %eax,%ds
00b8    9a628:	8e c0                	mov    %eax,%es
00ba    9a62a:	8e d0                	mov    %eax,%ss
00bc    9a62c:	48 8b 2d 00 00 00 00 	mov    0x0(%rip),%rbp        # 9a633 <np_seamldr_launch+0xc3>	9a62f: R_X86_64_PC32	.init.data+0x109104
00c3    9a633:	48 8b 25 00 00 00 00 	mov    0x0(%rip),%rsp        # 9a63a <np_seamldr_launch+0xca>	9a636: R_X86_64_PC32	.init.data+0x1090fc
00ca    9a63a:	6a 10                	push   $0x10
00cc    9a63c:	48 8d 05 03 00 00 00 	lea    0x3(%rip),%rax        # 9a646 <np_seamldr_launch+0xd6>
00d3    9a643:	50                   	push   %rax
00d4    9a644:	48 cb                	lretq
00d6    9a646:	48 8b 05 00 00 00 00 	mov    0x0(%rip),%rax        # 9a64d <np_seamldr_launch+0xdd>	9a649: R_X86_64_PC32	np_seamldr_saved_cr0-0x4
00dd    9a64d:	0f 22 c0             	mov    %rax,%cr0
00e0    9a650:	48 c7 05 00 00 00 00 00 00 00 00 	movq   $0x0,0x0(%rip)        # 9a65b <np_seamldr_launch+0xeb>	9a653: R_X86_64_PC32	np_seamldr_saved_cr0-0x8
00eb    9a65b:	48 8b 05 00 00 00 00 	mov    0x0(%rip),%rax        # 9a662 <np_seamldr_launch+0xf2>	9a65e: R_X86_64_PC32	np_seamldr_saved_cr4-0x4
00f2    9a662:	0f 22 e0             	mov    %rax,%cr4
00f5    9a665:	48 c7 05 00 00 00 00 00 00 00 00 	movq   $0x0,0x0(%rip)        # 9a670 <np_seamldr_launch+0x100>	9a668: R_X86_64_PC32	np_seamldr_saved_cr4-0x8
0100    9a670:	58                   	pop    %rax
0101    9a671:	0f 22 d8             	mov    %rax,%cr3
0104    9a674:	48 8b 05 00 00 00 00 	mov    0x0(%rip),%rax        # 9a67b <np_seamldr_launch+0x10b>	9a677: R_X86_64_PC32	np_seamldr_saved_gs_base-0x4
010b    9a67b:	f3 48 0f ae d8       	wrgsbase %rax
0110    9a680:	48 c7 05 00 00 00 00 00 00 00 00 	movq   $0x0,0x0(%rip)        # 9a68b <np_seamldr_launch+0x11b>	9a683: R_X86_64_PC32	np_seamldr_saved_gs_base-0x8
011b    9a68b:	9d                   	popf
011c    9a68c:	4c 89 c8             	mov    %r9,%rax
011f    9a68f:	5b                   	pop    %rbx
0120    9a690:	41 5c                	pop    %r12
0122    9a692:	41 5d                	pop    %r13
0124    9a694:	41 5e                	pop    %r14
0126    9a696:	41 5f                	pop    %r15
0128    9a698:	5d                   	pop    %rbp
0129    9a699:	c3                   	ret
012a    9a69a:	49 c7 c1 f2 ff ff ff 	mov    $0xfffffffffffffff2,%r9
0131    9a6a1:	e9 7b ff ff ff       	jmp    9a621 <np_seamldr_launch+0xb1>

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ