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: <20161214123931.GB2643@stefanha-x1.localdomain>
Date:   Wed, 14 Dec 2016 12:39:31 +0000
From:   Stefan Hajnoczi <stefanha@...hat.com>
To:     Gao feng <omarapazanadi@...il.com>
Cc:     kvm@...r.kernel.org, netdev@...r.kernel.org, mst@...hat.com
Subject: Re: [PATCH] vsock: lookup and setup guest_cid inside vhost_vsock_lock

On Wed, Dec 14, 2016 at 07:24:36PM +0800, Gao feng wrote:
> Multi vsocks may setup the same cid at the same time.
> 
> Signed-off-by: Gao feng <omarapazanadi@...il.com>
> ---
>  drivers/vhost/vsock.c | 25 +++++++++++++++++--------
>  1 file changed, 17 insertions(+), 8 deletions(-)

Good catch, a classic time-of-check-to-time-of-use race condition.

Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>

Download attachment "signature.asc" of type "application/pgp-signature" (456 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ