2022-07-21 01:33:31

by kernel test robot

[permalink] [raw]
Subject: [x86,objtool] d9e9d23006: leaking-addresses.proc..return_sites.



Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: d9e9d2300681d68a775c28de6aa6e5290ae17796 ("x86,objtool: Create .return_sites")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: leaking-addresses
version: leaking-addresses-x86_64-4f19048-1_20220518
with following parameters:

ucode: 0x28



on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz with 16G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>


below (1) is not observed in parent tests:


2022-07-18 03:07:38 ./leaking_addresses.pl --output-raw result/scan.out
2022-07-18 03:08:02 ./leaking_addresses.pl --input-raw result/scan.out --squash-by-filename

Total number of results from scan (incl dmesg): 168594

dmesg output:
[ 2.187221] mapped IOAPIC to ffffffffff5fb000 (fec00000)

Results squashed by filename (excl dmesg). Displaying [<number of results> <filename>], <example result>
[30 __ksymtab_strings] 0xffffffffc0261060
[47 .rodata] 0xffffffffc0216100
[41 .rodata.str1.8] 0xffffffffc0216058
[49 modules] btrfs 4448256 1 - Live 0xffffffffc1395000
[48 .text.exit] 0xffffffffc02151c0
[46 __mcount_loc] 0xffffffffc0216a20
[11 .data..read_mostly] 0xffffffffc021b518
[48 .text.startup] 0xffffffffc0215200
[1 ___srcu_struct_ptrs] 0xffffffffc0181c48
[49 .note.gnu.build-id] 0xffffffffc0216000
[49 .text] 0xffffffffc0212000
[49 .return_sites] 0xffffffffc0216f4f <----- (1)
[4 .altinstr_aux] 0xffffffffc1080d8f
[6 __tracepoints_ptrs] 0xffffffffc02f10dc
[49 .orc_unwind] 0xffffffffc0216f83
[2 _ftrace_eval_map] 0xffffffffc178c628
[37 .init.text] 0xffffffffc0239000
[6 __bpf_raw_tp_map] 0xffffffffc02fed40
[1 .rodata.cst16.mask1] 0xffffffffc0497120
[49 .gnu.linkonce.this_module] 0xffffffffc021b540
[49 .note.Linux] 0xffffffffc0216024
[25 __jump_table] 0xffffffffc0218000
[1 .rodata.cst32.byteshift_table] 0xffffffffc0497150
[6 _ftrace_events] 0xffffffffc02feda0
[6 __tracepoints] 0xffffffffc02feee0
[48 .data] 0xffffffffc0219000
[14 .parainstructions] 0xffffffffc058fed0
[49 .orc_unwind_ip] 0xffffffffc02173c7
[20 __param] 0xffffffffc0216a88
[1 .rodata.cst16.mask2] 0xffffffffc0497130
[21 .altinstructions] 0xffffffffc058feec
[48 .rodata.str1.1] 0xffffffffc0216ab0
[33 .retpoline_sites] 0xffffffffc02614b7
[22 __ksymtab] 0xffffffffc0261054
[5 .init.data] 0xffffffffc020f000
[21 .altinstr_replacement] 0xffffffffc058cacf
[296 printk_formats] 0xffffffff83c6aa40 : "CPU_ON"
[25 .smp_locks] 0xffffffffc0216a80
[7 .static_call_sites] 0xffffffffc178e8f8
[6 .static_call.text] 0xffffffffc02de78c
[48 .fini_array] 0xffffffffc021b520
[26 __bug_table] 0xffffffffc0244720
[9 .data.once] 0xffffffffc0484960
[6 .ref.data] 0xffffffffc02fedc0
[34 .bss] 0xffffffffc021b8c0
[49 .symtab] 0xffffffffc023c000
[18 __ksymtab_gpl] 0xffffffffc058d054
[35 .text.unlikely] 0xffffffffc02150ae
[6 __tracepoints_strings] 0xffffffffc02f10f0
[1 _error_injection_whitelist] 0xffffffffc1794e80
[325 blacklist] 0xffffffff838008b0-0xffffffff838008d0 asm_exc_divide_error
[2 .rodata.cst16.bswap_mask] 0xffffffffc0077100
[48 .init_array] 0xffffffffc023b000
[33 .exit.text] 0xffffffffc0215181
[2 .noinstr.text] 0xffffffffc1081e40
[18 __dyndbg] 0xffffffffc021b4e0
[9 .init.rodata] 0xffffffffc023a000
[166540 kallsyms] ffffffff81000000 T startup_64
[49 .strtab] 0xffffffffc023cde0
[10 __ex_table] 0xffffffffc0249720



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.



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



Attachments:
(No filename) (4.01 kB)
config-5.19.0-rc4-00007-gd9e9d2300681 (170.09 kB)
job-script (5.27 kB)
leaking-addresses (2.78 kB)
job.yaml (4.46 kB)
reproduce (126.00 B)
Download all attachments