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:   Mon, 17 Apr 2017 10:54:56 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Ingo Molnar <mingo@...nel.org>,
        "H. Peter Anvin" <hpa@...or.com>,
        Thomas Gleixner <tglx@...utronix.de>, tipbuild@...or.com,
        lkp@...org
Subject: [lkp-robot] [PCI]  295afd4204: BUG:unable_to_handle_kernel


FYI, we noticed the following commit:

commit: 295afd420469ed67ea4c5c4b3fdf1bba5331f33e ("PCI: Use cpu_hotplug_disable() instead of get_online_cpus()")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.hotplug

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 420M

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





[    1.519476] BUG: unable to handle kernel NULL pointer dereference at           (null)
[    1.522861] IP: _find_next_bit+0x20/0x70
[    1.524612] PGD 0 
[    1.524613] 
[    1.527169] Oops: 0000 [#1] SMP
[    1.528743] Modules linked in:
[    1.530305] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc6-00030-g295afd4 #1
[    1.533677] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    1.537582] task: ffff88000b9a8000 task.stack: ffffc900000d0000
[    1.539801] RIP: 0010:_find_next_bit+0x20/0x70
[    1.541687] RSP: 0000:ffffc900000d3c78 EFLAGS: 00010256
[    1.543728] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
[    1.546215] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    1.548697] RBP: ffffc900000d3c78 R08: ffffffffffffffff R09: 0000000000000000
[    1.551176] R10: 00000000000001f1 R11: ffffc900000d3b68 R12: ffffffff81fddbc0
[    1.553621] R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
[    1.556083] FS:  0000000000000000(0000) GS:ffff88000be00000(0000) knlGS:0000000000000000
[    1.559534] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.561692] CR2: 0000000000000000 CR3: 0000000001e09000 CR4: 00000000000006f0
[    1.564140] Call Trace:
[    1.565603]  find_next_bit+0xb/0x10
[    1.567283]  cpumask_next_and+0x2d/0x50
[    1.569056]  pci_device_probe+0xc0/0x140
[    1.570848]  driver_probe_device+0x2bb/0x460
[    1.572684]  __driver_attach+0xdf/0xf0
[    1.574404]  ? driver_probe_device+0x460/0x460
[    1.576292]  bus_for_each_dev+0x60/0xa0
[    1.578029]  driver_attach+0x1e/0x20
[    1.579706]  bus_add_driver+0x170/0x270
[    1.581447]  ? set_debug_rodata+0x12/0x12
[    1.583250]  driver_register+0x60/0xe0
[    1.585005]  ? agp_amd64_mod_init+0x21/0x21
[    1.586830]  __pci_register_driver+0x4c/0x50
[    1.588642]  agp_intel_init+0x22/0x2a
[    1.590331]  do_one_initcall+0x43/0x180
[    1.592062]  ? set_debug_rodata+0x12/0x12
[    1.593829]  kernel_init_freeable+0x1a2/0x22a
[    1.595671]  ? rest_init+0x90/0x90
[    1.597302]  kernel_init+0xe/0x100
[    1.598939]  ret_from_fork+0x2c/0x40
[    1.600610] Code: 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 39 f2 48 89 f0 48 89 e5 73 44 48 89 ce 48 89 d1 49 c7 c0 ff ff ff ff 48 c1 e9 06 49 89 f1 <4c> 33 0c cf 89 d1 48 83 e2 c0 49 d3 e0 4c 89 c1 4c 21 c9 74 12 
[    1.607143] RIP: _find_next_bit+0x20/0x70 RSP: ffffc900000d3c78
[    1.609310] CR2: 0000000000000000
[    1.610929] ---[ end trace afd27f16f2eedaf7 ]---


To reproduce:

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



Thanks,
Xiaolong

View attachment "config-4.11.0-rc6-00030-g295afd4" of type "text/plain" (158075 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (8616 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ