syzbot


WARNING in kvm_put_kvm (2)

Status: upstream: reported on 2024/10/24 06:36
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+4f8d3ac3727ffc0ecd8a@syzkaller.appspotmail.com
First crash: 46d, last: 4d22h
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly kvm report (Nov 2024) 0 (1) 2024/11/01 12:35
[syzbot] [kvm?] WARNING in kvm_put_kvm (2) 0 (1) 2024/10/24 06:36
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kvm_put_kvm kvm 14 162d 170d 0/28 closed as invalid on 2024/08/16 18:20

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6133 at kernel/rcu/srcutree.c:681 cleanup_srcu_struct+0x404/0x4d0 kernel/rcu/srcutree.c:681
Modules linked in:
CPU: 1 UID: 0 PID: 6133 Comm: syz.2.45 Not tainted 6.12.0-next-20241128-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:cleanup_srcu_struct+0x404/0x4d0 kernel/rcu/srcutree.c:681
Code: d4 85 00 48 c7 03 00 00 00 00 48 83 c4 48 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 eb e7 90 0f 0b 90 eb e1 90 <0f> 0b 90 eb db 90 0f 0b 90 eb 0a 90 0f 0b 90 eb 04 90 0f 0b 90 48
RSP: 0018:ffffc90004a2f840 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff888031a3e180 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffe8ffffd65118
RBP: 0000000000000001 R08: ffffe8ffffd6511f R09: 1ffffd1ffffaca23
R10: dffffc0000000000 R11: fffff91ffffaca24 R12: dffffc0000000000
R13: ffffc900047e28b8 R14: ffffc900047d9000 R15: ffff888031a3e000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c399fc0 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvm_destroy_vm virt/kvm/kvm_main.c:1311 [inline]
 kvm_put_kvm+0xd51/0xf60 virt/kvm/kvm_main.c:1340
 kvm_vcpu_release+0x54/0x60 virt/kvm/kvm_main.c:4000
 __fput+0x23c/0xa50 fs/file_table.c:450
 task_work_run+0x24f/0x310 kernel/task_work.c:239
 exit_task_work include/linux/task_work.h:43 [inline]
 do_exit+0xa2f/0x28e0 kernel/exit.c:938
 do_group_exit+0x207/0x2c0 kernel/exit.c:1087
 get_signal+0x16b2/0x1750 kernel/signal.c:3016
 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0365f80849
Code: Unable to access opcode bytes at 0x7f0365f8081f.
RSP: 002b:00007f0366cf9058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 0000000000000038 RBX: 00007f0366146160 RCX: 00007f0365f80849
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 000000000000000a
RBP: 00007f0365ff3986 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0366146160 R15: 00007fff6dc69838
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/30 15:36 linux-next f486c8aa16b8 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_put_kvm
2024/11/28 05:13 linux-next f486c8aa16b8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_put_kvm
2024/11/26 04:40 linux-next 85a2dd7d7c81 a84878fc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_put_kvm
2024/11/21 04:11 linux-next ac24e26aa08f 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_put_kvm
2024/11/20 03:18 linux-next 414c97c966b6 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_put_kvm
2024/10/20 06:26 linux-next 15e7d45e786a cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_put_kvm
* Struck through repros no longer work on HEAD.