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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0b028e3d-d363-05cd-3dc3-8ccc5704ae1c@redhat.com>
Date:   Thu, 8 Jul 2021 18:58:53 +0200
From:   Paolo Bonzini <pbonzini@...hat.com>
To:     Jing Zhang <jingzhangos@...gle.com>,
        Pavel Skripkin <paskripkin@...il.com>
Cc:     KVM <kvm@...r.kernel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH next] kvm: debugfs: fix memory leak in
 kvm_create_vm_debugfs

On 01/07/21 23:24, Jing Zhang wrote:
> In commit bc9e9e672df9 ("KVM: debugfs: Reuse binary stats descriptors")
> loop for filling debugfs_stat_data was copy-pasted 2 times, but
> in the second loop pointers are saved over pointers allocated
> in the first loop. It causes memory leak. Fix it.
> 
> Fixes: bc9e9e672df9 ("KVM: debugfs: Reuse binary stats descriptors")
> Signed-off-by: Pavel Skripkin<paskripkin@...il.com>
> ---

Queued, thanks.

Paolo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ