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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200305130019.GK5972@shao2-debian>
Date:   Thu, 5 Mar 2020 21:00:19 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Brian Gerst <brgerst@...il.com>
Cc:     linux-kernel@...r.kernel.org, x86@...nel.org,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...nel.org>, Borislav Petkov <bp@...en8.de>,
        "H . Peter Anvin" <hpa@...or.com>,
        Andy Lutomirski <luto@...nel.org>,
        Dominik Brodowski <linux@...inikbrodowski.net>,
        Brian Gerst <brgerst@...il.com>, lkp@...ts.01.org
Subject: [x86, syscalls] dadb1ee70c:
 perf-sanity-tests.Read_samples_using_the_mmap_interface.fail

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

commit: dadb1ee70cb88e0f211dade207fa639a9e66ba27 ("[PATCH v3 2/8] x86, syscalls: Refactor SYSCALL_DEFINE0 macros")
url: https://github.com/0day-ci/linux/commits/Brian-Gerst/Enable-pt_regs-based-syscalls-for-x86-32-native/20200228-151724


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

	perf_compiler: gcc
	ucode: 0x27



on test machine: 8 threads Intel(R) Core(TM) i7-4790 v3 @ 3.60GHz with 6G 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 <rong.a.chen@...el.com>



2020-03-05 10:16:12 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 1
 1: vmlinux symtab matches kallsyms                       : Ok
2020-03-05 10:16:12 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 2
 2: Detect openat syscall event                           : Ok
2020-03-05 10:16:13 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 3
 3: Detect openat syscall event on all cpus               : Ok
2020-03-05 10:16:13 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 4
 4: Read samples using the mmap interface                 : FAILED!
2020-03-05 10:16:13 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 5
 5: Test data source output                               : Ok
2020-03-05 10:16:13 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 6
 6: Parse event definition strings                        : Ok
2020-03-05 10:16:13 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 7
 7: Simple expression parser                              : Ok
2020-03-05 10:16:13 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 8
 8: PERF_RECORD_* events & perf_sample fields             : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 9
 9: Parse perf pmu format                                 : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 10
10: DSO data read                                         : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 11
11: DSO data cache                                        : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 12
12: DSO data reopen                                       : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 13
13: Roundtrip evsel->name                                 : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 14
14: Parse sched tracepoints fields                        : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 15
15: syscalls:sys_enter_openat event fields                : Ok
2020-03-05 10:16:15 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 16
16: Setup struct perf_event_attr                          : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 17
17: Match and link multiple hists                         : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 18
18: 'import perf' in python                               : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 19
19: Breakpoint overflow signal handler                    : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 20
20: Breakpoint overflow sampling                          : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 21
21: Breakpoint accounting                                 : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 22
22: Watchpoint                                            :
22.1: Read Only Watchpoint                                : Skip
22.2: Write Only Watchpoint                               : Ok
22.3: Read / Write Watchpoint                             : Ok
22.4: Modify Watchpoint                                   : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 23
23: Number of exit events of a simple workload            : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 24
24: Software clock events period values                   : Ok
2020-03-05 10:16:19 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 25
25: Object code reading                                   : Ok
2020-03-05 10:16:20 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 26
26: Sample parsing                                        : Ok
2020-03-05 10:16:20 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 27
27: Use a dummy software event to keep tracking           : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 28
28: Parse with no sample_id_all bit set                   : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 29
29: Filter hist entries                                   : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 30
30: Lookup mmap thread                                    : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 31
31: Share thread maps                                     : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 32
32: Sort output of hist entries                           : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 33
33: Cumulate child hist entries                           : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 34
34: Track with sched_switch                               : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 35
35: Filter fds with revents mask in a fdarray             : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 36
36: Add fd to a fdarray, making it autogrow               : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 37
37: kmod_path__parse                                      : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 38
38: Thread map                                            : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 40
40: Session topology                                      : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 42
42: Synthesize thread map                                 : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 43
43: Remove thread map                                     : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 44
44: Synthesize cpu map                                    : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 45
45: Synthesize stat config                                : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 46
46: Synthesize stat                                       : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 47
47: Synthesize stat round                                 : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 48
48: Synthesize attr update                                : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 49
49: Event times                                           : Ok
2020-03-05 10:16:21 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 50
50: Read backward ring buffer                             : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 51
51: Print cpu map                                         : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 52
52: Merge cpu map                                         : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 53
53: Probe SDT events                                      : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 54
54: is_printable_array                                    : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 55
55: Print bitmap                                          : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 56
56: perf hooks                                            : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 58
58: unit_number__scnprintf                                : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 59
59: mem2node                                              : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 60
60: time utils                                            : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 61
61: Test jit_write_elf                                    : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 62
62: maps__merge_in                                        : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 63
63: x86 rdpmc                                             : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 64
64: Convert perf time to TSC                              : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 65
65: DWARF unwind                                          : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 66
66: x86 instruction decoder - new instructions            : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 67
67: Intel PT packet decoder                               : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 68
68: x86 bp modify                                         : Ok
2020-03-05 10:16:22 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 69
69: probe libc's inet_pton & backtrace it with ping       : Ok
2020-03-05 10:16:23 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-dadb1ee70cb88e0f211dade207fa639a9e66ba27/tools/perf/perf test 73
73: Zstd perf.data compression/decompression              : Ok



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 run     job.yaml



Thanks,
Rong Chen


View attachment "config-5.6.0-rc3-00277-gdadb1ee70cb88" of type "text/plain" (203559 bytes)

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

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

View attachment "perf-sanity-tests" of type "text/plain" (29311 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ