diff options
author | Xin Long | 2019-03-31 16:50:09 +0200 |
---|---|---|
committer | David S. Miller | 2019-04-01 01:45:57 +0200 |
commit | 8c63bf9ab4be8b83bd8c34aacfd2f1d2c8901c8a (patch) | |
tree | 8904600a024d55772611363c2d7def30bbeaa612 /net/tipc/name_distr.c | |
parent | tipc: check bearer name with right length in tipc_nl_compat_bearer_enable (diff) | |
download | kernel-qcow2-linux-8c63bf9ab4be8b83bd8c34aacfd2f1d2c8901c8a.tar.gz kernel-qcow2-linux-8c63bf9ab4be8b83bd8c34aacfd2f1d2c8901c8a.tar.xz kernel-qcow2-linux-8c63bf9ab4be8b83bd8c34aacfd2f1d2c8901c8a.zip |
tipc: check link name with right length in tipc_nl_compat_link_set
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>
Diffstat (limited to 'net/tipc/name_distr.c')
0 files changed, 0 insertions, 0 deletions