Re: [PATCH v2] KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Apr 2023 13:16:13 +0300, Dan Carpenter wrote:
> The KVM_REG_SIZE() comes from the ioctl and it can be a power of two
> between 0-32768 but if it is more than sizeof(long) this will corrupt
> memory.
> 
> 

Applied to kvmarm/fixes, thanks!

[1/1] KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
      https://git.kernel.org/kvmarm/kvmarm/c/a25bc8486f9c

--
Best,
Oliver



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux