Re: [syzbot] [kvm?] KASAN: slab-use-after-free Write in kvm_gmem_release

From: syzbot
Date: Fri Oct 24 2025 - 16:10:21 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

failed to apply patch:
checking file virt/kvm/guest_memfd.c
Hunk #1 FAILED at 708.
Hunk #2 succeeded at 648 with fuzz 2 (offset -84 lines).
1 out of 2 hunks FAILED



Tested on:

commit: 2e590d67 Merge tag 'devicetree-fixes-for-6.18-2' of gi..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=67b63a24f3c26fca
dashboard link: https://syzkaller.appspot.com/bug?extid=2479e53d0db9b32ae2aa
compiler:
patch: https://syzkaller.appspot.com/x/patch.diff?x=15343b04580000