Re: [PATCH v2 0/3] KVM: Fix guest_memfd binding overlap errno and selftest
From: Sean Christopherson
Date: Wed May 27 2026 - 14:12:34 EST
On Fri, 22 May 2026 10:21:48 -0700, Sean Christopherson wrote:
> Fix a goof where KVM rejects guest_memfd bindings that overlap an existing
> binding with EINVAL instead of the intended EEXIST, and then add that specific
> scenario to testcase that's supposed to verify overlap checks.
>
> v2:
> - Collect Ackerley's reviews.
> - Keep the GPA overlap testcases (because why not). [Sean]
> - Add a patch to remove superfluous %s formatting. [Ackerley]
>
> [...]
Applied to kvm-x86 gmem, thanks!
[1/3] KVM: guest_memfd: Return -EEXIST for overlapping bindings
https://github.com/kvm-x86/linux/commit/7ea987a90585
[2/3] KVM: selftests: Test guest_memfd binding overlap without GPA overlap
https://github.com/kvm-x86/linux/commit/772989854acd
[3/3] KVM: selftests: Remove unnecessary "%s" formatting of a constant string
https://github.com/kvm-x86/linux/commit/b0e476eb755e
--
https://github.com/kvm-x86/linux/tree/next