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: <20170629021551.GD28710@yexl-desktop>
Date:   Thu, 29 Jun 2017 10:15:51 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
        Thomas Gleixner <tglx@...utronix.de>,
        "H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
        Baolin Wang <baolin.wang@...eadtrum.com>, wsa@...-dreams.de,
        linux-i2c@...r.kernel.org,
        Mika Westerberg <mika.westerberg@...ux.intel.com>,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, lkp@...org
Subject: [lkp-robot] [x86/io]  1464f922e3: kernel_BUG_at_lib/ioremap.c


FYI, we noticed the following commit:

commit: 1464f922e3b61be301d75092132bb99d7e0fb4f8 ("x86/io: Include asm-generic/io.h to architectural code")
url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/x86-io-Include-asm-generic-io-h-to-architectural-code/20170628-215342


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

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


+------------------------------------------+------------+------------+
|                                          | fb01f68ee7 | 1464f922e3 |
+------------------------------------------+------------+------------+
| boot_successes                           | 11         | 0          |
| boot_failures                            | 0          | 44         |
| kernel_BUG_at_lib/ioremap.c              | 0          | 44         |
| invalid_opcode:#[##]                     | 0          | 44         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 44         |
| BUG:kernel_in_stage                      | 0          | 1          |
+------------------------------------------+------------+------------+



[    0.084002] kernel BUG at lib/ioremap.c:71!
[    0.085004] invalid opcode: 0000 [#1] SMP
[    0.086000] Modules linked in:
[    0.086000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc7-00636-g1464f92 #3
[    0.086000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.086000] task: ffff880010240000 task.stack: ffffc900000d0000
[    0.086000] RIP: 0010:ioremap_page_range+0x289/0x3a0
[    0.086000] RSP: 0000:ffffc900000d3a58 EFLAGS: 00010282
[    0.086000] RAX: 8000000000800173 RBX: ffff88000ec28008 RCX: 8000000000800173
[    0.086000] RDX: ffff88000ec28000 RSI: 0000000000800000 RDI: ffffffff81f106c0
[    0.086000] RBP: ffffc900000d3ad8 R08: 00000000000200b0 R09: 0000000000000001
[    0.086000] R10: ffff88001d027000 R11: 0000000000000000 R12: 0000000000801000
[    0.086000] R13: 0000000000000008 R14: 0000000000000000 R15: 8000000000000173
[    0.086000] FS:  0000000000000000(0000) GS:ffff880010400000(0000) knlGS:0000000000000000
[    0.086000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.086000] CR2: 0000000000000000 CR3: 0000000001e09000 CR4: 00000000000006f0
[    0.086000] Call Trace:
[    0.086000]  pci_remap_iospace+0x4a/0x60
[    0.086000]  acpi_pci_probe_root_resources+0x1c6/0x230
[    0.086000]  pci_acpi_root_prepare_resources+0x2d/0x180
[    0.086000]  acpi_pci_root_create+0xa6/0x230
[    0.086000]  pci_acpi_scan_root+0x16c/0x1b0
[    0.086000]  acpi_pci_root_add+0x259/0x530
[    0.086000]  ? acpi_device_always_present+0x3b/0xc0
[    0.086000]  ? set_debug_rodata+0x17/0x17
[    0.086000]  acpi_bus_attach+0xf4/0x1f0
[    0.086000]  acpi_bus_attach+0x6f/0x1f0
[    0.086000]  acpi_bus_attach+0x6f/0x1f0
[    0.086000]  acpi_bus_scan+0x38/0x70
[    0.086000]  acpi_scan_init+0xcc/0x215
[    0.086000]  acpi_init+0x2e7/0x331
[    0.086000]  ? acpi_sleep_proc_init+0x2d/0x2d
[    0.086000]  do_one_initcall+0x43/0x170
[    0.086000]  ? set_debug_rodata+0x17/0x17
[    0.086000]  kernel_init_freeable+0x198/0x220
[    0.086000]  ? rest_init+0xe0/0xe0
[    0.086000]  kernel_init+0xe/0x110
[    0.086000]  ret_from_fork+0x25/0x30
[    0.086000] Code: f1 81 48 89 c1 4c 89 e6 48 89 da e8 72 6c bc ff 66 90 49 81 c4 00 10 00 00 48 83 c3 08 4d 39 e5 74 2f 48 f7 03 9f ff ff ff 74 af <0f> 0b 41 f7 c6 ff ff 1f 00 0f 85 39 ff ff ff 48 8b 7d b0 4c 89 
[    0.086000] RIP: ioremap_page_range+0x289/0x3a0 RSP: ffffc900000d3a58
[    0.086009] ---[ end trace c4cdabdc3cf66a88 ]---


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.12.0-rc7-00636-g1464f92" of type "text/plain" (159104 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ