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:   Wed, 26 Jul 2017 14:18:41 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Phil Sutter <phil@....cc>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Manuel Messner <mm@...lett.io>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        LKML <linux-kernel@...r.kernel.org>, netdev@...r.kernel.org,
        lkp@...org
Subject: [lkp-robot] [lib]  e859afe1ee: kernel_BUG_at_lib/test_rhashtable.c


FYI, we noticed the following commit:

commit: e859afe1ee0c5ae981c55387ccd45eba258a7842 ("lib: test_rhashtable: fix for large entry counts")
https://git.kernel.org/cgit/linux/kernel/git/davem/net.git master

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


+------------------------------------------+------------+------------+
|                                          | 1d9b86de37 | e859afe1ee |
+------------------------------------------+------------+------------+
| boot_successes                           | 6          | 0          |
| boot_failures                            | 2          | 6          |
| BUG:kernel_hang_in_test_stage            | 2          |            |
| kernel_BUG_at_lib/test_rhashtable.c      | 0          | 6          |
| invalid_opcode:#[##]                     | 0          | 6          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 6          |
+------------------------------------------+------------+------------+



[    3.687816] kernel BUG at lib/test_rhashtable.c:230!
[    3.687816] kernel BUG at lib/test_rhashtable.c:230!
[    3.690340] invalid opcode: 0000 [#1]
[    3.690340] invalid opcode: 0000 [#1]
[    3.691685] CPU: 0 PID: 1 Comm: swapper Not tainted 4.13.0-rc1-00196-ge859afe #1
[    3.691685] CPU: 0 PID: 1 Comm: swapper Not tainted 4.13.0-rc1-00196-ge859afe #1
[    3.693655] task: ffff880018c3e040 task.stack: ffff880018c48000
[    3.693655] task: ffff880018c3e040 task.stack: ffff880018c48000
[    3.693655] RIP: 0010:test_rhashtable+0x7e0/0x10d7
[    3.693655] RIP: 0010:test_rhashtable+0x7e0/0x10d7
[    3.693655] RSP: 0000:ffff880018c4bdb8 EFLAGS: 00010202
[    3.693655] RSP: 0000:ffff880018c4bdb8 EFLAGS: 00010202
[    3.693655] RAX: 0000000000000206 RBX: 330af60b9f217ec1 RCX: 00000000000006a6
[    3.693655] RAX: 0000000000000206 RBX: 330af60b9f217ec1 RCX: 00000000000006a6
[    3.693655] RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000206
[    3.693655] RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000206
[    3.693655] RBP: ffff880018c4be40 R08: 00000000c5b6f33d R09: 0000000000000000
[    3.693655] RBP: ffff880018c4be40 R08: 00000000c5b6f33d R09: 0000000000000000
[    3.693655] R10: ffffffff92872260 R11: 0000000000000000 R12: 000000003001a345
[    3.693655] R10: ffffffff92872260 R11: 0000000000000000 R12: 000000003001a345
[    3.693655] R13: 0000000000000000 R14: 000000000000d1a2 R15: 0000000000000000
[    3.693655] R13: 0000000000000000 R14: 000000000000d1a2 R15: 0000000000000000
[    3.693655] FS:  0000000000000000(0000) GS:ffffffff92645000(0000) knlGS:0000000000000000
[    3.693655] FS:  0000000000000000(0000) GS:ffffffff92645000(0000) knlGS:0000000000000000
[    3.693655] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.693655] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.693655] CR2: 0000000000000000 CR3: 0000000007e17000 CR4: 00000000000006f0
[    3.693655] CR2: 0000000000000000 CR3: 0000000007e17000 CR4: 00000000000006f0
[    3.693655] Call Trace:
[    3.693655] Call Trace:
[    3.693655]  test_rht_init+0x16f/0x746
[    3.693655]  test_rht_init+0x16f/0x746
[    3.693655]  ? test_rhashtable+0x10d7/0x10d7
[    3.693655]  ? test_rhashtable+0x10d7/0x10d7
[    3.693655]  do_one_initcall+0x111/0x2cf
[    3.693655]  do_one_initcall+0x111/0x2cf
[    3.693655]  kernel_init_freeable+0x248/0x3c2
[    3.693655]  kernel_init_freeable+0x248/0x3c2
[    3.693655]  ? rest_init+0x1d6/0x1d6
[    3.693655]  ? rest_init+0x1d6/0x1d6
[    3.693655]  kernel_init+0x10/0x18d
[    3.693655]  kernel_init+0x10/0x18d
[    3.693655]  ret_from_fork+0x2a/0x40
[    3.693655]  ret_from_fork+0x2a/0x40
[    3.693655] Code: 48 c7 c7 60 22 87 92 ff 0d 2c db 66 ff 48 ff 05 cd c1 11 01 48 c1 cb 07 e8 18 2f 93 fd 48 83 7d b8 00 75 10 48 ff 05 be c1 11 01 <0f> 0b 48 ff 05 c5 c1 11 01 48 b8 81 f1 ab cd fa 08 0e 67 48 ff 
[    3.693655] Code: 48 c7 c7 60 22 87 92 ff 0d 2c db 66 ff 48 ff 05 cd c1 11 01 48 c1 cb 07 e8 18 2f 93 fd 48 83 7d b8 00 75 10 48 ff 05 be c1 11 01 <0f> 0b 48 ff 05 c5 c1 11 01 48 b8 81 f1 ab cd fa 08 0e 67 48 ff 
[    3.693655] RIP: test_rhashtable+0x7e0/0x10d7 RSP: ffff880018c4bdb8
[    3.693655] RIP: test_rhashtable+0x7e0/0x10d7 RSP: ffff880018c4bdb8
[    3.741828] ---[ end trace d459aa683f867d44 ]---


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.13.0-rc1-00196-ge859afe" of type "text/plain" (107244 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ