[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160814.213315.1476217194881057932.davem@davemloft.net>
Date: Sun, 14 Aug 2016 21:33:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vincent.stehle@...oste.net
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
jiri@...lanox.com
Subject: Re: [PATCH] mlxsw: spectrum_router: Fix use after free
From: Vincent Stehlé <vincent.stehle@...oste.net>
Date: Sun, 14 Aug 2016 15:38:29 +0200
> 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>
Applied.
Powered by blists - more mailing lists