diff options
| author | Kirill Tkhai <[email protected]> | 2018-06-01 11:30:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-01 14:28:07 +0000 |
| commit | eb7f54b90bd8f469834c5e86dcf72ebf9a629811 (patch) | |
| tree | 508a9eb07e8d0720ac07f5f36b534de880a15769 /lib/bitmap.c | |
| parent | net-sysfs: Fix memory leak in XPS configuration (diff) | |
| download | kernel-eb7f54b90bd8f469834c5e86dcf72ebf9a629811.tar.gz kernel-eb7f54b90bd8f469834c5e86dcf72ebf9a629811.zip | |
kcm: Fix use-after-free caused by clonned sockets
(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: [email protected]
Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
