* [linus:master] [perf/core] 166f10836a: perf-sanity-tests.Object_code_reading.fail
@ 2026-09-15 7:45 kernel test robot
2026-09-15 9:27 ` Mi, Dapeng
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-09-15 7:45 UTC (permalink / raw)
To: Dapeng Mi
Cc: oe-lkp, lkp, linux-kernel, Peter Zijlstra, linux-perf-users, yi1.lai
Hello,
kernel test robot noticed "perf-sanity-tests.Object_code_reading.fail" on:
commit: 166f10836a653dfa280d4335603b52f685b8b1ef ("perf/core: Fix kernel register info leak via hardware skid") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linux-next/master 68142f986ff04b2b70b31db00f719bf690f64a9a]
in testcase: perf-sanity-tests
with following parameters:
perf_compiler: gcc
group: group-00
config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 20 threads 1 sockets (Commet Lake) with 16G memory
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <yi1.lai@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202609151503.cb02f753-lkp@intel.com
2026-09-14 10:03:47 sudo ASAN_OPTIONS=fast_unwind_on_malloc=0 /usr/src/linux-perf-x86_64-rhel-9.4-bpf-166f10836a653dfa280d4335603b52f685b8b1ef/tools/perf/perf test 23 -v
23: Object code reading : Running (1 active)
---- start ----
...
Reading object code for memory address: 0x7f6d46bf44de File is: /usr/lib/x86_64-linux-gnu/libc.so.6
Already tested /usr/lib/x86_64-linux-gnu/libc.so.6 @ 0xff4de - skipping Reading object code for memory address: 0x7f6d46bf44de File is: /usr/lib/x86_64-linux-gnu/libc.so.6
Already tested /usr/lib/x86_64-linux-gnu/libc.so.6 @ 0xff4de - skipping Reading object code for memory address: 0 thread__find_map failed
---- end(-1) ----
23: Object code reading : FAILED!
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260915/202609151503.cb02f753-lkp@intel.com
This defect was originally reported on the perf/core branch (see https://lore.kernel.org/oe-lkp/202607091054.7c96d6c6-lkp@intel.com/). Since the culprit patch has now been merged into the mainline kernel, we have re-submitted the report to ensure proper tracking.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linus:master] [perf/core] 166f10836a: perf-sanity-tests.Object_code_reading.fail
2026-09-15 7:45 [linus:master] [perf/core] 166f10836a: perf-sanity-tests.Object_code_reading.fail kernel test robot
@ 2026-09-15 9:27 ` Mi, Dapeng
0 siblings, 0 replies; 2+ messages in thread
From: Mi, Dapeng @ 2026-09-15 9:27 UTC (permalink / raw)
To: kernel test robot
Cc: oe-lkp, lkp, linux-kernel, Peter Zijlstra, linux-perf-users
Thanks, this looks the same issue with
https://lore.kernel.org/oe-lkp/202607091054.7c96d6c6-lkp@intel.com/.
To avoid the kernel address leakage, perf clears the kernel address to 0 if
only user space SAMPLE_IP is required.
The proper fix could need to refine the test case and filter out these 0 IP
addresses. The fix is in progress and would be posted later.
On 9/15/2026 3:45 PM, kernel test robot wrote:
>
> Hello,
>
> kernel test robot noticed "perf-sanity-tests.Object_code_reading.fail" on:
>
> commit: 166f10836a653dfa280d4335603b52f685b8b1ef ("perf/core: Fix kernel register info leak via hardware skid") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> [test failed on linux-next/master 68142f986ff04b2b70b31db00f719bf690f64a9a]
>
> in testcase: perf-sanity-tests
> with following parameters:
>
> perf_compiler: gcc
> group: group-00
>
> config: x86_64-rhel-9.4-bpf
> compiler: gcc-14
> test machine: 20 threads 1 sockets (Commet Lake) with 16G memory
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <yi1.lai@intel.com>
> | Closes: https://lore.kernel.org/oe-lkp/202609151503.cb02f753-lkp@intel.com
>
>
> 2026-09-14 10:03:47 sudo ASAN_OPTIONS=fast_unwind_on_malloc=0 /usr/src/linux-perf-x86_64-rhel-9.4-bpf-166f10836a653dfa280d4335603b52f685b8b1ef/tools/perf/perf test 23 -v
> 23: Object code reading : Running (1 active)
> ---- start ----
> ...
> Reading object code for memory address: 0x7f6d46bf44de File is: /usr/lib/x86_64-linux-gnu/libc.so.6
> Already tested /usr/lib/x86_64-linux-gnu/libc.so.6 @ 0xff4de - skipping Reading object code for memory address: 0x7f6d46bf44de File is: /usr/lib/x86_64-linux-gnu/libc.so.6
> Already tested /usr/lib/x86_64-linux-gnu/libc.so.6 @ 0xff4de - skipping Reading object code for memory address: 0 thread__find_map failed
> ---- end(-1) ----
> 23: Object code reading : FAILED!
>
>
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20260915/202609151503.cb02f753-lkp@intel.com
>
> This defect was originally reported on the perf/core branch (see https://lore.kernel.org/oe-lkp/202607091054.7c96d6c6-lkp@intel.com/). Since the culprit patch has now been merged into the mainline kernel, we have re-submitted the report to ensure proper tracking.
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-15 9:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 7:45 [linus:master] [perf/core] 166f10836a: perf-sanity-tests.Object_code_reading.fail kernel test robot
2026-09-15 9:27 ` Mi, Dapeng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®