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]
Message-ID: <20170519060820.GW568@yexl-desktop>
Date:   Fri, 19 May 2017 14:08:20 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Al Viro <viro@...IV.linux.org.uk>
Cc:     linux-kernel@...r.kernel.org,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Ingo Molnar <mingo@...nel.org>,
        Oleg Nesterov <oleg@...hat.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Christoph Hellwig <hch@....de>, lkp@...org
Subject: [lkp-robot] [waitid()]  75f64d68f9:
 Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode=


FYI, we noticed the following commit:

commit: 75f64d68f9816a1c244b8685f056389b24d97e98 ("waitid(): switch copyout of siginfo to unsafe_put_user()")
url: https://github.com/0day-ci/linux/commits/Al-Viro/move-compat-wait4-and-waitid-next-to-native-variants/20170516-084127


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

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


+------------------------------------------------------------------+------------+------------+
|                                                                  | 3b8d2673bc | 75f64d68f9 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 8          | 0          |
| boot_failures                                                    | 4          | 17         |
| invoked_oom-killer:gfp_mask=0x                                   | 4          |            |
| Mem-Info                                                         | 4          |            |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 4          |            |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode=        | 0          | 17         |
+------------------------------------------------------------------+------------+------------+



[   13.075040] Freeing unused kernel memory: 712K
[   13.077939] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[   13.077939] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[   13.087208] random: init: uninitialized urandom read (12 bytes read)
[   13.087208] random: init: uninitialized urandom read (12 bytes read)
[   13.101738] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000600
[   13.101738] 
[   13.101738] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000600
[   13.101738] 
[   13.103770] CPU: 0 PID: 1 Comm: init Not tainted 4.12.0-rc1-00008-g75f64d6 #1
[   13.103770] CPU: 0 PID: 1 Comm: init Not tainted 4.12.0-rc1-00008-g75f64d6 #1
[   13.105333] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   13.105333] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   13.107557] Call Trace:
[   13.107557] Call Trace:
[   13.108112]  dump_stack+0x27/0x31
[   13.108112]  dump_stack+0x27/0x31
[   13.108856]  panic+0x115/0x31b
[   13.108856]  panic+0x115/0x31b
[   13.109534]  do_exit+0x111d/0x1120
[   13.109534]  do_exit+0x111d/0x1120
[   13.110296]  do_group_exit+0x3d/0x110
[   13.110296]  do_group_exit+0x3d/0x110
[   13.111105]  SyS_exit_group+0x24/0x30
[   13.111105]  SyS_exit_group+0x24/0x30
[   13.111925]  entry_SYSCALL_64_fastpath+0x1a/0xa4
[   13.111925]  entry_SYSCALL_64_fastpath+0x1a/0xa4
[   13.112947] RIP: 0033:0x7fede11ca408
[   13.112947] RIP: 0033:0x7fede11ca408
[   13.113752] RSP: 002b:00007ffe406929e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[   13.113752] RSP: 002b:00007ffe406929e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[   13.115403] RAX: ffffffffffffffda RBX: 00007fede2170000 RCX: 00007fede11ca408
[   13.115403] RAX: ffffffffffffffda RBX: 00007fede2170000 RCX: 00007fede11ca408
[   13.116957] RDX: 0000000000000006 RSI: 000000000000003c RDI: 0000000000000006
[   13.116957] RDX: 0000000000000006 RSI: 000000000000003c RDI: 0000000000000006
[   13.118505] RBP: 00007fede16d1000 R08: 00000000000000e7 R09: ffffffffffffffa0
[   13.118505] RBP: 00007fede16d1000 R08: 00000000000000e7 R09: ffffffffffffffa0
[   13.120065] R10: 00007fede14c5fa8 R11: 0000000000000246 R12: 0000000000218220
[   13.120065] R10: 00007fede14c5fa8 R11: 0000000000000246 R12: 0000000000218220
[   13.121616] R13: 0000000000000000 R14: 00007fede2177048 R15: 00007fede21714e8
[   13.121616] R13: 0000000000000000 R14: 00007fede2177048 R15: 00007fede21714e8
[   13.123174] Kernel Offset: disabled


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.12.0-rc1-00008-g75f64d6" of type "text/plain" (114377 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ