Files
linux/net/tipc
Xin Long 7b7e51ff35 tipc: check link name with right length in tipc_nl_compat_link_set
commit 8c63bf9ab4 upstream.

A similar issue as fixed by Patch "tipc: check bearer name with right
length in tipc_nl_compat_bearer_enable" was also found by syzbot in
tipc_nl_compat_link_set().

The length to check with should be 'TLV_GET_DATA_LEN(msg->req) -
offsetof(struct tipc_link_config, name)'.

Reported-by: syzbot+de00a87b8644a582ae79@syzkaller.appspotmail.com
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-02 09:32:04 +02:00
..
2015-05-14 12:24:45 -04:00
2016-12-02 14:03:20 -05:00
2016-06-15 14:06:28 -07:00
2016-06-15 14:06:28 -07:00
2015-03-05 22:08:42 -05:00
2016-07-26 14:26:42 -07:00
2017-06-17 06:41:49 +02:00
2016-08-18 23:36:07 -07:00
2018-03-24 11:00:14 +01:00