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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20171116005842.GC25093@yexl-desktop>
Date:   Thu, 16 Nov 2017 08:58:42 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Johannes Berg <johannes.berg@...el.com>
Cc:     Xiaolong Ye <xiaolong.ye@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp-robot] [cfg80211]  7c0c5c0ba7:
 kernel_BUG_at_crypto/asymmetric_keys/public_key.c


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

commit: 7c0c5c0ba73174a2169f4be5bf7c0eb34dd368ab ("cfg80211: initialize regulatory keys/database later")
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-i386 -enable-kvm -m 256M

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


+-----------------------------------------------------+------------+------------+
|                                                     | a9cd27b34d | 7c0c5c0ba7 |
+-----------------------------------------------------+------------+------------+
| boot_successes                                      | 14         | 0          |
| boot_failures                                       | 94         | 16         |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 94         |            |
| EIP:note_page                                       | 94         |            |
| kernel_BUG_at_crypto/asymmetric_keys/public_key.c   | 0          | 16         |
| invalid_opcode:#[##]                                | 0          | 16         |
| EIP:public_key_verify_signature                     | 0          | 16         |
| Kernel_panic-not_syncing:Fatal_exception            | 0          | 16         |
+-----------------------------------------------------+------------+------------+



[   19.109348] kernel BUG at crypto/asymmetric_keys/public_key.c:96!
[   19.111276] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
[   19.112459] Modules linked in:
[   19.113247] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc4-01014-g7c0c5c0 #1
[   19.114984] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   19.116828] task: cecd0040 task.stack: cecca000
[   19.117863] EIP: public_key_verify_signature+0x27/0x260
[   19.119217] EFLAGS: 00210246 CPU: 0
[   19.120225] EAX: ccb06710 EBX: cc674278 ECX: 00000000 EDX: c9f14cb0
[   19.121845] ESI: c1c58166 EDI: ccb06710 EBP: ceccbe5c ESP: ceccbe50
[   19.123352]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[   19.124693] CR0: 80050033 CR2: 00000000 CR3: 01ff0000 CR4: 000006b0
[   19.126260] Call Trace:
[   19.127050]  ? x509_check_for_self_signed+0x82/0xb0
[   19.128375]  x509_cert_parse+0x11a/0x160
[   19.129504]  x509_key_preparse+0x15/0x170
[   19.130588]  asymmetric_key_preparse+0x45/0x80
[   19.131736]  key_create_or_update+0xd2/0x330
[   19.132881]  regulatory_init_db+0xad/0x15f
[   19.133988]  ? regulatory_init+0x8a/0x8a
[   19.135066]  do_one_initcall+0x82/0x130
[   19.136111]  ? parse_args+0x120/0x2f0
[   19.137149]  ? kernel_init_freeable+0xdc/0x17b
[   19.138355]  kernel_init_freeable+0xf8/0x17b
[   19.139498]  ? rest_init+0xb0/0xb0
[   19.140451]  kernel_init+0x8/0xf0
[   19.141402]  ret_from_fork+0x19/0x24
[   19.142549] Code: 00 00 00 00 85 c0 75 0c 0f 0b 8d 76 00 8d bc 27 00 00 00 00 85 d2 75 0c 0f 0b 8d 76 00 8d bc 27 00 00 00 00 8b 4a 10 85 c9 75 09 <0f> 0b 8d b4 26 00 00 00 00 8b 4a 08 85 c9 75 09 0f 0b 8d b4 26
[   19.148627] EIP: public_key_verify_signature+0x27/0x260 SS:ESP: 0068:ceccbe50
[   19.149658] ---[ end trace 7c0e19dbb504ec4c ]---


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,
Xiaolong

View attachment "config-4.14.0-rc4-01014-g7c0c5c0" of type "text/plain" (139820 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ