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: <202301071838.6MpuHVQP-lkp@intel.com>
Date:   Sat, 7 Jan 2023 18:56:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Borislav Petkov <bp@...e.de>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Peter Zijlstra <peterz@...radead.org>
Subject: vmlinux.o: warning: objtool: resume_play_dead+0x22: unreachable
 instruction

Hi Borislav,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0a71553536d270e988580a3daa9fc87535908221
commit: 2028a255f4df3af9e759f01f958d3237f825f256 x86/extable: Annotate ex_handler_msr_mce() as a dead end
date:   8 months ago
config: x86_64-rhel-8.3-syz
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=2028a255f4df3af9e759f01f958d3237f825f256
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 2028a255f4df3af9e759f01f958d3237f825f256
        # 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: resume_play_dead+0x22: unreachable instruction
   ld: warning: vmlinux.o: requires executable stack (because the .note.GNU-stack section is executable)
   ld: warning: .tmp_vmlinux.btf has a LOAD segment with RWX permissions
   ld: warning: vmlinux.o: requires executable stack (because the .note.GNU-stack section is executable)
   ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions
   ld: warning: vmlinux.o: requires executable stack (because the .note.GNU-stack section is executable)
   ld: warning: .tmp_vmlinux.kallsyms2 has a LOAD segment with RWX permissions
   ld: warning: vmlinux.o: requires executable stack (because the .note.GNU-stack section is executable)
   ld: warning: vmlinux has a LOAD segment with RWX permissions


objdump-func vmlinux.o resume_play_dead:
0000 00000000019f6c00 <resume_play_dead>:
0000  19f6c00:	f3 0f 1e fa          	endbr64
0004  19f6c04:	e8 00 00 00 00       	call   19f6c09 <resume_play_dead+0x9>	19f6c05: R_X86_64_PLT32	__fentry__-0x4
0009  19f6c09:	e8 00 00 00 00       	call   19f6c0e <resume_play_dead+0xe>	19f6c0a: R_X86_64_PLT32	__sanitizer_cov_trace_pc-0x4
000e  19f6c0e:	e8 00 00 00 00       	call   19f6c13 <resume_play_dead+0x13>	19f6c0f: R_X86_64_PLT32	play_dead_common-0x4
0013  19f6c13:	bf 05 00 00 00       	mov    $0x5,%edi
0018  19f6c18:	e8 00 00 00 00       	call   19f6c1d <resume_play_dead+0x1d>	19f6c19: R_X86_64_PLT32	tboot_shutdown-0x4
001d  19f6c1d:	e8 00 00 00 00       	call   19f6c22 <resume_play_dead+0x22>	19f6c1e: R_X86_64_PLT32	hlt_play_dead-0x4
0022  19f6c22:	c3                   	ret
0023  19f6c23:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
002e  19f6c2e:	66 90                	xchg   %ax,%ax

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ