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-next>] [day] [month] [year] [list]
Date:   Thu, 13 Sep 2018 09:05:17 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [LKP] [ipc]  61224adcd2: general_protection_fault:#[##]

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

commit: 61224adcd25b0abd01f02459e82b30735161e723 ("ipc: Convert mqueue fs to fs_context")
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 -m 256M

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


+------------------------------------------+------------+------------+
|                                          | 06b65926cc | 61224adcd2 |
+------------------------------------------+------------+------------+
| boot_successes                           | 10         | 2          |
| boot_failures                            | 0          | 8          |
| general_protection_fault:#[##]           | 0          | 8          |
| RIP:mqueue_get_tree                      | 0          | 8          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 8          |
+------------------------------------------+------------+------------+



[   20.437395] random: get_random_u64 called from load_elf_binary+0x5c1/0x1d80 with crng_init=0
[   20.442445] random: get_random_u64 called from arch_rnd+0x43/0x70 with crng_init=0
[   21.597487] _warn_unseeded_randomness: 10 callbacks suppressed
[   21.597499] random: get_random_u64 called from randomize_page+0xad/0xc6 with crng_init=0
[   21.729408] trinity-main uses obsolete (PF_INET,SOCK_PACKET)
[   21.768562] general protection fault: 0000 [#1] PTI
[   21.769291] CPU: 0 PID: 698 Comm: trinity-c2 Tainted: G                T 4.19.0-rc2-00211-g61224ad #1
[   21.770624] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   21.771715] RIP: 0010:mqueue_get_tree+0x41/0x110
[   21.772345] Code: 29 4d 63 01 48 8b 45 00 4c 8b 20 31 c0 4d 85 e4 0f 95 c0 48 83 c0 02 48 83 04 c5 e8 af 02 83 01 4d 85 e4 74 50 e8 ef 13 be ff <49> 8b 04 24 4c 8b a0 40 04 00 00 31 c0 4d 85 e4 0f 95 c0 48 83 c0
[   21.775896] RSP: 0018:ffffc90000a5bd90 EFLAGS: 00010293
[   21.776588] RAX: 0000000000000000 RBX: ffff88000f61ee88 RCX: 0000000000000000
[   21.777477] RDX: ffff88000e80dd00 RSI: ffffffff81606341 RDI: ffff88000f61ee88
[   21.778446] RBP: ffff88000013bc40 R08: ffffffff82f1dee0 R09: ffff88000013bc40
[   21.779585] R10: ffffc90000a5bd00 R11: ffff88000013aed0 R12: 6b6b6b6b6b6b6b6b
[   21.780645] R13: ffff88000010ea88 R14: 0000000000000000 R15: ffffffff82c1c540
[   21.781537] FS:  000000000104a880(0000) GS:ffffffff82c3c000(0000) knlGS:0000000000000000
[   21.782585] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   21.783332] CR2: 00000000011ebbc8 CR3: 00000000001c6000 CR4: 00000000000406b0
[   21.784225] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   21.785113] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   21.786001] Call Trace:
[   21.786400]  vfs_get_tree+0xe6/0x320
[   21.786928]  mq_init_ns+0xef/0x220
[   21.787422]  copy_ipcs+0x19c/0x250
[   21.787920]  create_new_namespaces+0x18b/0x4f0
[   21.788520]  unshare_nsproxy_namespaces+0xaa/0x140
[   21.789169]  ksys_unshare+0x3e3/0x6a0
[   21.789690]  __x64_sys_unshare+0x17/0x20
[   21.790243]  do_syscall_64+0xbc/0xa10
[   21.790771]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
[   21.791438] RIP: 0033:0x458527
[   21.791897] Code: 00 00 00 b8 63 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 72 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8d 72 00 00 c3 66 2e 0f 1f 84 00 00 00 00
[   21.794140] RSP: 002b:00007ffc508c6678 EFLAGS: 00000217 ORIG_RAX: 0000000000000110
[   21.795149] RAX: ffffffffffffffda RBX: 00000000011ee520 RCX: 0000000000458527
[   21.796037] RDX: 0000000001045510 RSI: 00007ffc508c665c RDI: 0000000008000000
[   21.796927] RBP: 00000000000002ba R08: 00000000010454e4 R09: 0000000001045560
[   21.797817] R10: 0000000000456697 R11: 0000000000000217 R12: 00000000004b7820
[   21.798703] R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
[   21.799588] Modules linked in:
[   21.800090] ---[ end trace 7fe80d62a340273f ]---
[   21.800732] RIP: 0010:mqueue_get_tree+0x41/0x110
[   21.801366] Code: 29 4d 63 01 48 8b 45 00 4c 8b 20 31 c0 4d 85 e4 0f 95 c0 48 83 c0 02 48 83 04 c5 e8 af 02 83 01 4d 85 e4 74 50 e8 ef 13 be ff <49> 8b 04 24 4c 8b a0 40 04 00 00 31 c0 4d 85 e4 0f 95 c0 48 83 c0
[   21.803610] RSP: 0018:ffffc90000a5bd90 EFLAGS: 00010293
[   21.804300] RAX: 0000000000000000 RBX: ffff88000f61ee88 RCX: 0000000000000000
[   21.805320] RDX: ffff88000e80dd00 RSI: ffffffff81606341 RDI: ffff88000f61ee88
[   21.806413] RBP: ffff88000013bc40 R08: ffffffff82f1dee0 R09: ffff88000013bc40
[   21.807478] R10: ffffc90000a5bd00 R11: ffff88000013aed0 R12: 6b6b6b6b6b6b6b6b
[   21.808371] R13: ffff88000010ea88 R14: 0000000000000000 R15: ffffffff82c1c540
[   21.809276] FS:  000000000104a880(0000) GS:ffffffff82c3c000(0000) knlGS:0000000000000000
[   21.810338] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   21.811088] CR2: 00000000011ebbc8 CR3: 00000000001c6000 CR4: 00000000000406b0
[   21.812012] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   21.812933] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   21.813835] Kernel panic - not syncing: Fatal exception
[   21.814518] Kernel Offset: disabled

Elapsed time: 30

#!/bin/bash


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.19.0-rc2-00211-g61224ad" of type "text/plain" (116595 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ