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:   Fri, 03 Nov 2017 14:55:01 -0700
From:   syzbot 
        <bot+cdc101da2b51ccd9d68d92a29a64a620ed313891@...kaller.appspotmail.com>
To:     hpa@...or.com, kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
        mingo@...hat.com, pbonzini@...hat.com, rkrcmar@...hat.com,
        syzkaller-bugs@...glegroups.com, tglx@...utronix.de, x86@...nel.org
Subject: WARNING in __x86_set_memory_region

syzkaller has found reproducer for the following crash on  
5a3517e009e979f21977d362212b7729c5165d92
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master
compiler: gcc (GCC) 7.1.1 20170620
.config is attached
Raw console output is attached.
C reproducer is attached
syzkaller reproducer is attached. See https://goo.gl/kgGztJ
for information about syzkaller reproducers


------------[ cut here ]------------
WARNING: CPU: 1 PID: 6656 at arch/x86/kvm/x86.c:8243  
__x86_set_memory_region+0x56e/0x7a0 arch/x86/kvm/x86.c:8243
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 6656 Comm: syzkaller223273 Not tainted  
4.14.0-rc7-next-20171103+ #38
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
Call Trace:
  __dump_stack lib/dump_stack.c:17 [inline]
  dump_stack+0x194/0x257 lib/dump_stack.c:53
  panic+0x1e4/0x41c kernel/panic.c:183
  __warn+0x1c4/0x1e0 kernel/panic.c:546
  report_bug+0x211/0x2d0 lib/bug.c:184
  fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:177
  do_trap_no_signal arch/x86/kernel/traps.c:211 [inline]
  do_trap+0x260/0x390 arch/x86/kernel/traps.c:260
  do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:297
  do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:310
  invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:906
RIP: 0010:__x86_set_memory_region+0x56e/0x7a0 arch/x86/kvm/x86.c:8243
RSP: 0018:ffff8801c12b7690 EFLAGS: 00010293
RAX: ffff8801c89b85c0 RBX: ffff8801c12b7798 RCX: ffffffff810b4d6e
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffed0038256ea0
RBP: ffff8801c12b77c0 R08: 0000000000000001 R09: 1ffff10038256e85
R10: ffff8801c89b85c0 R11: 0000000000000001 R12: ffff8801c12b7758
R13: 1ffff10038256ed7 R14: ffff8801bdc62ac0 R15: 0000000000000000
  x86_set_memory_region+0x3e/0x60 arch/x86/kvm/x86.c:8255
  kvm_arch_destroy_vm+0x7c4/0x990 arch/x86/kvm/x86.c:8271
  kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:726 [inline]
  kvm_put_kvm+0x695/0xde0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:747
  kvm_vcpu_release+0x7b/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2371
  __fput+0x333/0x7f0 fs/file_table.c:210
  ____fput+0x15/0x20 fs/file_table.c:244
  task_work_run+0x199/0x270 kernel/task_work.c:113
  tracehook_notify_resume include/linux/tracehook.h:191 [inline]
  exit_to_usermode_loop+0x296/0x310 arch/x86/entry/common.c:162
  prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
  syscall_return_slowpath+0x42f/0x510 arch/x86/entry/common.c:266
  entry_SYSCALL_64_fastpath+0xbc/0xbe
RIP: 0033:0x445ba9
RSP: 002b:00007f8d49285dc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000124
RAX: 0000000000000005 RBX: 0000000000000000 RCX: 0000000000445ba9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007f8d49286700 R09: 00007f8d49286700
R10: 00007f8d49286700 R11: 0000000000000202 R12: 0000000000000000
R13: 00007ffee68801ef R14: 00007f8d492869c0 R15: 0000000000000000
Dumping ftrace buffer:
    (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..


View attachment "config.txt" of type "text/plain" (124357 bytes)

Download attachment "raw.log" of type "application/octet-stream" (60080 bytes)

View attachment "repro.txt" of type "text/plain" (606 bytes)

Download attachment "repro.c" of type "application/octet-stream" (3075 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ