summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorAleksa Sarai2015-08-25 04:50:44 +0200
committerTejun Heo2015-08-25 20:19:25 +0200
commitce52399520e4b97466165737e00c7b528ae8c8f5 (patch)
tree3b81c86ac3758e9c35794b76a62b7965c3074750 /kernel/fork.c
parentcgroup: fix idr_preload usage (diff)
downloadkernel-qcow2-linux-ce52399520e4b97466165737e00c7b528ae8c8f5.tar.gz
kernel-qcow2-linux-ce52399520e4b97466165737e00c7b528ae8c8f5.tar.xz
kernel-qcow2-linux-ce52399520e4b97466165737e00c7b528ae8c8f5.zip
cgroup: pids: fix invalid get/put usage
Fix incorrect usage of css_get and css_put to put a different css in pids_{cancel_,}attach() than the one grabbed in pids_can_attach(). This could lead to quite serious memory leakage (and unsafe operations on the putted css). tj: minor comment update Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions