On Fri, 20 Feb 2026 23:54:34 +0000, Ackerley Tng wrote:
> syzkaller identified that khugepaged, operating on guest_memfd memory,
> could cause guest_memfd folios to get collapsed, leading to a WARNing
> during fault [1].
>
> Add selftest to guard against similar regressions.
>
> Changes in v2:
>
> [...]
Applied to kvm-x86 selftests, thanks!
[1/2] KVM: selftests: Wrap madvise() to assert success
https://github.com/kvm-x86/linux/commit/58f5d8eebd5c
[2/2] KVM: selftests: Test MADV_COLLAPSE on guest_memfd
https://github.com/kvm-x86/linux/commit/9830209b4ae8
--
https://github.com/kvm-x86/linux/tree/next