On Sat, 08 Aug 2026 11:49:34 +0530, Gokul K wrote:
> validate_dst() is passed a starting offset and a byte count, but bounds
> its loop with "i < nr_bytes", comparing the offset against the count
> rather than against offset + nr_bytes.  Only calls that pass offset 0
> check the region they were asked to check.  Every other call checks too
> few bytes, and any call whose offset is >= the count returns without
> checking anything at all.
> 
> [...]

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: selftests: Fix the bounds of the SEV debug dst buffer check
      https://github.com/kvm-x86/linux/commit/622a09f6deb5

--
https://github.com/kvm-x86/linux/tree/next

Reply via email to