diff options
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | 2016-04-18 14:37:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-19 20:09:25 -0400 |
commit | 2309236c13feae619572324efd3e910e66ef6bd0 (patch) | |
tree | f3d9a2a3469383ce8a93fb1e5fb9f1b487b55dd7 /net/vmw_vsock | |
parent | 851b10d60879539bec8acecb35ed361393399282 (diff) | |
download | op-kernel-dev-2309236c13feae619572324efd3e910e66ef6bd0.zip op-kernel-dev-2309236c13feae619572324efd3e910e66ef6bd0.tar.gz |
cls_cgroup: get sk_classid only from full sockets
skb->sk could point to timewait or request socket which has no sk_classid.
Detected as "BUG: KASAN: slab-out-of-bounds in cls_cgroup_classify".
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions