commit | 9b42d55a66d388e4dd5550107df051a9637564fc | [log] [tgz] |
---|---|---|
author | Li RongQing <lirongqing@baidu.com> | Fri Jan 26 16:40:41 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 29 17:56:23 2018 -0500 |
tree | 685bd712d0a69e853828cb0c0331577c3c7e5df0 | |
parent | 30e948a37839c633d18f6c4cf8a212912ba9449c [diff] |
tcp: release sk_frag.page in tcp_disconnect 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>