Return-Path: From: Jeff Moyer To: Benjamin LaHaise Cc: Linus Torvalds , security@kernel.org, linux-aio@kvack.org, linux-kernel@vger.kernel.org, Mateusz Guzik , Petr Matousek , Kent Overstreet , stable@vger.kernel.org Subject: Re: [PATCH 1/2] aio: fix aio request leak when events are reaped by userspace References: Date: Tue, 24 Jun 2014 14:20:02 -0400 In-Reply-To: (Benjamin LaHaise's message of "Tue, 24 Jun 2014 14:01:54 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: Benjamin LaHaise writes: > The aio cleanups and optimizations by kmo that were merged into the 3.10 > tree added a regression for userspace event reaping. Specifically, the > reference counts are not decremented if the event is reaped in userspace, > leading to the application being unable to submit further aio requests. > This patch applies to 3.12+. A separate backport is required for 3.10/3.11. > This issue was uncovered as part of CVE-2014-0206. > > Signed-off-by: Benjamin LaHaise Reviewed-by: Jeff Moyer