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, 24 Dec 2018 06:19:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [rtc]  461e557b97: general_protection_fault:#[##]


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

commit: 461e557b97277b693cd8008c32a9d01c7f8f453b ("rtc: nvmem: use devm_nvmem_register()")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

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


+------------------------------------------+------------+------------+
|                                          | b28cc6cec3 | 461e557b97 |
+------------------------------------------+------------+------------+
| boot_successes                           | 38         | 6          |
| boot_failures                            | 0          | 11         |
| general_protection_fault:#[##]           | 0          | 10         |
| RIP:kernfs_name_hash                     | 0          | 11         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 11         |
| BUG:unable_to_handle_kernel              | 0          | 1          |
| Oops:#[##]                               | 0          | 1          |
+------------------------------------------+------------+------------+



[  109.608578] serio: i8042 KBD port at 0x60,0x64 irq 1
[  109.619447] serio: i8042 AUX port at 0x60,0x64 irq 12
[  109.772717] rtc_cmos 00:00: RTC can wake from S4
[  109.902360] rtc_cmos 00:00: registered as rtc0
[  109.942570] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[  109.954719] general protection fault: 0000 [#1] PREEMPT SMP PTI
[  109.958901] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G                T 4.20.0-rc1-00009-g461e557 #1
[  109.958901] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[  109.958901] RIP: 0010:kernfs_name_hash+0x13/0x77
[  109.958901] Code: 36 c2 81 74 04 48 8b 77 40 48 89 df e8 ea 9f 37 00 5a 5b 41 5c 5d c3 55 31 c0 48 89 e5 53 51 48 89 75 f0 48 83 c9 ff 48 89 fb <f2> ae 48 f7 d1 8d 79 ff 31 c9 48 39 cf 74 1f 48 0f be 04 0b 48 ff
[  109.958901] RSP: 0000:ffff880107c6bbd0 EFLAGS: 00010286
[  109.958901] RAX: 0000000000000000 RBX: 00306d6172766e5f RCX: ffffffffffffffff
[  109.958901] RDX: ffffffff81e48650 RSI: 0000000000000000 RDI: 00306d6172766e5f
[  109.958901] RBP: ffff880107c6bbe0 R08: 0000000000000002 R09: 0000000000000000
[  109.958901] R10: ffff880107c6bc10 R11: 0000000000000000 R12: 00306d6172760000
[  109.958901] R13: 00306d6172766e5f R14: 0000000000000000 R15: ffff880107e8c8a0
[  109.958901] FS:  0000000000000000(0000) GS:ffff880237800000(0000) knlGS:0000000000000000
[  109.958901] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  109.958901] CR2: 0000000000000000 CR3: 0000000001e12000 CR4: 00000000000406b0
[  109.958901] Call Trace:
[  109.958901]  kernfs_find_ns+0x8d/0xd7
[  109.958901]  kernfs_remove_by_name_ns+0x48/0x74
[  109.958901]  sysfs_remove_bin_file+0x15/0x1a
[  109.958901]  rtc_nvmem_unregister+0x1d/0x20
[  109.958901]  devm_rtc_release_device+0x10/0x2b
[  109.958901]  release_nodes+0x143/0x166
[  109.958901]  devres_release_all+0x3f/0x42
[  109.958901]  really_probe+0x184/0x43b
[  109.958901]  driver_probe_device+0xd3/0x109
[  109.958901]  __driver_attach+0xbb/0xed
[  109.958901]  ? driver_probe_device+0x109/0x109
[  109.958901]  bus_for_each_dev+0x64/0x84
[  109.958901]  driver_attach+0x1d/0x20
[  109.958901]  bus_add_driver+0x12e/0x215
[  109.958901]  ? abb5zes3_driver_init+0x3e/0x3e
[  109.958901]  driver_register+0x9e/0xd5
[  109.958901]  ? abb5zes3_driver_init+0x3e/0x3e
[  109.958901]  pnp_register_driver+0x1d/0x20
[  109.958901]  cmos_init+0x29/0x124
[  109.958901]  do_one_initcall+0x64/0x13a
[  109.958901]  kernel_init_freeable+0x1f5/0x312
[  109.958901]  ? rest_init+0xf1/0xf1
[  109.958901]  kernel_init+0x9/0xf5
[  109.958901]  ret_from_fork+0x1f/0x30
[  109.958901] Modules linked in:
[  110.136281] _warn_unseeded_randomness: 532 callbacks suppressed
[  110.136448] random: get_random_bytes called from init_oops_id+0x21/0x32 with crng_init=0
[  110.146604] ---[ end trace efccaee9b41f1345 ]---
[  110.168116] RIP: 0010:kernfs_name_hash+0x13/0x77
[  110.172161] Code: 36 c2 81 74 04 48 8b 77 40 48 89 df e8 ea 9f 37 00 5a 5b 41 5c 5d c3 55 31 c0 48 89 e5 53 51 48 89 75 f0 48 83 c9 ff 48 89 fb <f2> ae 48 f7 d1 8d 79 ff 31 c9 48 39 cf 74 1f 48 0f be 04 0b 48 ff
[  110.201209] RSP: 0000:ffff880107c6bbd0 EFLAGS: 00010286
[  110.204379] RAX: 0000000000000000 RBX: 00306d6172766e5f RCX: ffffffffffffffff
[  110.222891] RDX: ffffffff81e48650 RSI: 0000000000000000 RDI: 00306d6172766e5f
[  110.229003] RBP: ffff880107c6bbe0 R08: 0000000000000002 R09: 0000000000000000
[  110.247797] R10: ffff880107c6bc10 R11: 0000000000000000 R12: 00306d6172760000
[  110.252327] R13: 00306d6172766e5f R14: 0000000000000000 R15: ffff880107e8c8a0
[  110.270803] FS:  0000000000000000(0000) GS:ffff880237800000(0000) knlGS:0000000000000000
[  110.277399] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  110.287149] CR2: 0000000000000000 CR3: 0000000001e12000 CR4: 00000000000406b0
[  110.295061] Kernel panic - not syncing: Fatal exception
[  110.304734] Kernel Offset: disabled

Elapsed time: 120


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.20.0-rc1-00009-g461e557" of type "text/plain" (111786 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ