Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752255AbbGVTbd (ORCPT ); Wed, 22 Jul 2015 15:31:33 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:28797 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750753AbbGVTbb (ORCPT ); Wed, 22 Jul 2015 15:31:31 -0400 Message-ID: <55AFEF56.9090001@fb.com> Date: Wed, 22 Jul 2015 13:30:30 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Mike Krinkin , CC: Subject: Re: [PATCH] null_blk: fix use-after-free problem References: <1437288797-9131-1-git-send-email-krinkin.m.u@gmail.com> In-Reply-To: <1437288797-9131-1-git-send-email-krinkin.m.u@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.52.123] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-07-22_06:2015-07-22,2015-07-22,1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 559 Lines: 18 On 07/19/2015 12:53 AM, Mike Krinkin wrote: > end_cmd finishes request associated with nullb_cmd struct, so we > should save pointer to request_queue in a local variable before > calling end_cmd. > > The problem was causes general protection fault with slab poisoning > enabled. Thanks, applied. -- Jens Axboe -- 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/