syzbot


invalid opcode in __switch_to_asm

Status: auto-closed as invalid on 2020/12/04 15:05
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+c270f4b97a68a3a8e856@syzkaller.appspotmail.com
First crash: 1537d, last: 1537d

Sample crash report:
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 30184 Comm: syz-executor.0 Not tainted 5.9.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__switch_to_asm+0x0/0x40 arch/x86/entry/entry_64.S:229
Code: 00 00 07 07 00 00 00 07 07 00 07 07 00 00 00 07 07 00 00 00 07 07 07 07 00 00 07 07 00 00 00 00 00 00 00 07 07 00 00 00 00 00 <07> 07 00 00 00 07 07 00 00 00 07 07 00 00 00 00 07 07 00 00 00 07
RSP: 0018:ffffc9000772f380 EFLAGS: 00010046
RAX: 1ffff11015d26b1a RBX: ffff8880a88d65a8 RCX: dffffc0000000000
RDX: ffff8880a88d6a60 RSI: ffff888094dfa100 RDI: ffff8880a88d6180
RBP: ffff888050a6a740 R08: dffffc0000000000 R09: fffffbfff131e2ce
R10: fffffbfff131e2ce R11: 0000000000000000 R12: ffff8880a88d65b0
R13: dffffc0000000000 R14: 1ffff11015d26c62 R15: ffff888094dfa100
FS:  00007fb31ffcc700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000052c538 CR3: 00000000a8414000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 context_switch kernel/sched/core.c:3778 [inline]
 __schedule+0x9b9/0xd20 kernel/sched/core.c:4527
 preempt_schedule_irq+0xda/0x190 kernel/sched/core.c:4785
 irqentry_exit_cond_resched kernel/entry/common.c:333 [inline]
 irqentry_exit+0x92/0xa0 kernel/entry/common.c:363
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:193
Code: 0b e8 24 00 00 00 0f 0b 66 90 53 48 89 fb e8 17 00 00 00 48 8b 3d 68 1c 1a 08 48 89 de 5b e9 87 57 3f 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0c 25 00 fe 01 00 65 8b 15 d8 01 8d 7e f7 c2
RSP: 0018:ffffc9000772f518 EFLAGS: 00000282
RAX: ffff8880a3154941 RBX: ffff8880a3154940 RCX: ffffffff889d8e00
RDX: ffff8880a88d6180 RSI: 0000000000000004 RDI: 0000000000000000
RBP: 0000000000000004 R08: ffffffff83d5479c R09: ffffffff83d53b9c
R10: 0000000000000002 R11: ffff8880a88d6180 R12: 000000000000003f
R13: ffff888000fb582c R14: 0000000000000004 R15: ffffffff889d8e00
 fast_imageblit drivers/video/fbdev/core/cfbimgblt.c:254 [inline]
 cfb_imageblit+0xe90/0x11e0 drivers/video/fbdev/core/cfbimgblt.c:300
 bit_putcs+0x17ac/0x1bf0 drivers/video/fbdev/core/bitblit.c:105
 fbcon_putcs+0x790/0xaf0 drivers/video/fbdev/core/fbcon.c:1362
 do_update_region+0x462/0x620 drivers/tty/vt/vt.c:675
 csi_J+0x8be/0x1110 drivers/tty/vt/vt.c:1568
 do_con_trol drivers/tty/vt/vt.c:2244 [inline]
 do_con_write+0x474b/0xd580 drivers/tty/vt/vt.c:2906
 con_write+0x20/0x40 drivers/tty/vt/vt.c:3250
 process_output_block drivers/tty/n_tty.c:595 [inline]
 n_tty_write+0xcbf/0x1170 drivers/tty/n_tty.c:2333
 do_tty_write drivers/tty/tty_io.c:962 [inline]
 tty_write+0x593/0x940 drivers/tty/tty_io.c:1046
 vfs_write+0x2d3/0xd10 fs/read_write.c:576
 ksys_write+0x11b/0x220 fs/read_write.c:631
 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45d5b9
Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb31ffcbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000038900 RCX: 000000000045d5b9
RDX: 0000000000001006 RSI: 0000000020001440 RDI: 0000000000000004
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffe0d113b2f R14: 00007fb31ffcc9c0 R15: 000000000118cf4c
Modules linked in:
BUG: stack guard page was hit at 00000000919c9e17 (stack is 000000008dfe6d8c..000000004069b0b1)
---[ end trace ac8b2319d3e78a20 ]---
RIP: 0010:__switch_to_asm+0x0/0x40 arch/x86/entry/entry_64.S:229
Code: 00 00 07 07 00 00 00 07 07 00 07 07 00 00 00 07 07 00 00 00 07 07 07 07 00 00 07 07 00 00 00 00 00 00 00 07 07 00 00 00 00 00 <07> 07 00 00 00 07 07 00 00 00 07 07 00 00 00 00 07 07 00 00 00 07
RSP: 0018:ffffc9000772f380 EFLAGS: 00010046
RAX: 1ffff11015d26b1a RBX: ffff8880a88d65a8 RCX: dffffc0000000000
RDX: ffff8880a88d6a60 RSI: ffff888094dfa100 RDI: ffff8880a88d6180
RBP: ffff888050a6a740 R08: dffffc0000000000 R09: fffffbfff131e2ce
R10: fffffbfff131e2ce R11: 0000000000000000 R12: ffff8880a88d65b0
R13: dffffc0000000000 R14: 1ffff11015d26c62 R15: ffff888094dfa100
FS:  00007fb31ffcc700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000052c538 CR3: 00000000a8414000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/05 15:05 upstream c70672d8d316 abf9ba4f .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.