summaryrefslogtreecommitdiff
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorAleksa Sarai <cyphar@cyphar.com>2015-08-25 02:50:44 (GMT)
committerTejun Heo <tj@kernel.org>2015-08-25 18:19:25 (GMT)
commitce52399520e4b97466165737e00c7b528ae8c8f5 (patch)
tree3b81c86ac3758e9c35794b76a62b7965c3074750 /kernel/cgroup.c
parentcf780b7dc795ff495629b9879dc874eda49ada62 (diff)
downloadlinux-ce52399520e4b97466165737e00c7b528ae8c8f5.tar.xz
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/cgroup.c')
0 files changed, 0 insertions, 0 deletions