Re: general protection fault in rcu_segcblist_enqueue

From: Sean Christopherson
Date: Mon Sep 20 2021 - 10:33:05 EST


On Sat, Sep 18, 2021, Hao Sun wrote:
> Hello,
>
> When using Healer to fuzz the latest Linux kernel, the following crash
> was triggered.
>
> HEAD commit: ff1ffd71d5f0 Merge tag 'hyperv-fixes-signed-20210915
> git tree: upstream
> console output:
> https://drive.google.com/file/d/1I3q-rH7yJXxmr16cI418avyA_tHdoOVE/view?usp=sharing
> kernel config: https://drive.google.com/file/d/1zXpDhs-IdE7tX17B7MhaYP0VGUfP6m9B/view?usp=sharing
>
> Sorry, I don't have a reproducer for this crash, hope the symbolized
> report can help.
> If you fix this issue, please add the following tag to the commit:
> Reported-by: Hao Sun <sunhao.th@xxxxxxxxx>
>
> general protection fault, probably for non-canonical address

...

> srcu_gp_start_if_needed+0x145/0xbf0 kernel/rcu/srcutree.c:823
> __synchronize_srcu+0x1f4/0x270 kernel/rcu/srcutree.c:929

Duplicate of https://lkml.kernel.org/r/CACkBjsZ55MKvOBGYJyQxwHBCQOTP=Lz=yfYwJtdOzNiT59E38g@xxxxxxxxxxxxxx

> kvm_mmu_uninit_vm+0x18/0x30 arch/x86/kvm/mmu/mmu.c:5711
> kvm_arch_destroy_vm+0x42b/0x5b0 arch/x86/kvm/x86.c:11331
> kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1094 [inline]
> kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:4583 [inline]
> kvm_dev_ioctl+0x1508/0x1aa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4638