Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755953AbbHYSUM (ORCPT ); Tue, 25 Aug 2015 14:20:12 -0400 Received: from mail-yk0-f175.google.com ([209.85.160.175]:36643 "EHLO mail-yk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751865AbbHYSUK (ORCPT ); Tue, 25 Aug 2015 14:20:10 -0400 Date: Tue, 25 Aug 2015 14:20:07 -0400 From: Tejun Heo To: Aleksa Sarai Cc: n.borisov@siteground.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v2] cgroup: pids: fix invalid get/put usage Message-ID: <20150825182007.GC26785@mtj.duckdns.org> References: <1440471044-10154-1-git-send-email-cyphar@cyphar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440471044-10154-1-git-send-email-cyphar@cyphar.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 667 Lines: 19 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 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/