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:   Sat, 3 Mar 2018 13:25:34 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     frowand.list@...il.com
Cc:     Rob Herring <robh+dt@...nel.org>, cpandya@...eaurora.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        lkp@...org
Subject: [of]  b013aa45d2: kernel_BUG_at_arch/x86/mm/physaddr.c

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

commit: b013aa45d2168019984aec70e00d09cf0a4a00c5 ("of: add early boot allocation of of_find_node_by_phandle() cache")
url: https://github.com/0day-ci/linux/commits/frowand-list-gmail-com/of-cache-phandle-nodes-to-reduce-cost-of-of_find_node_by_phandle/20180303-090055
base: https://git.kernel.org/cgit/linux/kernel/git/robh/linux.git for-next

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):


+------------------------------------------+------------+------------+
|                                          | 90e6f76859 | b013aa45d2 |
+------------------------------------------+------------+------------+
| boot_successes                           | 12         | 0          |
| boot_failures                            | 0          | 10         |
| kernel_BUG_at_arch/x86/mm/physaddr.c     | 0          | 10         |
| invalid_opcode:#[##]                     | 0          | 10         |
| RIP:__phys_addr                          | 0          | 10         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 10         |
+------------------------------------------+------------+------------+



[    0.039484] kernel BUG at arch/x86/mm/physaddr.c:27!
[    0.039999] invalid opcode: 0000 [#1] PREEMPT PTI
[    0.039999] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc1-00008-gb013aa4 #1
[    0.039999] RIP: 0010:__phys_addr+0x39/0x50
[    0.039999] RSP: 0000:ffff880018de3ee0 EFLAGS: 00010087
[    0.039999] RAX: 0000780000000000 RBX: 0000000000000001 RCX: 0000000000000002
[    0.039999] RDX: 0000000080000000 RSI: ffffffff82e77239 RDI: 0000000000000000
[    0.039999] RBP: ffff880018de3ee0 R08: 0000000000000000 R09: 0000000000000001
[    0.039999] R10: 00000000000029cb R11: 63561fc2891644ad R12: 0000000000000286
[    0.039999] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    0.039999] FS:  0000000000000000(0000) GS:ffffffff8309b000(0000) knlGS:0000000000000000
[    0.039999] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.039999] CR2: 00000000ffffffff CR3: 0000000003074000 CR4: 00000000000006f0
[    0.039999] Call Trace:
[    0.039999]  of_core_init+0x30/0x21f
[    0.039999]  driver_init+0x36/0x38
[    0.039999]  kernel_init_freeable+0x82/0x19f
[    0.039999]  ? rest_init+0x220/0x220
[    0.039999]  kernel_init+0xe/0x100
[    0.039999]  ret_from_fork+0x24/0x30
[    0.039999] Code: 48 89 e5 72 28 48 b8 00 00 00 00 00 78 00 00 48 01 f8 48 39 c2 72 14 0f b6 0d fd 0c 45 02 48 89 c2 48 d3 ea 48 85 d2 75 02 5d c3 <0f> 0b 48 89 d0 48 03 05 2b ef 02 02 48 81 fa ff ff ff 1f 76 e9 
[    0.039999] RIP: __phys_addr+0x39/0x50 RSP: ffff880018de3ee0
[    0.039999] ---[ end trace 56a848e98751a243 ]---


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-rc1-00008-gb013aa4" of type "text/plain" (115165 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ