From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933218AbbFIVcW (ORCPT ); Tue, 9 Jun 2015 17:32:22 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:33100 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753565AbbFIVcP (ORCPT ); Tue, 9 Jun 2015 17:32:15 -0400 Message-ID: <55775B5D.9010507@kernel.dk> Date: Tue, 09 Jun 2015 15:32:13 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Ming Lei CC: Christoph Hellwig , NeilBrown , Stefan Seyfried , Linux Kernel Mailing List Subject: Re: [PATCH v1] blk-mq: free hctx->ctxs in queue's release handler References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/09/2015 03:28 AM, Ming Lei wrote: > Hi Jens, > > Could you consider this patch for v4.1? > > http://marc.info/?l=linux-kernel&m=143342792910832&w=2 > > The issue is one obvious use-after-free and can be reproduced easily > via 'sudo modprobe loop;sleep 1;sudo rmmod loop' on linus tree: > > http://kernel.ubuntu.com/~ming/block/bug/4.1-rc7-blk-mq-oops.txt I'll pull it in, thanks. -- Jens Axboe