lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <033dc666-2158-473d-8ce0-a1f172a77a0c@oracle.com>
Date: Wed, 12 Jun 2024 12:21:29 +0000
From: Liam Merwick <liam.merwick@...cle.com>
To: Paolo Bonzini <pbonzini@...hat.com>,
        "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>,
        "kvm@...r.kernel.org" <kvm@...r.kernel.org>
CC: "stable@...r.kernel.org" <stable@...r.kernel.org>,
        Liam Merwick
	<liam.merwick@...cle.com>
Subject: Re: [PATCH v2] virt: guest_memfd: fix reference leak on hwpoisoned
 page

On 11/06/2024 11:25, Paolo Bonzini wrote:
> If __kvm_gmem_get_pfn() detects an hwpoisoned page, it returns -EHWPOISON
> but it does not put back the reference that kvm_gmem_get_folio() had
> grabbed.  Add the forgotten folio_put().
> 
> Fixes: a7800aa80ea4 ("KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory")
> Cc: stable@...r.kernel.org
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>


Reviewed-by: Liam Merwick <liam.merwick@...cle.com>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ