gcc march setting is sierraforest valid make PERF passed 2025-09-15 14:19:32 cd /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf 2025-09-15 14:19:32 mkdir -p /pkg 2025-09-15 14:19:32 mkdir -p /kbuild/obj/consumer/x86_64-rhel-9.4-bpf 2025-09-15 14:19:34 cp /pkg/linux/x86_64-rhel-9.4-bpf/gcc-14/01c79e2544b044e2c01ab435a28a03c3f0d63be3/vmlinux.xz /tmp 2025-09-15 14:19:35 unxz -k /tmp/vmlinux.xz 2025-09-15 14:19:37 cp /tmp/vmlinux /kbuild/obj/consumer/x86_64-rhel-9.4-bpf last_num=144 2025-09-15 14:19:38 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 61 -v 61: PE file support : Running (1 active) 61: PE file support : Skip 2025-09-15 14:19:39 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 62 -v 62: Event expansion for cgroups : Running (1 active) 62: Event expansion for cgroups : Ok 2025-09-15 14:19:39 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 63 -v 63: Convert perf time to TSC : 63.1: TSC support : Running (2 active) 63.1: TSC support : Ok 63.2: Perf time to TSC : Ok 2025-09-15 14:19:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 64 -v 64: dlfilter C API : Running (1 active) --- start --- test child forked, pid 12894 -- Testing version 0 API -- Checking for gcc Command: gcc --version gcc (Debian 14.2.0-19) 14.2.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dlfilters path: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/dlfilters Command: gcc -g -o /tmp/dlfilter-test-12894-prog /tmp/dlfilter-test-12894-prog.c Creating new host machine structure Command: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf script -i /tmp/dlfilter-test-12894-perf-data --dlfilter /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/dlfilters/dlfilter-test-api-v0.so --dlarg first --dlarg 1 --dlarg 4198704 --dlarg 4198697 --dlarg 0 --dlarg last start API filter_event_early API filter_event API stop API ================================================================= ==12907==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7752 byte(s) in 1 object(s) allocated from: #0 0x7ff534e01610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7ff534be2808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2304 byte(s) in 1 object(s) allocated from: #0 0x7ff534e01c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7ff534bea550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x7ff534e01c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7ff534beb3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 10408 byte(s) leaked in 3 allocation(s). Failed with return value 256 ---- end(-1) ---- ================================================================= ==12894==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7752 byte(s) in 1 object(s) allocated from: #0 0x7fad176d1610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7fad174b2808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2304 byte(s) in 1 object(s) allocated from: #0 0x7fad176d1c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fad174ba550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x7fad176d1c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fad174bb3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 10408 byte(s) leaked in 3 allocation(s). 64: dlfilter C API : FAILED! 2025-09-15 14:19:43 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 65 -v 65: Sigtrap : Running (1 active) 65: Sigtrap : Ok 2025-09-15 14:19:43 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 66 -v 66: Event groups : Running (1 active) 66: Event groups : Skip 2025-09-15 14:19:44 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 67 -v 67: Symbols : Running (1 active) --- start --- test child forked, pid 12946 Testing /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf ---- end(0) ---- ================================================================= ==12946==ERROR: LeakSanitizer: detected memory leaks Direct leak of 9624 byte(s) in 1 object(s) allocated from: #0 0x7fea9c24e610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7fea9c02f808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2880 byte(s) in 1 object(s) allocated from: #0 0x7fea9c24ec57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fea9c037550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 461 byte(s) in 1 object(s) allocated from: #0 0x7fea9c24ec57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fea9c0383fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 12965 byte(s) leaked in 3 allocation(s). 67: Symbols : FAILED! 2025-09-15 14:19:46 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 68 -v 68: util : Running (1 active) 68: util : Ok 2025-09-15 14:19:46 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 69 -v 69: libsubcmd help tests : 69.1: Load subcmd names : Running (3 active) 69.1: Load subcmd names : Ok 69.2: Uniquify subcmd names : Ok 69.3: Exclude duplicate subcmd names : Ok 2025-09-15 14:19:47 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 70 -v 70: Test dwarf unwind : Running (1 active) --- start --- test child forked, pid 12977 unwind: test__arch_unwind_sample:ip = 0x55ca4e61ff07 (0x1402f07) unwind: access_mem addr 0x7fffc35a97f0, val 7fffc35a9a30, offset 48 unwind: access_mem addr 0x7fffc35a97f8, val 55ca4e61db29, offset 56 unwind: access_mem addr 0x7fffc35a9a08, val 2, offset 584 unwind: access_mem addr 0x7fffc35a9a30, val 7fffc35a9a60, offset 624 unwind: access_mem addr 0x7fffc35a9a10, val 8, offset 592 unwind: access_mem addr 0x7fffc35a9a18, val 7fabb0431540, offset 600 unwind: access_mem addr 0x7fffc35a9a20, val 7fabbeabcd80, offset 608 unwind: access_mem addr 0x7fffc35a9a28, val 1, offset 616 unwind: access_mem addr 0x7fffc35a9a38, val 55ca4e61df22, offset 632 unwind: test_dwarf_unwind__thread:ip = 0x55ca4e61db28 (0x1400b28) unwind: access_mem addr 0x7fffc35a9a60, val 7fabb0431548, offset 672 unwind: access_mem addr 0x7fffc35a9a68, val 7fabbdf541ac, offset 680 unwind: test_dwarf_unwind__compare:ip = 0x55ca4e61df21 (0x1400f21) unwind: access_mem addr 0x7fffc35a9a88, val 7fabb0431540, offset 712 unwind: access_mem addr 0x7fffc35a9a90, val 2, offset 720 unwind: access_mem addr 0x7fffc35a9a98, val 8, offset 728 unwind: access_mem addr 0x7fffc35a9aa0, val 7fabb0431560, offset 736 unwind: access_mem addr 0x7fffc35a9aa8, val 55ca4e61de1e, offset 744 unwind: access_mem addr 0x7fffc35a9ab0, val 7fffc35aa070, offset 752 unwind: access_mem addr 0x7fffc35a9ab8, val 7fabbeb47834, offset 760 unwind: bsearch:ip = 0x7fabbdf541ab (0x411ab) unwind: access_mem addr 0x7fffc35a9ad0, val 7fabb0431500, offset 784 unwind: access_mem addr 0x7fffc35a9ad8, val 7fffc35a9be0, offset 792 unwind: access_mem addr 0x7fffc35a9ae0, val ff5760862a0, offset 800 unwind: access_mem addr 0x7fffc35a9ae8, val 7fffc35a9b20, offset 808 unwind: access_mem addr 0x7fffc35a9af0, val 7fffc35a9c80, offset 816 unwind: access_mem addr 0x7fffc35a9af8, val 55ca4e61e125, offset 824 unwind: ___interceptor_bsearch:ip = 0x7fabbeb47833 (0xdb833) unwind: access_mem addr 0x7fffc35a9bc8, val ff5760e2080, offset 1032 unwind: access_mem addr 0x7fffc35a9be0, val 7fffc35a9c10, offset 1056 unwind: access_mem addr 0x7fffc35a9bd0, val 7fabb0710400, offset 1040 unwind: access_mem addr 0x7fffc35a9bd8, val 7fabb0710680, offset 1048 unwind: access_mem addr 0x7fffc35a9be8, val 55ca4e61e1b1, offset 1064 unwind: test_dwarf_unwind__krava_3:ip = 0x55ca4e61e124 (0x1401124) unwind: access_mem addr 0x7fffc35a9c10, val 7fffc35a9c40, offset 1104 unwind: access_mem addr 0x7fffc35a9c18, val 55ca4e61e1f4, offset 1112 unwind: test_dwarf_unwind__krava_2:ip = 0x55ca4e61e1b0 (0x14011b0) unwind: access_mem addr 0x7fffc35a9c40, val 7fffc35a9f20, offset 1152 unwind: access_mem addr 0x7fffc35a9c48, val 55ca4e61e5cb, offset 1160 unwind: test_dwarf_unwind__krava_1:ip = 0x55ca4e61e1f3 (0x14011f3) got: test_dwarf_unwind__krava_1 0x55ca4e61e1f3, expecting test__dwarf_unwind unwind: failed with 'no error' got wrong number of stack entries 1 != 8 ---- end(-1) ---- ================================================================= ==12977==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7fabbeb60610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7fabbe941808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7fabbeb60c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fabbe949550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7fabbeb60c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fabbe94a3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s). 70: Test dwarf unwind : FAILED! 2025-09-15 14:19:50 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 71 -v 71: Intel PT : 71.1: Intel PT packet decoder : Running (2 active) 71.1: Intel PT packet decoder : Ok 71.2: Intel PT hybrid CPU compatibility : Skip 2025-09-15 14:19:50 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 72 -v 72: x86 bp modify : Running (1 active) 72: x86 bp modify : Ok 2025-09-15 14:19:51 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 73 -v 73: AMD IBS via core pmu : Running (1 active) 73: AMD IBS via core pmu : Skip 2025-09-15 14:19:51 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 74 -v 74: x86 hybrid event parsing : Running (1 active) 74: x86 hybrid event parsing : Skip (not hybrid) 2025-09-15 14:19:52 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 75 -v 75: x86 topdown : Running (1 active) 75: x86 topdown : Ok 2025-09-15 14:19:53 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 76 -v 76: AMD IBS software filtering : Running (1 active) 76: AMD IBS software filtering : Skip 2025-09-15 14:19:53 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 77 -v 77: perf annotate basic tests : Running (1 active) --- start --- test child forked, pid 13055 140175e-1401871 l noploop perf does have symbol 'noploop' Basic perf annotate test Unexpected signal in test_basic ---- end(-1) ---- 77: perf annotate basic tests : FAILED! 2025-09-15 14:19:59 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 78 -v 78: Perf attribute expectations test : Running (1 active) 78: Perf attribute expectations test : Ok 2025-09-15 14:20:00 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 79 -v 79: build id cache operations : Running (1 active) --- start --- test child forked, pid 13112 WARNING: perf not built with libbfd. PE binaries will not be tested. WARNING: wine not found. PE binaries will not be run. test binaries: /tmp/perf.ex.SHA1.Z6n /tmp/perf.ex.MD5.IEV /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/tests/shell/../pe-file.exe DEBUGINFOD_URLS= Adding 916d0ebaf0e95fd65f7a56c358fd8127a599f412 /tmp/perf.ex.SHA1.Z6n: Ok build id: 916d0ebaf0e95fd65f7a56c358fd8127a599f412 link: /tmp/perf.debug.lOt/.build-id/91/6d0ebaf0e95fd65f7a56c358fd8127a599f412 file: /tmp/perf.debug.lOt/.build-id/91/../../tmp/perf.ex.SHA1.Z6n/916d0ebaf0e95fd65f7a56c358fd8127a599f412/elf 916d0ebaf0e95fd65f7a56c358fd8127a599f412 /tmp/perf.ex.SHA1.Z6n OK for /tmp/perf.ex.SHA1.Z6n DEBUGINFOD_URLS= Adding 82116c4fd43ec51d956099717eef476c /tmp/perf.ex.MD5.IEV: Ok build id: 82116c4fd43ec51d956099717eef476c link: /tmp/perf.debug.QgC/.build-id/82/116c4fd43ec51d956099717eef476c file: /tmp/perf.debug.QgC/.build-id/82/../../tmp/perf.ex.MD5.IEV/82116c4fd43ec51d956099717eef476c/elf 82116c4fd43ec51d956099717eef476c /tmp/perf.ex.MD5.IEV OK for /tmp/perf.ex.MD5.IEV running: perf record /tmp/perf.ex.SHA1.Z6n failed: record /tmp/perf.ex.SHA1.Z6n see log: /tmp/perf.log.err.F8k ---- end(-1) ---- 79: build id cache operations : FAILED! 2025-09-15 14:20:05 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 80 -v 80: daemon operations : Running (1 active) --- start --- test child forked, pid 13195 test daemon list test daemon reconfig test daemon stop test daemon signal signal 12 sent to session 'test [13571]' signal 12 sent to session 'test [13571]' FAILED: perf data no generated test daemon ping test daemon lock ---- end(-1) ---- 80: daemon operations : FAILED! 2025-09-15 14:20:52 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 81 -v 81: perf diff tests : Running (1 active) --- start --- test child forked, pid 15591 1401938-1401971 g test_loop perf does have symbol 'test_loop' Basic two file diff test Workload record [Failed record] Basic three file diff test Workload record [Failed record] ---- end(-1) ---- 81: perf diff tests : FAILED! 2025-09-15 14:21:02 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 82 -v 82: DRM PMU : Running (1 active) 82: DRM PMU : Ok 2025-09-15 14:21:05 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 83 -v 83: perf ftrace tests : Running (1 active) 83: perf ftrace tests : Ok 2025-09-15 14:21:22 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 84 -v 84: perf header tests : Running (1 active) --- start --- test child forked, pid 15767 Test perf header file [ perf record: Woken up 2 times to write data ] ================================================================= ==15772==ERROR: AddressSanitizer: heap-use-after-free on address 0x5020000417f0 at pc 0x560d6399f075 bp 0x7ffc92278390 sp 0x7ffc92278388 READ of size 8 at 0x5020000417f0 thread T0 #0 0x560d6399f074 in maps__by_name_index util/maps.c:423 #1 0x560d6399fc56 in __maps__remove util/maps.c:536 #2 0x560d639a382d in __maps__fixup_overlap_and_insert util/maps.c:956 #3 0x560d639a3959 in maps__fixup_overlap_and_insert util/maps.c:975 #4 0x560d63979161 in machine__process_ksymbol_register util/machine.c:756 #5 0x560d63979929 in machine__process_ksymbol util/machine.c:824 #6 0x560d63813863 in perf_event__process_ksymbol util/event.c:301 #7 0x560d639bae92 in machines__deliver_event util/session.c:1349 #8 0x560d639bb4fe in perf_session__deliver_event util/session.c:1386 #9 0x560d639bef08 in perf_session__process_event util/session.c:1682 #10 0x560d639c65c3 in process_simple util/session.c:2259 #11 0x560d639c5583 in reader__read_event util/session.c:2188 #12 0x560d639c5f29 in reader__process_events util/session.c:2237 #13 0x560d639c6db2 in __perf_session__process_events util/session.c:2282 #14 0x560d639c9e6e in perf_session__process_events util/session.c:2446 #15 0x560d632ea3db in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1497 #16 0x560d632eee0f in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1821 #17 0x560d632fce54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #18 0x560d6330a8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #19 0x560d63517aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #20 0x560d6351839d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #21 0x560d635188f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #22 0x560d6351909a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #23 0x7f016db72ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #24 0x7f016db72d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #25 0x560d63288470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) 0x5020000417f0 is located 0 bytes inside of 8-byte region [0x5020000417f0,0x5020000417f8) freed by thread T0 here: #0 0x7f016e7958f8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x560d63997d19 in map__put util/map.c:312 #2 0x560d6399fb5b in __maps__remove util/maps.c:530 #3 0x560d639a382d in __maps__fixup_overlap_and_insert util/maps.c:956 #4 0x560d639a3959 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x560d63979161 in machine__process_ksymbol_register util/machine.c:756 #6 0x560d63979929 in machine__process_ksymbol util/machine.c:824 #7 0x560d63813863 in perf_event__process_ksymbol util/event.c:301 #8 0x560d639bae92 in machines__deliver_event util/session.c:1349 #9 0x560d639bb4fe in perf_session__deliver_event util/session.c:1386 #10 0x560d639bef08 in perf_session__process_event util/session.c:1682 #11 0x560d639c65c3 in process_simple util/session.c:2259 #12 0x560d639c5583 in reader__read_event util/session.c:2188 #13 0x560d639c5f29 in reader__process_events util/session.c:2237 #14 0x560d639c6db2 in __perf_session__process_events util/session.c:2282 #15 0x560d639c9e6e in perf_session__process_events util/session.c:2446 #16 0x560d632ea3db in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1497 #17 0x560d632eee0f in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1821 #18 0x560d632fce54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #19 0x560d6330a8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #20 0x560d63517aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #21 0x560d6351839d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #22 0x560d635188f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #23 0x560d6351909a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #24 0x7f016db72ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) previously allocated by thread T0 here: #0 0x7f016e796c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x560d6399b12e in map__get util/map.h:188 #2 0x560d639a228f in __maps__insert_sorted util/maps.c:791 #3 0x560d639a38a4 in __maps__fixup_overlap_and_insert util/maps.c:965 #4 0x560d639a3959 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x560d63979161 in machine__process_ksymbol_register util/machine.c:756 #6 0x560d63979929 in machine__process_ksymbol util/machine.c:824 #7 0x560d63813863 in perf_event__process_ksymbol util/event.c:301 #8 0x560d639bae92 in machines__deliver_event util/session.c:1349 #9 0x560d639bb4fe in perf_session__deliver_event util/session.c:1386 #10 0x560d639bef08 in perf_session__process_event util/session.c:1682 #11 0x560d639c65c3 in process_simple util/session.c:2259 #12 0x560d639c5583 in reader__read_event util/session.c:2188 #13 0x560d639c5f29 in reader__process_events util/session.c:2237 #14 0x560d639c6db2 in __perf_session__process_events util/session.c:2282 #15 0x560d639c9e6e in perf_session__process_events util/session.c:2446 #16 0x560d632ea3db in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1497 #17 0x560d632eee0f in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1821 #18 0x560d632fce54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #19 0x560d6330a8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #20 0x560d63517aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #21 0x560d6351839d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #22 0x560d635188f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #23 0x560d6351909a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #24 0x7f016db72ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: heap-use-after-free util/maps.c:423 in maps__by_name_index Shadow bytes around the buggy address: 0x502000041500: fa fa fd fa fa fa 00 01 fa fa 00 fa fa fa fd fa 0x502000041580: fa fa 00 07 fa fa 00 fa fa fa fd fa fa fa 00 01 0x502000041600: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa fd fa 0x502000041680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x502000041700: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 fa =>0x502000041780: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa[fd]fa 0x502000041800: fa fa 00 fa fa fa 00 06 fa fa 00 01 fa fa 00 01 0x502000041880: fa fa 00 03 fa fa 00 00 fa fa 00 05 fa fa 00 03 0x502000041900: fa fa 00 02 fa fa 00 03 fa fa 00 02 fa fa 00 01 0x502000041980: fa fa 00 06 fa fa fd fa fa fa fd fa fa fa 00 fa 0x502000041a00: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==15772==ABORTING Unexpected signal in test_file ---- end(-1) ---- 84: perf header tests : FAILED! 2025-09-15 14:21:27 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 85 -v 85: perf list tests : Running (1 active) 85: perf list tests : Ok 2025-09-15 14:21:31 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 86 -v 86: kernel lock contention analysis test : Running (1 active) 86: kernel lock contention analysis test : Ok 2025-09-15 14:22:04 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 87 -v 87: perf report --hierarchy : Running (1 active) --- start --- test child forked, pid 16760 perf report --hierarchy Linux [ perf record: Woken up 5 times to write data ] ================================================================= ==16764==ERROR: AddressSanitizer: heap-use-after-free on address 0x5020000417f0 at pc 0x55a976bf0075 bp 0x7ffdbb423a50 sp 0x7ffdbb423a48 READ of size 8 at 0x5020000417f0 thread T0 #0 0x55a976bf0074 in maps__by_name_index util/maps.c:423 #1 0x55a976bf0c56 in __maps__remove util/maps.c:536 #2 0x55a976bf482d in __maps__fixup_overlap_and_insert util/maps.c:956 #3 0x55a976bf4959 in maps__fixup_overlap_and_insert util/maps.c:975 #4 0x55a976bca161 in machine__process_ksymbol_register util/machine.c:756 #5 0x55a976bca929 in machine__process_ksymbol util/machine.c:824 #6 0x55a976a64863 in perf_event__process_ksymbol util/event.c:301 #7 0x55a976c0be92 in machines__deliver_event util/session.c:1349 #8 0x55a976c0c4fe in perf_session__deliver_event util/session.c:1386 #9 0x55a976c0ff08 in perf_session__process_event util/session.c:1682 #10 0x55a976c175c3 in process_simple util/session.c:2259 #11 0x55a976c16583 in reader__read_event util/session.c:2188 #12 0x55a976c16f29 in reader__process_events util/session.c:2237 #13 0x55a976c17db2 in __perf_session__process_events util/session.c:2282 #14 0x55a976c1ae6e in perf_session__process_events util/session.c:2446 #15 0x55a97653b3db in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1497 #16 0x55a97653fe0f in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1821 #17 0x55a97654de54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #18 0x55a97655b8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #19 0x55a976768aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #20 0x55a97676939d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #21 0x55a9767698f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #22 0x55a97676a09a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #23 0x7f804a8faca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #24 0x7f804a8fad64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #25 0x55a9764d9470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) 0x5020000417f0 is located 0 bytes inside of 8-byte region [0x5020000417f0,0x5020000417f8) freed by thread T0 here: #0 0x7f804b51d8f8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x55a976be8d19 in map__put util/map.c:312 #2 0x55a976bf0b5b in __maps__remove util/maps.c:530 #3 0x55a976bf482d in __maps__fixup_overlap_and_insert util/maps.c:956 #4 0x55a976bf4959 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x55a976bca161 in machine__process_ksymbol_register util/machine.c:756 #6 0x55a976bca929 in machine__process_ksymbol util/machine.c:824 #7 0x55a976a64863 in perf_event__process_ksymbol util/event.c:301 #8 0x55a976c0be92 in machines__deliver_event util/session.c:1349 #9 0x55a976c0c4fe in perf_session__deliver_event util/session.c:1386 #10 0x55a976c0ff08 in perf_session__process_event util/session.c:1682 #11 0x55a976c175c3 in process_simple util/session.c:2259 #12 0x55a976c16583 in reader__read_event util/session.c:2188 #13 0x55a976c16f29 in reader__process_events util/session.c:2237 #14 0x55a976c17db2 in __perf_session__process_events util/session.c:2282 #15 0x55a976c1ae6e in perf_session__process_events util/session.c:2446 #16 0x55a97653b3db in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1497 #17 0x55a97653fe0f in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1821 #18 0x55a97654de54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #19 0x55a97655b8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #20 0x55a976768aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #21 0x55a97676939d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #22 0x55a9767698f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #23 0x55a97676a09a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #24 0x7f804a8faca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) previously allocated by thread T0 here: #0 0x7f804b51ec57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55a976bec12e in map__get util/map.h:188 #2 0x55a976bf328f in __maps__insert_sorted util/maps.c:791 #3 0x55a976bf48a4 in __maps__fixup_overlap_and_insert util/maps.c:965 #4 0x55a976bf4959 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x55a976bca161 in machine__process_ksymbol_register util/machine.c:756 #6 0x55a976bca929 in machine__process_ksymbol util/machine.c:824 #7 0x55a976a64863 in perf_event__process_ksymbol util/event.c:301 #8 0x55a976c0be92 in machines__deliver_event util/session.c:1349 #9 0x55a976c0c4fe in perf_session__deliver_event util/session.c:1386 #10 0x55a976c0ff08 in perf_session__process_event util/session.c:1682 #11 0x55a976c175c3 in process_simple util/session.c:2259 #12 0x55a976c16583 in reader__read_event util/session.c:2188 #13 0x55a976c16f29 in reader__process_events util/session.c:2237 #14 0x55a976c17db2 in __perf_session__process_events util/session.c:2282 #15 0x55a976c1ae6e in perf_session__process_events util/session.c:2446 #16 0x55a97653b3db in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1497 #17 0x55a97653fe0f in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1821 #18 0x55a97654de54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #19 0x55a97655b8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #20 0x55a976768aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #21 0x55a97676939d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #22 0x55a9767698f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #23 0x55a97676a09a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #24 0x7f804a8faca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: heap-use-after-free util/maps.c:423 in maps__by_name_index Shadow bytes around the buggy address: 0x502000041500: fa fa fd fa fa fa 00 01 fa fa 00 fa fa fa fd fa 0x502000041580: fa fa 00 07 fa fa 00 fa fa fa fd fa fa fa 00 01 0x502000041600: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa fd fa 0x502000041680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x502000041700: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 fa =>0x502000041780: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa[fd]fa 0x502000041800: fa fa 00 fa fa fa 00 06 fa fa 00 01 fa fa 00 01 0x502000041880: fa fa 00 03 fa fa 00 00 fa fa 00 05 fa fa 00 03 0x502000041900: fa fa 00 02 fa fa 00 03 fa fa 00 02 fa fa 00 01 0x502000041980: fa fa 00 06 fa fa fd fa fa fa fd fa fa fa 00 fa 0x502000041a00: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16764==ABORTING --- Cleaning up --- ---- end(-1) ---- 87: perf report --hierarchy : FAILED! 2025-09-15 14:22:07 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 88 -v 88: perf pipe recording and injection test : Running (1 active) --- start --- test child forked, pid 16787 140175e-1401871 l noploop perf does have symbol 'noploop' Record+report pipe test util/util.c:295:6: runtime error: index 64 out of bounds for type 'char [17]' util/util.c:295:12: runtime error: store to address 0x7f4b418a1060 with insufficient space for an object of type 'char' 0x7f4b418a1060: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 18 00 04 2e 00 00 00 00 9d 77 00 00 00 00 00 00 02 00 00 00 ^ ================================================================= ==16803==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f4b418a1050 at pc 0x561dc13e9257 bp 0x7ffe75d35540 sp 0x7ffe75d35538 WRITE of size 1 at 0x7f4b418a1050 thread T0 #0 0x561dc13e9256 in cpumask_to_cpulist util/util.c:295 #1 0x561dc11fb37b in build_cpu_domain_map util/header.c:1727 #2 0x561dc11fb91f in write_cpu_domain_info util/header.c:1753 #3 0x561dc145a9ef in perf_event__synthesize_features util/synthetic-events.c:2419 #4 0x561dc145b224 in perf_event__synthesize_for_pipe util/synthetic-events.c:2471 #5 0x561dc0bc2085 in record__synthesize /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2063 #6 0x561dc0bc9ded in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2581 #7 0x561dc0bda8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #8 0x561dc0de7aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #9 0x561dc0de839d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #10 0x561dc0de88f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #11 0x561dc0de909a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #12 0x7f4b4efc7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #13 0x7f4b4efc7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #14 0x561dc0b58470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) Address 0x7f4b418a1050 is located in stack of thread T0 at offset 80 in frame #0 0x561dc13e8c26 in cpumask_to_cpulist util/util.c:267 This frame has 2 object(s): [32, 49) 'blk' (line 291) [96, 1120) 'cpus' (line 271) <== Memory access at offset 80 underflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow util/util.c:295 in cpumask_to_cpulist Shadow bytes around the buggy address: 0x7f4b418a0d80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 0x7f4b418a0e00: f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 0x7f4b418a0e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f4b418a0f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f4b418a0f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7f4b418a1000: f1 f1 f1 f1 00 00 01 f2 f2 f2[f2]f2 00 00 00 00 0x7f4b418a1080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f4b418a1100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f4b418a1180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f4b418a1200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f4b418a1280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16803==ABORTING Record+report pipe test [Failed - cannot find the test file in the perf report #1] Inject -B build-ids test util/util.c:295:6: runtime error: index 64 out of bounds for type 'char [17]' util/util.c:295:12: runtime error: store to address 0x7faa03ca1060 with insufficient space for an object of type 'char' 0x7faa03ca1060: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 18 00 04 2e 00 00 00 00 9d 77 00 00 00 00 00 00 02 00 00 00 ^ ================================================================= ==16818==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7faa03ca1050 at pc 0x5613ca51a257 bp 0x7ffde4af7240 sp 0x7ffde4af7238 WRITE of size 1 at 0x7faa03ca1050 thread T0 #0 0x5613ca51a256 in cpumask_to_cpulist util/util.c:295 #1 0x5613ca32c37b in build_cpu_domain_map util/header.c:1727 #2 0x5613ca32c91f in write_cpu_domain_info util/header.c:1753 #3 0x5613ca58b9ef in perf_event__synthesize_features util/synthetic-events.c:2419 #4 0x5613ca58c224 in perf_event__synthesize_for_pipe util/synthetic-events.c:2471 #5 0x5613c9cf3085 in record__synthesize /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2063 #6 0x5613c9cfaded in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2581 #7 0x5613c9d0b8cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #8 0x5613c9f18aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #9 0x5613c9f1939d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #10 0x5613c9f198f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #11 0x5613c9f1a09a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #12 0x7faa11387ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #13 0x7faa11387d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #14 0x5613c9c89470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) Address 0x7faa03ca1050 is located in stack of thread T0 at offset 80 in frame #0 0x5613ca519c26 in cpumask_to_cpulist util/util.c:267 This frame has 2 object(s): [32, 49) 'blk' (line 291) [96, 1120) 'cpus' (line 271) <== Memory access at offset 80 underflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow util/util.c:295 in cpumask_to_cpulist Shadow bytes around the buggy address: 0x7faa03ca0d80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 0x7faa03ca0e00: f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 0x7faa03ca0e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7faa03ca0f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7faa03ca0f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7faa03ca1000: f1 f1 f1 f1 00 00 01 f2 f2 f2[f2]f2 00 00 00 00 0x7faa03ca1080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7faa03ca1100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7faa03ca1180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7faa03ca1200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7faa03ca1280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16818==ABORTING Error: The - data has no samples! Inject build-ids test [Failed - cannot find noploop function in pipe #1] Inject -b build-ids test util/util.c:295:6: runtime error: index 64 out of bounds for type 'char [17]' util/util.c:295:12: runtime error: store to address 0x7fad986a1060 with insufficient space for an object of type 'char' 0x7fad986a1060: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 18 00 04 2e 00 00 00 00 9d 77 00 00 00 00 00 00 02 00 00 00 ^ ================================================================= ==16835==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fad986a1050 at pc 0x563c459e2257 bp 0x7ffe9db4ac80 sp 0x7ffe9db4ac78 WRITE of size 1 at 0x7fad986a1050 thread T0 #0 0x563c459e2256 in cpumask_to_cpulist util/util.c:295 #1 0x563c457f437b in build_cpu_domain_map util/header.c:1727 #2 0x563c457f491f in write_cpu_domain_info util/header.c:1753 #3 0x563c45a539ef in perf_event__synthesize_features util/synthetic-events.c:2419 #4 0x563c45a54224 in perf_event__synthesize_for_pipe util/synthetic-events.c:2471 #5 0x563c451bb085 in record__synthesize /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2063 #6 0x563c451c2ded in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2581 #7 0x563c451d38cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #8 0x563c453e0aac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #9 0x563c453e139d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #10 0x563c453e18f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #11 0x563c453e209a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #12 0x7fada5de9ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #13 0x7fada5de9d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #14 0x563c45151470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) Address 0x7fad986a1050 is located in stack of thread T0 at offset 80 in frame #0 0x563c459e1c26 in cpumask_to_cpulist util/util.c:267 This frame has 2 object(s): [32, 49) 'blk' (line 291) [96, 1120) 'cpus' (line 271) <== Memory access at offset 80 underflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow util/util.c:295 in cpumask_to_cpulist Shadow bytes around the buggy address: 0x7fad986a0d80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 0x7fad986a0e00: f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 0x7fad986a0e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fad986a0f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fad986a0f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7fad986a1000: f1 f1 f1 f1 00 00 01 f2 f2 f2[f2]f2 00 00 00 00 0x7fad986a1080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fad986a1100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fad986a1180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fad986a1200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fad986a1280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16835==ABORTING Error: The - data has no samples! Inject build-ids test [Failed - cannot find noploop function in pipe #1] Inject --buildid-all build-ids test util/util.c:295:6: runtime error: index 64 out of bounds for type 'char [17]' util/util.c:295:12: runtime error: store to address 0x7fb708ca1060 with insufficient space for an object of type 'char' 0x7fb708ca1060: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 18 00 04 2e 00 00 00 00 9d 77 00 00 00 00 00 00 02 00 00 00 ^ ================================================================= ==16849==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fb708ca1050 at pc 0x55677eb40257 bp 0x7ffe5b049bd0 sp 0x7ffe5b049bc8 WRITE of size 1 at 0x7fb708ca1050 thread T0 #0 0x55677eb40256 in cpumask_to_cpulist util/util.c:295 #1 0x55677e95237b in build_cpu_domain_map util/header.c:1727 #2 0x55677e95291f in write_cpu_domain_info util/header.c:1753 #3 0x55677ebb19ef in perf_event__synthesize_features util/synthetic-events.c:2419 #4 0x55677ebb2224 in perf_event__synthesize_for_pipe util/synthetic-events.c:2471 #5 0x55677e319085 in record__synthesize /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2063 #6 0x55677e320ded in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2581 #7 0x55677e3318cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #8 0x55677e53eaac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #9 0x55677e53f39d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #10 0x55677e53f8f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #11 0x55677e54009a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #12 0x7fb716412ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #13 0x7fb716412d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #14 0x55677e2af470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) Address 0x7fb708ca1050 is located in stack of thread T0 at offset 80 in frame #0 0x55677eb3fc26 in cpumask_to_cpulist util/util.c:267 This frame has 2 object(s): [32, 49) 'blk' (line 291) [96, 1120) 'cpus' (line 271) <== Memory access at offset 80 underflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow util/util.c:295 in cpumask_to_cpulist Shadow bytes around the buggy address: 0x7fb708ca0d80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 0x7fb708ca0e00: f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 0x7fb708ca0e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fb708ca0f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fb708ca0f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7fb708ca1000: f1 f1 f1 f1 00 00 01 f2 f2 f2[f2]f2 00 00 00 00 0x7fb708ca1080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fb708ca1100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fb708ca1180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fb708ca1200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7fb708ca1280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16849==ABORTING Error: The - data has no samples! Inject build-ids test [Failed - cannot find noploop function in pipe #1] Inject --mmap2-buildid-all build-ids test util/util.c:295:6: runtime error: index 64 out of bounds for type 'char [17]' util/util.c:295:12: runtime error: store to address 0x7f790f8a1060 with insufficient space for an object of type 'char' 0x7f790f8a1060: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 18 00 04 2e 00 00 00 00 9d 77 00 00 00 00 00 00 02 00 00 00 ^ ================================================================= ==16869==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f790f8a1050 at pc 0x5602d1c61257 bp 0x7ffc6a01f190 sp 0x7ffc6a01f188 WRITE of size 1 at 0x7f790f8a1050 thread T0 #0 0x5602d1c61256 in cpumask_to_cpulist util/util.c:295 #1 0x5602d1a7337b in build_cpu_domain_map util/header.c:1727 #2 0x5602d1a7391f in write_cpu_domain_info util/header.c:1753 #3 0x5602d1cd29ef in perf_event__synthesize_features util/synthetic-events.c:2419 #4 0x5602d1cd3224 in perf_event__synthesize_for_pipe util/synthetic-events.c:2471 #5 0x5602d143a085 in record__synthesize /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2063 #6 0x5602d1441ded in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2581 #7 0x5602d14528cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #8 0x5602d165faac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #9 0x5602d166039d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #10 0x5602d16608f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #11 0x5602d166109a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #12 0x7f791cfd5ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #13 0x7f791cfd5d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #14 0x5602d13d0470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) Address 0x7f790f8a1050 is located in stack of thread T0 at offset 80 in frame #0 0x5602d1c60c26 in cpumask_to_cpulist util/util.c:267 This frame has 2 object(s): [32, 49) 'blk' (line 291) [96, 1120) 'cpus' (line 271) <== Memory access at offset 80 underflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow util/util.c:295 in cpumask_to_cpulist Shadow bytes around the buggy address: 0x7f790f8a0d80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 0x7f790f8a0e00: f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 0x7f790f8a0e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f790f8a0f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f790f8a0f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7f790f8a1000: f1 f1 f1 f1 00 00 01 f2 f2 f2[f2]f2 00 00 00 00 0x7f790f8a1080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f790f8a1100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f790f8a1180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f790f8a1200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f790f8a1280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16869==ABORTING Error: The - data has no samples! Inject build-ids test [Failed - cannot find noploop function in pipe #1] ---- end(-1) ---- 88: perf pipe recording and injection test : FAILED! 2025-09-15 14:22:22 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 89 -v 89: Zstd perf.data compression/decompression : Running (1 active) --- start --- test child forked, pid 16896 Collecting compressed record file: 500+0 records in 500+0 records out 256000 bytes (256 kB, 250 KiB) copied, 0.00308355 s, 83.0 MB/s [ perf record: Woken up 2 times to write data ] util/util.c:295:6: runtime error: index 64 out of bounds for type 'char [17]' util/util.c:295:12: runtime error: store to address 0x7f9ffdca2060 with insufficient space for an object of type 'char' 0x7f9ffdca2060: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 18 00 04 2e 00 00 00 00 9d 77 00 00 00 00 00 00 02 00 00 00 ^ ================================================================= ==16904==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f9ffdca2050 at pc 0x564af4570257 bp 0x7ffd6f117510 sp 0x7ffd6f117508 WRITE of size 1 at 0x7f9ffdca2050 thread T0 #0 0x564af4570256 in cpumask_to_cpulist util/util.c:295 #1 0x564af438237b in build_cpu_domain_map util/header.c:1727 #2 0x564af438291f in write_cpu_domain_info util/header.c:1753 #3 0x564af439cc44 in do_write_feat util/header.c:3892 #4 0x564af439d65f in perf_header__adds_write util/header.c:3936 #5 0x564af439f14a in perf_session__do_write_header util/header.c:4060 #6 0x564af439f72c in perf_session__write_header util/header.c:4100 #7 0x564af3d46044 in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:1826 #8 0x564af3d53e54 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:2894 #9 0x564af3d618cb in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/builtin-record.c:4376 #10 0x564af3f6eaac in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:349 #11 0x564af3f6f39d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:401 #12 0x564af3f6f8f3 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:445 #13 0x564af3f7009a in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf.c:553 #14 0x7fa00b28eca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #15 0x7fa00b28ed64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #16 0x564af3cdf470 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf+0xf9b470) (BuildId: 7c6fd1162dbb1e721de92bbfd9fc751e2178f1fa) Address 0x7f9ffdca2050 is located in stack of thread T0 at offset 80 in frame #0 0x564af456fc26 in cpumask_to_cpulist util/util.c:267 This frame has 2 object(s): [32, 49) 'blk' (line 291) [96, 1120) 'cpus' (line 271) <== Memory access at offset 80 underflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow util/util.c:295 in cpumask_to_cpulist Shadow bytes around the buggy address: 0x7f9ffdca1d80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 0x7f9ffdca1e00: f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 0x7f9ffdca1e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f9ffdca1f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f9ffdca1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7f9ffdca2000: f1 f1 f1 f1 00 00 01 f2 f2 f2[f2]f2 00 00 00 00 0x7f9ffdca2080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f9ffdca2100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f9ffdca2180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f9ffdca2200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f9ffdca2280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==16904==ABORTING ---- end(-1) ---- 89: Zstd perf.data compression/decompression : FAILED! 2025-09-15 14:22:28 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-01c79e2544b044e2c01ab435a28a03c3f0d63be3/tools/perf/perf test 90 -v 90: perf record sample filtering (by BPF) tests : Running (1 active) 90: perf record sample filtering (by BPF) tests : Skip