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: <20170515081336.GH15250@yexl-desktop>
Date:   Mon, 15 May 2017 16:13:36 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Sebastien Buisson <sbuisson.ddn@...il.com>
Cc:     linux-security-module@...r.kernel.org,
        linux-kernel@...r.kernel.org, selinux@...ho.nsa.gov,
        serge@...lyn.com, james.l.morris@...cle.com, eparis@...isplace.org,
        sds@...ho.nsa.gov, paul@...l-moore.com,
        Sebastien Buisson <sbuisson@....com>, lkp@...org
Subject: [lkp-robot] [selinux]  e9c01c13c6: BUG:unable_to_handle_kernel


FYI, we noticed the following commit:

commit: e9c01c13c639749385b7d08a2735202b63e90f02 ("selinux: add brief info to policydb")
url: https://github.com/0day-ci/linux/commits/Sebastien-Buisson/selinux-add-brief-info-to-policydb/20170512-030448
base: git://git.infradead.org/users/pcmoore/selinux next

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 -m 420M

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


+-------------------------------------------------+------------+------------+
|                                                 | cae303df3f | e9c01c13c6 |
+-------------------------------------------------+------------+------------+
| boot_successes                                  | 10         | 0          |
| boot_failures                                   | 0          | 11         |
| BUG:unable_to_handle_kernel                     | 0          | 11         |
| Oops:#[##]                                      | 0          | 11         |
| Kernel_panic-not_syncing:Fatal_exception        | 0          | 11         |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0          | 1          |
| BUG:kernel_in_stage                             | 0          | 2          |
+-------------------------------------------------+------------+------------+



[    0.008642] BUG: unable to handle kernel NULL pointer dereference at           (null)
[    0.009000] IP: __list_add_valid+0xd/0xa0
[    0.009000] PGD 0 
[    0.009000] 
[    0.009000] Oops: 0000 [#1] SMP
[    0.009000] Modules linked in:
[    0.009000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.11.0-rc1-00036-ge9c01c1 #1
[    0.009000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.009000] task: ffffffff81e104c0 task.stack: ffffffff81e00000
[    0.009000] RIP: 0010:__list_add_valid+0xd/0xa0
[    0.009000] RSP: 0000:ffffffff81e03e38 EFLAGS: 00010246
[    0.009000] RAX: 0000000000000001 RBX: ffffffff81efa930 RCX: ffffffff81cdab24
[    0.009000] RDX: ffffffff81ef3250 RSI: 0000000000000000 RDI: ffffffff81efa930
[    0.009000] RBP: ffffffff81e03e38 R08: 0000000000000000 R09: 0000000000040000
[    0.009000] R10: ffff88000b8046e0 R11: 00000000fa69ff01 R12: ffffffff81ef3250
[    0.009000] R13: ffffffff81cdb3f7 R14: 0000000000000000 R15: 000000000000007e
[    0.009000] FS:  0000000000000000(0000) GS:ffff88000be00000(0000) knlGS:0000000000000000
[    0.009000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.009000] CR2: 0000000000000000 CR3: 0000000001e09000 CR4: 00000000000006b0
[    0.009000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.009000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.009000] Call Trace:
[    0.009000]  security_add_hooks+0x3b/0xc9
[    0.009000]  selinux_init+0x10b/0x156
[    0.009000]  security_init+0x28/0x33
[    0.009000]  start_kernel+0x3a7/0x40f
[    0.009000]  ? early_idt_handler_array+0x120/0x120
[    0.009000]  x86_64_start_reservations+0x2a/0x2c
[    0.009000]  x86_64_start_kernel+0x13d/0x14c
[    0.009000]  start_cpu+0x14/0x14
[    0.009000] Code: 00 00 00 00 e9 1e ff ff ff 4c 89 e0 48 83 c8 01 e9 12 ff ff ff 66 0f 1f 84 00 00 00 00 00 55 4c 8b 42 08 48 89 e5 49 39 f0 75 19 <49> 8b 00 48 39 c2 75 33 49 39 f8 74 53 48 39 fa 74 4e b8 01 00 
[    0.009000] RIP: __list_add_valid+0xd/0xa0 RSP: ffffffff81e03e38
[    0.009000] CR2: 0000000000000000
[    0.009000] ---[ end trace 0000000000000000 ]---


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.11.0-rc1-00036-ge9c01c1" of type "text/plain" (157974 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ