syzbot


BUG: unable to handle kernel paging request in ttwu_do_wakeup

Status: closed as dup on 2017/12/19 12:15
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+0b0000a79e0669bc4404616e242d0e14fe8c8a28@syzkaller.appspotmail.com
First crash: 2347d, last: 2343d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: unable to handle kernel paging request in __switch_to kernel 1 2346d 2342d

Sample crash report:
*** Guest State ***
CR0: actual=0x0000000080000031, shadow=0x0000000060000010, gh_mask=fffffffffffffff7
BUG: unable to handle kernel paging request at 00000000e6c759ad
IP: ttwu_do_wakeup+0xa4/0x710 kernel/sched/core.c:1677
PGD 5e28067 P4D 5e28067 PUD 5e2a067 PMD 0 
Oops: 0002 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 13428 Comm: syz-executor2 Not tainted 4.15.0-rc1-next-20171201+ #57
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: 00000000688ba51c task.stack: 0000000005a21800
RIP: 0010:ttwu_do_wakeup+0xa4/0x710 kernel/sched/core.c:1677
RSP: 0018:ffff8801db507620 EFLAGS: 00010046
RAX: 1ffff1003a0a0ca1 RBX: ffff8801db527900 RCX: ffff8801db5282e8
RDX: 1ffff1003b6a5062 RSI: ffff8801db527918 RDI: ffff8801d0506508
RBP: ffff8801db507700 R08: 1ffffffff0a54f65 R09: ffff8801cac9e130
R10: 1ffff1003b6a0e9f R11: 0000000000000006 R12: 1ffff1003b6a0ec7
R13: ffff8801d0506500 R14: ffff8801db5076d8 R15: dffffc0000000000
FS:  00007f56c3d99700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 00000001d3853000 CR4: 00000000001426e0
Call Trace:
 <IRQ>
 ttwu_do_activate+0x151/0x200 kernel/sched/core.c:1722
 ttwu_queue kernel/sched/core.c:1866 [inline]
 try_to_wake_up+0xa8d/0x1600 kernel/sched/core.c:2079
 default_wake_function+0x30/0x50 kernel/sched/core.c:3629
 autoremove_wake_function+0x78/0x350 kernel/sched/wait.c:377
 __wake_up_common+0x18e/0x780 kernel/sched/wait.c:97
 __wake_up_common_lock+0x1b4/0x310 kernel/sched/wait.c:125
 __wake_up+0xe/0x10 kernel/sched/wait.c:149
 wake_up_klogd_work_func+0x4a/0x70 kernel/printk/printk.c:2699
 irq_work_run_list+0x184/0x240 kernel/irq_work.c:155
 irq_work_run+0x31/0x50 kernel/irq_work.c:171
 flush_smp_call_function_queue+0x288/0x570 kernel/smp.c:257
 generic_smp_call_function_single_interrupt+0x13/0x30 kernel/smp.c:192
 smp_call_function_single_interrupt+0x103/0x640 arch/x86/kernel/smp.c:295
 call_function_single_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:929
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:777 [inline]
RIP: 0010:console_unlock+0x954/0xd70 kernel/printk/printk.c:2235
RSP: 0018:ffff8801ccf37338 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff04
RAX: 0000000000010000 RBX: 0000000000000000 RCX: ffffffff8159c42b
RDX: 000000000000693f RSI: ffffc90001fc6000 RDI: 0000000000000212
RBP: ffff8801ccf37420 R08: 1ffff100399e6e35 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffff83a24260
 vprintk_emit+0x4ad/0x590 kernel/printk/printk.c:1757
 vprintk_default+0x28/0x30 kernel/printk/printk.c:1796
 vprintk_func+0x57/0xc0 kernel/printk/printk_safe.c:379
 printk+0xaa/0xca kernel/printk/printk.c:1829
 dump_vmcs arch/x86/kvm/vmx.c:8677 [inline]
 vmx_handle_exit+0xbee/0x1ce0 arch/x86/kvm/vmx.c:8832
 vcpu_enter_guest arch/x86/kvm/x86.c:7084 [inline]
 vcpu_run arch/x86/kvm/x86.c:7146 [inline]
 kvm_arch_vcpu_ioctl_run+0x1cb4/0x5c60 arch/x86/kvm/x86.c:7314
 kvm_vcpu_ioctl+0x64c/0x1010 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2574
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x4529d9
RSP: 002b:00007f56c3d98c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f56c3d97810 RCX: 00000000004529d9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000018
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 000000000000001a
R13: 0000000020960000 R14: 00007f56c3d996d4 R15: 0000000000000000
Code: f2 c7 40 10 f3 f3 f3 f3 e8 2a fc ff ff 49 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 46 06 00 00 49 c7 45 08 00 00 00 00 <cc> 1f 44 00 00 65 8b 05 30 cf b4 7e 89 c0 48 0f a3 05 b6 64 12 
RIP: ttwu_do_wakeup+0xa4/0x710 kernel/sched/core.c:1677 RSP: ffff8801db507620
CR2: fffffffffffffff8
---[ end trace 4761885c37033818 ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/02 14:33 linux-next fb20eb9d798d 16668351 .config console log report ci-upstream-next-kasan-gce
2017/12/02 02:31 mmots 4131d5166185 29b0fd90 .config console log report ci-upstream-mmots-kasan-gce
2017/11/30 23:51 mmots 4131d5166185 29b0fd90 .config console log report ci-upstream-mmots-kasan-gce
2017/11/30 19:47 linux-next 11fed7829bef 29b0fd90 .config console log report ci-upstream-next-kasan-gce
2017/11/30 06:10 linux-next 11fed7829bef 29b0fd90 .config console log report ci-upstream-next-kasan-gce
2017/11/28 19:58 linux-next 5bef2980adef 1808de66 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.