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:   Sat, 10 Mar 2018 05:11:39 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     linux-kernel@...r.kernel.org, Mark Rutland <mark.rutland@....com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Ingo Molnar <mingo@...nel.org>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        Michal Hocko <mhocko@...e.com>,
        Peter Zijlstra <peterz@...raded.org>,
        Rik van Riel <riel@...hat.com>,
        Will Deacon <will.deacon@....com>, lkp@...org
Subject: 94d3a25408: kernel_BUG_at_kernel/fork.c

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

commit: 94d3a254089a7cd4f11b7071b4323afd98eea0a6 ("Detect early free of a live mm")
url: https://github.com/0day-ci/linux/commits/Mark-Rutland/Detect-early-free-of-a-live-mm/20180303-144149


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G

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


+------------------------------------------+-----------+------------+
|                                          | v4.16-rc3 | 94d3a25408 |
+------------------------------------------+-----------+------------+
| boot_successes                           | 18        | 6          |
| boot_failures                            | 0         | 10         |
| kernel_BUG_at_kernel/fork.c              | 0         | 10         |
| invalid_opcode:#[##]                     | 0         | 10         |
| RIP:__mmdrop                             | 0         | 10         |
| Kernel_panic-not_syncing:Fatal_exception | 0         | 10         |
+------------------------------------------+-----------+------------+



[   47.208935] kernel BUG at kernel/fork.c:599!
[   47.210365] invalid opcode: 0000 [#1] SMP PTI
[   47.211336] Modules linked in:
[   47.212145] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.16.0-rc3-00001-g94d3a25 #1
[   47.213966] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   47.215869] RIP: 0010:__mmdrop+0x136/0x170
[   47.216866] RSP: 0018:ffffffff82803dd8 EFLAGS: 00010293
[   47.218160] RAX: ffffffff82818500 RBX: ffff880115770000 RCX: ffffffff810ae876
[   47.219758] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff880115770000
[   47.221306] RBP: ffffffff82803e00 R08: 0000000000000001 R09: 0000000000000000
[   47.223268] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff82818500
[   47.224961] R13: ffffffff82a8ce20 R14: ffff88013ff534c0 R15: 00000000000003e7
[   47.226716] FS:  0000000000000000(0000) GS:ffff88013b200000(0000) knlGS:0000000000000000
[   47.228550] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   47.229884] CR2: 00007fbfc2cc0190 CR3: 0000000002812000 CR4: 00000000000006f0
[   47.231580] Call Trace:
[   47.232144]  idle_task_exit+0x53/0x60
[   47.232947]  play_dead_common+0x9/0x20
[   47.233906]  native_play_dead+0x10/0xed
[   47.234804]  ? cpuhp_report_idle_dead+0x5a/0x70
[   47.236139]  arch_cpu_idle_dead+0xa/0x10
[   47.236954]  do_idle+0x14d/0x1d0
[   47.237834]  cpu_startup_entry+0x6e/0x70
[   47.238735]  rest_init+0xc7/0xd0
[   47.239612]  ? update_intr_gate+0x1b/0x1b
[   47.240516]  start_kernel+0x59f/0x5c2
[   47.241282]  x86_64_start_reservations+0x38/0x3a
[   47.242402]  x86_64_start_kernel+0x72/0x75
[   47.243328]  secondary_startup_64+0xa5/0xb0
[   47.244378] Code: 89 ff e8 06 32 07 00 eb 83 e8 f7 11 0d 00 4c 89 e7 e8 8f e7 0c 00 eb ba e8 e8 11 0d 00 0f 0b e8 e1 11 0d 00 0f 0b e8 da 11 0d 00 <0f> 0b e8 d3 11 0d 00 48 89 df e8 8b ed 15 00 e9 2e ff ff ff e8 
[   47.248938] RIP: __mmdrop+0x136/0x170 RSP: ffffffff82803dd8
[   47.250243] ---[ end trace 0f4bf1066c11d4ef ]---


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.16.0-rc3-00001-g94d3a25" of type "text/plain" (123892 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ