diff options
author | Li RongQing <lirongqing@baidu.com> | 2018-01-26 16:40:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 20:09:38 +0100 |
commit | 117991ed14861122ea87133d0ea5881e6e3403ed (patch) | |
tree | 5ce8cfb2e8d7c79973f8a779d4df4c678b3b6663 /drivers/vhost | |
parent | 9a0ef3cc115962b73564615c8d70922f6f673d2a (diff) |
tcp: release sk_frag.page in tcp_disconnect
[ Upstream commit 9b42d55a66d388e4dd5550107df051a9637564fc ]
socket can be disconnected and gets transformed back to a listening
socket, if sk_frag.page is not released, which will be cloned into
a new socket by sk_clone_lock, but the reference count of this page
is increased, lead to a use after free or double free issue
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions