diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-06-01 14:30:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-13 16:16:42 +0200 |
commit | 0ae3ff2e4317be219575f48fd4b118b5b39b7a5e (patch) | |
tree | 00fa538ef4be31be2b922add8809fb22a8864df8 /Documentation/networking | |
parent | f698b28afc3402c4020e6574e735f7d3857048ce (diff) |
kcm: Fix use-after-free caused by clonned sockets
[ Upstream commit eb7f54b90bd8f469834c5e86dcf72ebf9a629811 ]
(resend for properly queueing in patchwork)
kcm_clone() creates kernel socket, which does not take net counter.
Thus, the net may die before the socket is completely destructed,
i.e. kcm_exit_net() is executed before kcm_done().
Reported-by: syzbot+5f1a04e374a635efc426@syzkaller.appspotmail.com
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions