Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753481AbbFIJ2x (ORCPT ); Tue, 9 Jun 2015 05:28:53 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:34134 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbbFIJ2p (ORCPT ); Tue, 9 Jun 2015 05:28:45 -0400 MIME-Version: 1.0 Date: Tue, 9 Jun 2015 17:28:44 +0800 Message-ID: Subject: Re: [PATCH v1] blk-mq: free hctx->ctxs in queue's release handler From: Ming Lei To: Jens Axboe Cc: Christoph Hellwig , NeilBrown , Stefan Seyfried , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 581 Lines: 19 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 Thanks, Ming Lei -- 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/