[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210416103724.f3unhyu72pbp2qr3@liuwe-devbox-debian-v2>
Date: Fri, 16 Apr 2021 10:37:24 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Andrea Parri <parri.andrea@...il.com>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Dexuan Cui <decui@...rosoft.com>, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] Drivers: hv: vmbus: Use after free in __vmbus_open()
On Tue, Apr 13, 2021 at 05:42:21PM +0200, Andrea Parri wrote:
> On Tue, Apr 13, 2021 at 01:50:04PM +0300, Dan Carpenter wrote:
> > The "open_info" variable is added to the &vmbus_connection.chn_msg_list,
> > but the error handling frees "open_info" without removing it from the
> > list. This will result in a use after free. First remove it from the
> > list, and then free it.
> >
> > Fixes: 6f3d791f3006 ("Drivers: hv: vmbus: Fix rescind handling issues")
> > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
>
> I had this 'queued' in my list,
>
> Reviewed-by: Andrea Parri <parri.andrea@...il.com>
Applied. Thanks.
Powered by blists - more mailing lists