[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141218.123853.1096129541746976478.davem@davemloft.net>
Date: Thu, 18 Dec 2014 12:38:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jesse@...ira.com
Cc: netdev@...r.kernel.org, azhou@...ira.com
Subject: Re: [PATCH net 2/2] geneve: Fix races between socket add and
release.
From: Jesse Gross <jesse@...ira.com>
Date: Tue, 16 Dec 2014 18:25:32 -0800
> Currently, searching for a socket to add a reference to is not
> synchronized with deletion of sockets. This can result in use
> after free if there is another operation that is removing a
> socket at the same time. Solving this requires both holding the
> appropriate lock and checking the refcount to ensure that it
> has not already hit zero.
>
> Inspired by a related (but not exactly the same) issue in the
> VXLAN driver.
>
> Fixes: 0b5e8b8e ("net: Add Geneve tunneling protocol driver")
> CC: Andy Zhou <azhou@...ira.com>
> Signed-off-by: Jesse Gross <jesse@...ira.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists