[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170308224719.GA21117@htj.duckdns.org>
Date: Wed, 8 Mar 2017 17:47:19 -0500
From: Tejun Heo <tj@...nel.org>
To: Elena Reshetova <elena.reshetova@...el.com>
Cc: linux-kernel@...r.kernel.org, cgroups@...r.kernel.org,
Hans Liljestrand <ishkamiel@...il.com>,
Kees Cook <keescook@...omium.org>,
David Windsor <dwindsor@...il.com>
Subject: Re: [PATCH] kernel: convert css_set.refcount from atomic_t to
refcount_t
On Wed, Mar 08, 2017 at 10:00:40AM +0200, Elena Reshetova wrote:
> refcount_t type and corresponding API should be
> used instead of atomic_t when the variable is used as
> a reference counter. This allows to avoid accidental
> refcounter overflows that might lead to use-after-free
> situations.
>
> Signed-off-by: Elena Reshetova <elena.reshetova@...el.com>
> Signed-off-by: Hans Liljestrand <ishkamiel@...il.com>
> Signed-off-by: Kees Cook <keescook@...omium.org>
> Signed-off-by: David Windsor <dwindsor@...il.com>
Applied to cgroup/for-4.12.
Thanks.
--
tejun
Powered by blists - more mailing lists