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: <202511191644.294eaf97-lkp@intel.com>
Date: Wed, 19 Nov 2025 16:36:42 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Namhyung Kim <namhyung@...nel.org>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
	<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
	<oliver.sang@...el.com>
Subject: [namhyung-perf:perf/defer-callchain-v4] [perf record]  d430e742d0:
 perf-sanity-tests.syscalls_sys_enter_openat_event_fields.fail



Hello,

kernel test robot noticed "perf-sanity-tests.syscalls_sys_enter_openat_event_fields.fail" on:

commit: d430e742d054657591e1a95a80507afb758b499a ("perf record: Add --call-graph fp,defer option for deferred callchains")
https://git.kernel.org/cgit/linux/kernel/git/namhyung/linux-perf.git perf/defer-callchain-v4

in testcase: perf-sanity-tests
version: 
with following parameters:

	perf_compiler: clang
	group: group-00



config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 224 threads 4 sockets Intel(R) Xeon(R) Platinum 8380H CPU @ 2.90GHz (Cooper Lake) with 192G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



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 <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202511191644.294eaf97-lkp@intel.com


2025-11-18 10:33:43 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 15 -v
 15: syscalls:sys_enter_openat event fields                          : Running (1 active)
--- start ---
test child forked, pid 13804
util/evsel.c:1517:41: runtime error: member access within null pointer of type 'struct callchain_param'

---- unexpected signal (11) ----
    #0 0x7f50c5ebe403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358
    #1 0x55c85d8951dc in child_test_sig_handler builtin-test.c:311
    #2 0x7f50bbc72df0 libc.so.6[3fdf0]
    #3 0x55c85dae44d0 in evsel__config evsel.c:1517
    #4 0x55c85d8cd595 in test__syscall_openat_tp_fields openat-syscall-tp-fields.c:67
    #5 0x55c85d895a6d in run_test_child builtin-test.c:339
    #6 0x55c85d7e7e1f in start_command run-command.c:128
    #7 0x55c85d897f49 in start_test builtin-test.c:545
    #8 0x55c85d898eb5 in __cmd_test builtin-test.c:647
    #9 0x55c85d89b868 in cmd_test builtin-test.c:849
    #10 0x55c85d7a19ca in run_builtin perf.c:349
    #11 0x55c85d7a22bb in handle_internal_command perf.c:401
    #12 0x55c85d7a2811 in run_argv perf.c:448
    #13 0x55c85d7a2fb8 in main perf.c:555
    #14 0x7f50bbc5cca8 libc.so.6[29ca8]
    #15 0x7f50bbc5cd65 in __libc_start_main libc.so.6[29d65]
    #16 0x55c85d50b251 in _start perf[101c251]

=================================================================
==13804==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 30952 byte(s) in 3 object(s) allocated from:
    #0 0x7f50c5f34610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x7f50c5d15808  (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)

Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x7f50c5d1d550  (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)

Indirect leak of 2792 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x55c85d7ce63b in zalloc ../../lib/zalloc.c:8
    #2 0x55c85dab5ab7 in evlist__new util/evlist.c:92
    #3 0x55c85d8cd36a in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:40
    #4 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #5 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #6 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #7 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #8 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #9 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #10 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #11 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #12 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #13 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x7f50c5d1e3fa  (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)

Indirect leak of 1128 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x55c85d7ce63b in zalloc ../../lib/zalloc.c:8
    #2 0x55c85dad9751 in evsel__newtp_idx util/evsel.c:586
    #3 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273
    #4 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50
    #5 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #6 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #7 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #8 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #9 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #10 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #11 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #12 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #13 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #14 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 456 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x55c85d7acd75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31
    #2 0x55c85d7ada73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143
    #3 0x55c85d7aebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231
    #4 0x55c85d7ad6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111
    #5 0x55c85d7ad796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119
    #6 0x55c85d7adf8e in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:175
    #7 0x55c85dabe6e0 in evlist__create_maps util/evlist.c:1028
    #8 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59
    #9 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #10 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #11 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #12 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #13 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #14 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #15 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #16 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #17 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #18 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 456 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x55c85d7acd75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31
    #2 0x55c85d7ada73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143
    #3 0x55c85d7aebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231
    #4 0x55c85d7ad6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111
    #5 0x55c85d7ad796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119
    #6 0x55c85d7bbf9d in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:45
    #7 0x55c85d7be0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156
    #8 0x55c85dab6970 in evlist__add util/evlist.c:208
    #9 0x55c85d8cd4e4 in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:57
    #10 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #11 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #12 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #13 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #14 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #15 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #16 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #17 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #18 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #19 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f33b58 in realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85
    #1 0x55c85d7b1897 in perf_thread_map__realloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:23
    #2 0x55c85d7b1aeb in perf_thread_map__new_array /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:47
    #3 0x55c85d7b1d18 in perf_thread_map__new_dummy /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:64
    #4 0x55c85dc911ad in thread_map__new_by_tid_str util/thread_map.c:233
    #5 0x55c85dc916e6 in thread_map__new_str util/thread_map.c:278
    #6 0x55c85dabe619 in evlist__create_maps util/evlist.c:1020
    #7 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59
    #8 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #9 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #10 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #11 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #12 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #13 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #14 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #15 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #16 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #17 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 26 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x7f50bbcbaaf7  (/lib/x86_64-linux-gnu/libc.so.6+0x87af7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 17 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f2ed60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578
    #1 0x55c85dad9971 in evsel__newtp_idx util/evsel.c:601
    #2 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273
    #3 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50
    #4 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #5 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #6 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #7 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #8 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #9 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #10 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #11 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #12 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #13 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 9 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f2ed60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578
    #1 0x55c85dad983d in evsel__newtp_idx util/evsel.c:597
    #2 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273
    #3 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50
    #4 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #5 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #6 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #7 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #8 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #9 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #10 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #11 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #12 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #13 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x55c85d7ad1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62
    #2 0x55c85d7afc3d in perf_cpu_map__merge /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:419
    #3 0x55c85d7bda8c in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:131
    #4 0x55c85d7bdd1b in perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:145
    #5 0x55c85d7becdb in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:252
    #6 0x55c85dabe838 in evlist__create_maps util/evlist.c:1035
    #7 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59
    #8 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #9 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #10 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #11 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #12 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #13 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #14 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #15 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #16 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #17 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x55c85d7acd8e in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:32
    #2 0x55c85d7ada73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143
    #3 0x55c85d7aebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231
    #4 0x55c85d7ad6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111
    #5 0x55c85d7ad796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119
    #6 0x55c85d7bbf9d in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:45
    #7 0x55c85d7be0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156
    #8 0x55c85dab6970 in evlist__add util/evlist.c:208
    #9 0x55c85d8cd4e4 in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:57
    #10 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #11 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #12 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #13 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #14 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #15 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #16 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #17 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #18 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #19 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x55c85d7ad1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62
    #2 0x55c85d7beaec in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:244
    #3 0x55c85dabe838 in evlist__create_maps util/evlist.c:1035
    #4 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59
    #5 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #6 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #7 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #8 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #9 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #10 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #11 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #12 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #13 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #14 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
    #1 0x55c85d7ad1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62
    #2 0x55c85d7bc2dc in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:58
    #3 0x55c85d7be0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156
    #4 0x55c85dab6970 in evlist__add util/evlist.c:208
    #5 0x55c85d8cd4e4 in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:57
    #6 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #7 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #8 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #9 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #10 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #11 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #12 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #13 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #14 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #15 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

Indirect leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x7f50c5f2ed60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578
    #1 0x55c85dad513f in evsel__init util/evsel.c:392
    #2 0x55c85dad9b58 in evsel__newtp_idx util/evsel.c:617
    #3 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273
    #4 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50
    #5 0x55c85d895a6c in run_test_child tests/builtin-test.c:339
    #6 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128
    #7 0x55c85d897f48 in start_test tests/builtin-test.c:544
    #8 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647
    #9 0x55c85d89b867 in cmd_test tests/builtin-test.c:849
    #10 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349
    #11 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401
    #12 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445
    #13 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553
    #14 0x7f50bbc5cca7  (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)

SUMMARY: AddressSanitizer: 47054 byte(s) leaked in 22 allocation(s).
 15: syscalls:sys_enter_openat event fields                          : FAILED!



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251119/202511191644.294eaf97-lkp@intel.com



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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ