syzbot


WARNING: kmalloc bug in memslot_rmap_alloc
Status: upstream: reported C repro on 2021/09/05 20:22
Reported-by: syzbot+e0de2333cbf95ea473e8@syzkaller.appspotmail.com
Fix commit: KVM: replace large kvmalloc allocation with vmalloc
Patched on: [ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 49d, last: 19d

Cause bisection: introduced by (bisect log) [merge commit]:
commit 512bce50a41c528fa15c4c014293e7bebf018658
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Tue Nov 10 12:58:05 2020 +0000

  Merge v5.10-rc3 into drm-next

Crash: BUG: sleeping function called from invalid context in sta_info_move_state (log)
Repro: C syz .config
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING: kmalloc bug in kvm_page_track_create_memslot C unreliable 9 7h59m 6d04h 0/22 closed as dup on 2021/10/18 08:10
Patch testing requests:
Created Duration User Patch Repo Result
2021/10/14 11:24 16m snovitoll@gmail.com https://linux.googlesource.com/linux/kernel/git/torvalds/linux refs/changes/83/14783/2 OK

Sample crash report:

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/10/05 04:01 upstream f6274b06e326 d236a457 .config log report syz C
Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/09/05 03:40 upstream f1583cb1be35 d236a457 .config log report syz C WARNING: kmalloc bug in memslot_rmap_alloc
ci-upstream-kasan-gce 2021/09/05 03:23 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in memslot_rmap_alloc
ci-upstream-kasan-gce-386 2021/09/05 03:22 upstream f1583cb1be35 d236a457 .config log report info WARNING: kmalloc bug in memslot_rmap_alloc