[linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort

From: kernel test robot

Date: Tue Jan 20 2026 - 02:58:16 EST




Hello,

kernel test robot noticed "kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort" on:

commit: ef92c4351ec75bcfb8a1cc3a88109b5339f296ef ("perf test subcmd help: Add exclude disjoint subcmd names")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

[test failed on linux-next/master d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab]

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

perf_compiler: clang
group: group-02



config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 64 threads 2 sockets Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz (Ice Lake) with 256G 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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202601201519.ce4c3ab3-lkp@xxxxxxxxx


--- start ---
test child forked, pid 11710
perf: help.c:107: exclude_cmds: Assertion `cmds->names[ci] == NULL' failed.

---- unexpected signal (6) ----
#0 0x7f7688c77403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358
#1 0x55f34adb6c34 in child_test_sig_handler builtin-test.c:312
#2 0x7f767ea2bdf0 libc.so.6[3fdf0]
#3 0x7f767ea8095c libc.so.6[9495c]
#4 0x7f767ea2bcc2 in raise libc.so.6[3fcc2]
#5 0x7f767ea144ac in abort libc.so.6[284ac]
#6 0x7f767ea14420 in __assert_perror_fail libc.so.6[28420]
#7 0x55f34acf4e70 in exclude_cmds help.c:106
#8 0x55f34ae9a646 in test__exclude_cmdnames_no_overlap subcmd-help.c:112
#9 0x55f34adb74c5 in run_test_child builtin-test.c:340
#10 0x55f34ad08db3 in start_command run-command.c:128
#11 0x55f34adb99a1 in start_test builtin-test.c:546
#12 0x55f34adba90d in __cmd_test builtin-test.c:648
#13 0x55f34adbd2c0 in cmd_test builtin-test.c:850
#14 0x55f34acc2a45 in run_builtin perf.c:349
#15 0x55f34acc3336 in handle_internal_command perf.c:401
#16 0x55f34acc388c in run_argv perf.c:448
#17 0x55f34acc4033 in main perf.c:555
#18 0x7f767ea15ca8 libc.so.6[29ca8]
#19 0x7f767ea15d65 in __libc_start_main libc.so.6[29d65]
#20 0x55f34aa28241 in _start perf[102f241]

=================================================================
==11710==ERROR: LeakSanitizer: detected memory leaks

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

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

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

SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
68.4: Exclude disjoint subcmd names : FAILED!



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260120/202601201519.ce4c3ab3-lkp@xxxxxxxxx



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