Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1462546
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mlxsw: spectrum_router: Fix use after free |
| Date | 2016-08-15 06:40 +0200 |
| Message-ID | <s6hQS-OZ-13@gated-at.bofh.it> (permalink) |
| References | <s63XA-jN-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Vincent Stehlé <vincent.stehle@laposte.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@laposte.net>
> Cc: Jiri Pirko <jiri@mellanox.com>
Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mlxsw: spectrum_router: Fix use after free Vincent Stehlé <vincent.stehle@laposte.net> - 2016-08-14 15:50 +0200 Re: [PATCH] mlxsw: spectrum_router: Fix use after free Ido Schimmel <idosch@idosch.org> - 2016-08-14 18:00 +0200 Re: [PATCH] mlxsw: spectrum_router: Fix use after free David Miller <davem@davemloft.net> - 2016-08-15 06:40 +0200
csiph-web