From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] block: fix use-after-free in sys_ioprio_get() To: Omar Sandoval , Jens Axboe References: Cc: Dmitry Vyukov , linux-block@vger.kernel.org, kernel-team@fb.com, stable@vger.kernel.org From: Jens Axboe Message-ID: <577680B8.4020003@kernel.dk> Date: Fri, 1 Jul 2016 08:39:52 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed List-ID: On 07/01/2016 01:39 AM, Omar Sandoval wrote: > From: Omar Sandoval > > get_task_ioprio() accesses the task->io_context without holding the task > lock and thus can race with exit_io_context(), leading to a > use-after-free. The reproducer below hits this within a few seconds on > my 4-core QEMU VM: Thanks Omar, applied for this series. -- Jens Axboe