WARNING in handle_exception

7 views
Skip to first unread message

syzbot

unread,
Jun 6, 2022, 7:31:21 PM6/6/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1494959ff00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=3ede963099ad65066975
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3ede96...@syzkaller.appspotmail.com

WARNING: CPU: 0 PID: 29319 at arch/x86/kvm/vmx.c:7091 handle_exception+0x747/0xca0 arch/x86/kvm/vmx.c:7091
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 29319 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
Option '�b :���V6^ѷ�i�9Pֻ*MƆT�x�D>)�9 ��>w�W) p�4� E�6e8�$}��x}H�ʆ���B� ���ٮ�����' to dns_resolver key: bad/missing value
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:handle_exception+0x747/0xca0 arch/x86/kvm/vmx.c:7091
Code: ff 89 de e8 2b b7 49 00 85 db 75 20 e8 b2 b5 49 00 0f b6 1d 42 f6 0d 0a 31 ff 89 de e8 d2 b6 49 00 84 db 74 07 e8 99 b5 49 00 <0f> 0b e8 92 b5 49 00 4c 89 e2 44 89 ee 45 31 c0 31 c9 48 89 ef e8
RSP: 0018:ffff8880b483f938 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90008c3c000
RDX: 00000000000050ef RSI: ffffffff8118cfd7 RDI: 0000000000000001
Option '�b :���V6^ѷ�i�9Pֻ*MƆT�x�D>)�9 ��>w�W) p�4� E�6e8�$}��x}H�ʆ���B� ���ٮ�����' to dns_resolver key: bad/missing value
RBP: ffff88808f679780 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 00000000a0000975
R13: 0000000000000000 R14: 0000000080000300 R15: 0000000000000000
vmx_handle_exit+0x26c/0xf90 arch/x86/kvm/vmx.c:10168
vcpu_enter_guest arch/x86/kvm/x86.c:7857 [inline]
vcpu_run arch/x86/kvm/x86.c:7920 [inline]
kvm_arch_vcpu_ioctl_run+0x27b2/0x6f70 arch/x86/kvm/x86.c:8120
kvm_vcpu_ioctl+0x493/0xe10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2847
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f94a96b3109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f94a8028168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f94a97c5f60 RCX: 00007f94a96b3109
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007f94a970d08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf471e6ef R14: 00007f94a8028300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jun 6, 2022, 7:45:20 PM6/6/22
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11407663f00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=3ede963099ad65066975
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1667502df00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1193337df00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3ede96...@syzkaller.appspotmail.com

L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
WARNING: CPU: 0 PID: 8064 at arch/x86/kvm/vmx.c:7091 handle_exception+0x747/0xca0 arch/x86/kvm/vmx.c:7091
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8064 Comm: syz-executor292 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:handle_exception+0x747/0xca0 arch/x86/kvm/vmx.c:7091
Code: ff 89 de e8 2b b7 49 00 85 db 75 20 e8 b2 b5 49 00 0f b6 1d 42 f6 0d 0a 31 ff 89 de e8 d2 b6 49 00 84 db 74 07 e8 99 b5 49 00 <0f> 0b e8 92 b5 49 00 4c 89 e2 44 89 ee 45 31 c0 31 c9 48 89 ef e8
RSP: 0018:ffff88809578f938 EFLAGS: 00010293
RAX: ffff8880b257c340 RBX: 0000000000000001 RCX: ffffffff8118cfce
RDX: 0000000000000000 RSI: ffffffff8118cfd7 RDI: 0000000000000001
RBP: ffff888098130040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 00000000a0000975
R13: 0000000000000000 R14: 0000000080000300 R15: 0000000000000000
vmx_handle_exit+0x26c/0xf90 arch/x86/kvm/vmx.c:10168
vcpu_enter_guest arch/x86/kvm/x86.c:7857 [inline]
vcpu_run arch/x86/kvm/x86.c:7920 [inline]
kvm_arch_vcpu_ioctl_run+0x27b2/0x6f70 arch/x86/kvm/x86.c:8120
kvm_vcpu_ioctl+0x493/0xe10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2847
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7feea3547d99
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc3d5644b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007feea3547d99
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007feea350b890 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feea350b920
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Reply all
Reply to author
Forward
0 new messages