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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 16 Mar 2018 19:17:52 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Dou Liyang <douly.fnst@...fujitsu.com>
Cc:     linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
        rjw@...ysocki.net, lenb@...nel.org, tglx@...utronix.de,
        rafael@...nel.org, dedekind1@...il.com, ming.lei@...hat.com,
        Dou Liyang <douly.fnst@...fujitsu.com>, lkp@...org
Subject: [ACPI / processor]  d619c81e24:
 WARNING:at_include/linux/cpumask.h:#cpumask_test_cpu

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

commit: d619c81e246424e322f7a902bed6e60b90668d56 ("ACPI / processor: Get accurate possible CPU count")
url: https://github.com/0day-ci/linux/commits/Dou-Liyang/ACPI-processor-Get-accurate-possible-CPU-count/20180316-140349


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G

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


+------------------------------------------------------+------------+------------+
|                                                      | 3266b5bd97 | d619c81e24 |
+------------------------------------------------------+------------+------------+
| boot_successes                                       | 16         | 2          |
| boot_failures                                        | 0          | 18         |
| WARNING:at_include/linux/cpumask.h:#cpumask_test_cpu | 0          | 18         |
| WARNING:at_include/linux/cpumask.h:#cpumask_check    | 0          | 18         |
| RIP:cpumask_check                                    | 0          | 18         |
| RIP:cpumask_test_cpu                                 | 0          | 18         |
| general_protection_fault:#[##]                       | 0          | 13         |
| RIP:__lock_acquire                                   | 0          | 13         |
| Kernel_panic-not_syncing:Fatal_exception             | 0          | 13         |
| BUG:kernel_hang_in_boot_stage                        | 0          | 5          |
+------------------------------------------------------+------------+------------+



[    0.830741] WARNING: CPU: 1 PID: 1 at include/linux/cpumask.h:122 cpumask_test_cpu+0x32/0x57
[    0.830785] WARNING: CPU: 1 PID: 1 at include/linux/cpumask.h:122 cpumask_check+0x2d/0x48
[    0.830855] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W        4.16.0-rc4-00340-gd619c81 #2
[    0.830903] RIP: 0010:cpumask_check+0x2d/0x48
[    0.830949] RSP: 0000:ffff880035803c70 EFLAGS: 00010046
[    0.831049] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[    0.831095] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff82caee68
[    0.831141] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
[    0.831187] R10: ffff880035803c38 R11: 0000000000000088 R12: 0000000000000001
[    0.831232] R13: ffffffff82dbd4b0 R14: 0000000000000000 R15: 0000000000000006
[    0.831279] FS:  0000000000000000(0000) GS:ffff880035800000(0000) knlGS:0000000000000000
[    0.831328] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.831374] CR2: 00000000ffffffff CR3: 0000000002a6a000 CR4: 00000000000006e0
[    0.831421] Call Trace:
[    0.831466]  <IRQ>
[    0.831514]  ? console_unlock+0x46/0x5d2
[    0.831563]  ? vprintk_emit+0x382/0x3bd
[    0.831611]  ? cpumask_test_cpu+0x32/0x57
[    0.831661]  ? printk+0x3e/0x46
[    0.831717]  ? __check_object_size+0x170/0x1a8
[    0.831767]  ? cpumask_test_cpu+0x32/0x57
[    0.831816]  ? __warn+0x62/0xe6
[    0.831865]  ? cpumask_test_cpu+0x32/0x57
[    0.831914]  ? report_bug+0x74/0xbd
[    0.831965]  ? fixup_bug+0x1b/0x31
[    0.832000]  ? do_error_trap+0x8d/0x110
[    0.832000]  ? __run_timers+0x180/0x190
[    0.832000]  ? kvm_clock_read+0x44/0x54
[    0.832000]  ? kvm_sched_clock_read+0x5/0xd
[    0.832000]  ? paravirt_sched_clock+0x5/0x8
[    0.832000]  ? sched_clock_local+0x2c/0x9c
[    0.832000]  ? trace_hardirqs_off_caller+0xa7/0xb7
[    0.832000]  ? trace_hardirqs_off_thunk+0x1a/0x1c
[    0.832000]  ? native_iret+0x7/0x7
[    0.832000]  ? invalid_op+0x18/0x40
[    0.832000]  ? cpumask_test_cpu+0x32/0x57
[    0.832000]  ? trace_rcu_dyntick+0xd6/0x138
[    0.832000]  ? rcu_nmi_enter+0x85/0x92
[    0.832000]  ? irq_enter+0x6/0x62
[    0.832000]  ? smp_irq_work_interrupt+0x6/0x244
[    0.832000]  ? irq_work_interrupt+0xf/0x14
[    0.832000]  </IRQ>
[    0.832000]  ? arch_local_irq_restore+0x2/0x8
[    0.832000]  ? vprintk_emit+0x23a/0x3bd
[    0.832000]  ? do_early_param+0x88/0x88
[    0.832000]  ? printk+0x3e/0x46
[    0.832000]  ? acpi_processor_init+0xa0/0xc3
[    0.832000]  ? acpi_scan_init+0x15/0x200
[    0.832000]  ? acpi_sleep_init+0xf2/0xf2
[    0.832000]  ? acpi_init+0x2af/0x2f5
[    0.832000]  ? acpi_sleep_init+0xf2/0xf2
[    0.832000]  ? do_one_initcall+0x93/0x173
[    0.832000]  ? do_early_param+0x88/0x88
[    0.832000]  ? kernel_init_freeable+0x119/0x1a1
[    0.832000]  ? rest_init+0xba/0xba
[    0.832000]  ? kernel_init+0x5/0xe1
[    0.832000]  ? ret_from_fork+0x24/0x30
[    0.832000] Code: 44 8b 25 13 bb ca 01 55 31 ed 53 89 fb 41 39 fc 48 c7 c7 68 ee ca 82 40 0f 96 c5 31 c9 31 d2 89 ee e8 4f 77 05 00 41 39 dc 77 02 <0f> 0b 89 ee 31 c9 31 d2 48 c7 c7 38 ee ca 82 e8 36 77 05 00 89 
[    0.832000] ---[ end trace 2cf918b312b54122 ]---


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
lkp

View attachment "config-4.16.0-rc4-00340-gd619c81" of type "text/plain" (112502 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (12308 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ