diff options
author | Aleksa Sarai <cyphar@cyphar.com> | 2015-08-25 12:50:44 +1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-08-25 14:19:25 -0400 |
commit | ce52399520e4b97466165737e00c7b528ae8c8f5 (patch) | |
tree | 3b81c86ac3758e9c35794b76a62b7965c3074750 /init | |
parent | cf780b7dc795ff495629b9879dc874eda49ada62 (diff) |
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 'init')
0 files changed, 0 insertions, 0 deletions