Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213220

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

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] cgroup: pids: fix invalid get/put usage
Date 2015-08-25 20:30 +0200
Message-ID <q1r8R-68b-3@gated-at.bofh.it> (permalink)
References <q1cCR-21v-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@cyphar.com>

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

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] cgroup: pids: fix invalid get/put usage Aleksa Sarai <cyphar@cyphar.com> - 2015-08-25 05:00 +0200
  Re: [PATCH v2] cgroup: pids: fix invalid get/put usage Tejun Heo <tj@kernel.org> - 2015-08-25 20:30 +0200

csiph-web