diff options
author | Eric Dumazet <edumazet@google.com> | 2015-12-09 16:25:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-12 02:18:40 +0100 |
commit | 9470e24f35ab81574da54e69df90c1eb4a96b43f (patch) | |
tree | f1ddb2ca0d9eb735f1fb9dbafc238b0d8f83b543 /drivers | |
parent | xfrm: add rcu protection to sk->sk_policy[] (diff) | |
download | linux-9470e24f35ab81574da54e69df90c1eb4a96b43f.tar.xz linux-9470e24f35ab81574da54e69df90c1eb4a96b43f.zip |
ipv6: sctp: clone options to avoid use after free
SCTP is lacking proper np->opt cloning at accept() time.
TCP and DCCP use ipv6_dup_options() helper, do the same
in SCTP.
We might later factorize this code in a common helper to avoid
future mistakes.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions