[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160814154953.GA31698@splinter>
Date: Sun, 14 Aug 2016 18:49:53 +0300
From: Ido Schimmel <idosch@...sch.org>
To: Vincent Stehlé <vincent.stehle@...oste.net>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiri Pirko <jiri@...lanox.com>
Subject: Re: [PATCH] mlxsw: spectrum_router: Fix use after free
On Sun, Aug 14, 2016 at 03:38:29PM +0200, Vincent Stehlé wrote:
> In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used
> after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary
> variable to fix this.
>
> Fixes: 61c503f976b5449e ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops")
> Signed-off-by: Vincent Stehlé <vincent.stehle@...oste.net>
> Cc: Jiri Pirko <jiri@...lanox.com>
Acked-by: Ido Schimmel <idosch@...lanox.com>
Thank you.
Powered by blists - more mailing lists