diff options
author | Thomas Graf <tgraf@suug.ch> | 2016-10-20 00:16:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-20 18:17:55 +0300 |
commit | c5098ebbd6605e7ba1fd1dbfe4c1297ac2ab7362 (patch) | |
tree | c31dc181cfc25f036f419ea51a9a806607102e29 /drivers/net | |
parent | 7b1536ef0aa0392da7c90cede82e5eacc0f25da3 (diff) | |
download | linux-c5098ebbd6605e7ba1fd1dbfe4c1297ac2ab7362.tar.xz |
ila: Fix tailroom allocation of lwtstate
Tailroom is supposed to be of length sizeof(struct ila_lwt) but
sizeof(struct ila_params) is currently allocated.
This leads to the dst_cache and connected member of ila_lwt being
referenced out of bounds.
struct ila_lwt {
struct ila_params p;
struct dst_cache dst_cache;
u32 connected : 1;
};
Fixes: 65d7ab8de582 ("net: Identifier Locator Addressing module")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions