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:   Mon, 8 May 2017 09:24:01 +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]  089f088df7: BUG:unable_to_handle_kernel

FYI, we noticed the following commit:

commit: 089f088df7dcff6dce8c6c32c2273302845a17bd ("selinux: add brief info to policydb")
url: https://github.com/0day-ci/linux/commits/Sebastien-Buisson/selinux-add-brief-info-to-policydb/20170507-113933
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 | 089f088df7 |
+------------------------------------------+------------+------------+
| boot_successes                           | 8          | 0          |
| boot_failures                            | 0          | 12         |
| BUG:unable_to_handle_kernel              | 0          | 12         |
| Oops:#[##]                               | 0          | 12         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 12         |
+------------------------------------------+------------+------------+



[    0.011020] BUG: unable to handle kernel NULL pointer dereference at           (null)
[    0.012000] IP: __list_add_valid+0xd/0xa0
[    0.012000] PGD 0 
[    0.012000] 
[    0.012000] Oops: 0000 [#1] SMP
[    0.012000] Modules linked in:
[    0.012000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.11.0-rc1-00036-g089f088 #1
[    0.012000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.012000] task: ffffffff81e104c0 task.stack: ffffffff81e00000
[    0.012000] RIP: 0010:__list_add_valid+0xd/0xa0
[    0.012000] RSP: 0000:ffffffff81e03e38 EFLAGS: 00010246
[    0.012000] RAX: 0000000000000001 RBX: ffffffff81efa930 RCX: ffffffff81cdaafc
[    0.012000] RDX: ffffffff81ef3250 RSI: 0000000000000000 RDI: ffffffff81efa930
[    0.012000] RBP: ffffffff81e03e38 R08: 0000000000000000 R09: 0000000000040000
[    0.012000] R10: ffff88000b8046e0 R11: 00000000fa69ff01 R12: ffffffff81ef3250
[    0.012000] R13: ffffffff81cdb3cf R14: 0000000000000000 R15: 000000000000007e
[    0.012000] FS:  0000000000000000(0000) GS:ffff88000be00000(0000) knlGS:0000000000000000
[    0.012000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.012000] CR2: 0000000000000000 CR3: 0000000001e09000 CR4: 00000000000006b0
[    0.012000] Call Trace:
[    0.012000]  security_add_hooks+0x3b/0xc9
[    0.012000]  selinux_init+0x10b/0x156
[    0.012000]  security_init+0x28/0x33
[    0.012000]  start_kernel+0x3a7/0x40f
[    0.012000]  ? early_idt_handler_array+0x120/0x120
[    0.012000]  x86_64_start_reservations+0x2a/0x2c
[    0.012000]  x86_64_start_kernel+0x13d/0x14c
[    0.012000]  start_cpu+0x14/0x14
[    0.012000] 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.012000] RIP: __list_add_valid+0xd/0xa0 RSP: ffffffff81e03e38
[    0.012000] CR2: 0000000000000000
[    0.012000] ---[ 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-g089f088" of type "text/plain" (157974 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ