syzbot


BUG: unable to handle kernel paging request in native_write_msr

Status: closed as invalid on 2017/12/06 12:39
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+5c2b1f56608fb89db35353c31620e8f73dbd0aaf@syzkaller.appspotmail.com
First crash: 2615d, last: 2615d

Sample crash report:
QAT: Invalid ioctl
BUG: unable to handle kernel paging request at 000000006fa0c6da
IP: __wrmsr arch/x86/include/asm/msr.h:105 [inline]
IP: native_write_msr+0xa/0x30 arch/x86/include/asm/msr.h:148
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: 12174 Comm: syz-executor7 Not tainted 4.15.0-rc1-mm1+ #29
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: 00000000595d6ed0 task.stack: 000000006855b6c0
RIP: 0010:__wrmsr arch/x86/include/asm/msr.h:105 [inline]
RIP: 0010:native_write_msr+0xa/0x30 arch/x86/include/asm/msr.h:148
RSP: 0018:ffff8801db507d40 EFLAGS: 00010046
RAX: 0000000000000161 RBX: 0000000000000838 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000161 RDI: 0000000000000838
RBP: ffff8801db507d40 R08: ffff88021fff805c R09: ffff88021fff8048
R10: ffff88021fff8050 R11: ffff88021fff805d R12: 0000000000000161
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000003
FS:  00007fcc71628700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 00000001c866a000 CR4: 00000000001426e0
Call Trace:
 <IRQ>
 paravirt_write_msr arch/x86/include/asm/paravirt.h:116 [inline]
 native_apic_msr_write+0x5c/0x80 arch/x86/include/asm/apic.h:207
 apic_write arch/x86/include/asm/apic.h:401 [inline]
 lapic_next_event+0x54/0x80 arch/x86/kernel/apic/apic.c:460
 clockevents_program_event+0x248/0x2e0 kernel/time/clockevents.c:344
 tick_program_event+0x7c/0x100 kernel/time/tick-oneshot.c:48
 hrtimer_interrupt+0x2f9/0x6f0 kernel/time/hrtimer.c:1482
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline]
 smp_apic_timer_interrupt+0x14a/0x700 arch/x86/kernel/apic/apic.c:1050
 apic_timer_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:907
 </IRQ>
RIP: 0010:generic_exec_single+0x131/0x5b0 kernel/smp.c:178
RSP: 0018:ffff8801cfd76618 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff11
RAX: dffffc0000000000 RBX: 1ffff10039faecc5 RCX: 1ffffffff0b7d75c
RDX: 0000000000028980 RSI: ffff8801cfd767e0 RDI: ffffffff85bebae0
RBP: ffff8801cfd766f0 R08: 1ffff10039faed00 R09: 0000000000000000
R10: ffff8801cfd76880 R11: 0000000000000000 R12: ffff8801cfd767e0
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff81270c70
 smp_call_function_single+0x2d2/0x560 kernel/smp.c:299
 smp_call_function_many+0x773/0x930 kernel/smp.c:434
 smp_call_function kernel/smp.c:492 [inline]
 on_each_cpu+0x3d/0x1b0 kernel/smp.c:602
 text_poke_bp+0xbb/0x170 arch/x86/kernel/alternative.c:807
 __jump_label_transform.isra.0+0x6a5/0x8a0 arch/x86/kernel/jump_label.c:102
 arch_jump_label_transform+0x2f/0x40 arch/x86/kernel/jump_label.c:110
 __jump_label_update+0x207/0x2d0 kernel/jump_label.c:368
 jump_label_update+0x22c/0x2b0 kernel/jump_label.c:735
 static_key_slow_dec_cpuslocked+0x176/0x1d0 kernel/jump_label.c:204
 __static_key_slow_dec kernel/jump_label.c:214 [inline]
 static_key_slow_dec+0x56/0x90 kernel/jump_label.c:228
 tracepoint_remove_func kernel/tracepoint.c:252 [inline]
 tracepoint_probe_unregister+0x70d/0x870 kernel/tracepoint.c:323
 trace_event_reg+0xed/0x320 kernel/trace/trace_events.c:309
 perf_trace_event_unreg.isra.2+0xad/0x1f0 kernel/trace/trace_event_perf.c:155
 perf_trace_destroy+0xbc/0x100 kernel/trace/trace_event_perf.c:236
 tp_perf_event_destroy+0x15/0x20 kernel/events/core.c:7940
 _free_event+0x3bd/0x10f0 kernel/events/core.c:4104
 put_event+0x24/0x30 kernel/events/core.c:4187
 perf_event_release_kernel+0x407/0xc10 kernel/events/core.c:4288
 perf_release+0x37/0x50 kernel/events/core.c:4298
 __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
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x9bb/0x1ae0 kernel/exit.c:869
 do_group_exit+0x149/0x400 kernel/exit.c:972
 get_signal+0x73f/0x16c0 kernel/signal.c:2335
 do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264
 entry_SYSCALL_64_fastpath+0x94/0x96
RIP: 0033:0x4529d9
RSP: 002b:00007fcc71627ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 0000000000758048 RCX: 00000000004529d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000758048
RBP: 0000000000758048 R08: 000000000000001a R09: 0000000000758020
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000a6f7ff R14: 00007fcc716289c0 R15: 0000000000000000
Code: 5d c3 0f 21 d0 5d c3 0f 21 d8 5d c3 0f 21 f0 5d c3 0f 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 55 89 f9 89 f0 48 89 e5 0f 30 <cc> 02 00 00 00 5d c3 48 89 d6 89 c2 48 c1 e6 20 48 09 d6 31 d2 
RIP: __wrmsr arch/x86/include/asm/msr.h:105 [inline] RSP: ffff8801db507d40
RIP: native_write_msr+0xa/0x30 arch/x86/include/asm/msr.h:148 RSP: ffff8801db507d40
CR2: fffffffffffffff8
---[ end trace fe004575c79aa1d2 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/01 08:06 mmots 4131d5166185 29b0fd90 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.