Re: [PATCH v2] cgroup: pids: fix invalid get/put usage

From: Tejun Heo
Date: Tue Aug 25 2015 - 14:20:18 EST

On Tue, Aug 25, 2015 at 12:50:44PM +1000, Aleksa Sarai wrote:
> 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).
> Signed-off-by: Aleksa Sarai <cyphar@xxxxxxxxxx>

Applied to cgroup/for-4.3 w/ minor comment update.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at