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]
Date:   Fri, 21 May 2021 15:03:35 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Athira Rajeev <atrajeev@...ux.vnet.ibm.com>
Cc:     Arnaldo Carvalho de Melo <acme@...hat.com>,
        Madhavan Srinivasan <maddy@...ux.ibm.com>,
        Jiri Olsa <jolsa@...hat.com>, Jiri Olsa <jolsa@...nel.org>,
        Kajol Jain <kjain@...ux.ibm.com>,
        Kan Liang <kan.liang@...ux.intel.com>,
        Michael Ellerman <mpe@...erman.id.au>,
        Peter Zijlstra <peterz@...radead.org>,
        Ravi Bangoria <ravi.bangoria@...ux.ibm.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com
Subject: [perf tools]  06e5ca746c: Direct leak of ### byte(s) in # object(s)
 allocated from:
 __interceptor_realloc/strbuf_grow/strbuf_add/strbuf_addstr/add_key/add_sort_string/



Greeting,

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

commit: 06e5ca746c07380dfe0e4c3e10c34a6daa69eae6 ("perf tools: Support pipeline stage cycles for powerpc")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master


in testcase: perf-test
version: perf-test-x86_64-git-1_20210508
with following parameters:

	type: lkp
	ucode: 0xde

test-description: The internal Perf Test suite.


on test machine: 4 threads 1 sockets Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz with 32G memory

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




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>

Direct leak of 736 byte(s) in 1 object(s) allocated from:
    #0 0x7f9cb9a16720 in __interceptor_realloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xe9720)
    #1 0x55e00bbd08ca in strbuf_grow util/strbuf.c:64
    #2 0x55e00bbd0d42 in strbuf_add util/strbuf.c:86
    #3 0x55e00bd458be in strbuf_addstr util/strbuf.h:87
    #4 0x55e00bd66ddb in add_key util/sort.c:3329
    #5 0x55e00bd67045 in add_sort_string util/sort.c:3342
    #6 0x55e00bd67369 in sort_help util/sort.c:3368
    #7 0x55e00b8a1f00 in cmd_report /usr/src/perf_selftests-x86_64-rhel-8.3-06e5ca746c07380dfe0e4c3e10c34a6daa69eae6/tools/perf/builtin-report.c:1177
    #8 0x55e00bae47e2 in run_builtin /usr/src/perf_selftests-x86_64-rhel-8.3-06e5ca746c07380dfe0e4c3e10c34a6daa69eae6/tools/perf/perf.c:313
    #9 0x55e00bae4f8d in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-8.3-06e5ca746c07380dfe0e4c3e10c34a6daa69eae6/tools/perf/perf.c:365
    #10 0x55e00bae54af in run_argv /usr/src/perf_selftests-x86_64-rhel-8.3-06e5ca746c07380dfe0e4c3e10c34a6daa69eae6/tools/perf/perf.c:409
    #11 0x55e00bae5e8f in main /usr/src/perf_selftests-x86_64-rhel-8.3-06e5ca746c07380dfe0e4c3e10c34a6daa69eae6/tools/perf/perf.c:539
    #12 0x7f9cb8c0309a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)



To reproduce:

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



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.12.0-rc2-00111-g06e5ca746c07" of type "text/plain" (172872 bytes)

View attachment "job-script" of type "text/plain" (5252 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (57000 bytes)

View attachment "perf-test" of type "text/plain" (304123 bytes)

View attachment "job.yaml" of type "text/plain" (4347 bytes)

View attachment "reproduce" of type "text/plain" (752 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ