From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07E12C76191 for ; Sat, 27 Jul 2019 02:16:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D816F2083B for ; Sat, 27 Jul 2019 02:16:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727934AbfG0CQE (ORCPT ); Fri, 26 Jul 2019 22:16:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51300 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727908AbfG0CQD (ORCPT ); Fri, 26 Jul 2019 22:16:03 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 69EEF8553D; Sat, 27 Jul 2019 02:16:03 +0000 (UTC) Received: from ming.t460p (ovpn-8-20.pek2.redhat.com [10.72.8.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 87B8F600C0; Sat, 27 Jul 2019 02:15:48 +0000 (UTC) Date: Sat, 27 Jul 2019 10:15:44 +0800 From: Ming Lei To: kernel test robot Cc: Jens Axboe , linux-block@vger.kernel.org, "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, "Ewan D . Milne" , Bart Van Assche , Hannes Reinecke , Christoph Hellwig , Mike Snitzer , dm-devel@redhat.com, stable@vger.kernel.org, lkp@01.org Subject: Re: [scsi] ae86a1c553: BUG:kernel_NULL_pointer_dereference,address Message-ID: <20190727021523.GB6926@ming.t460p> References: <20190720030637.14447-3-ming.lei@redhat.com> <20190725104629.GC3640@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190725104629.GC3640@shao2-debian> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Sat, 27 Jul 2019 02:16:03 +0000 (UTC) Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi, Thanks for your report! On Thu, Jul 25, 2019 at 06:46:29PM +0800, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-7): > > commit: ae86a1c5530b52dc44a280e78feb0c4eb2dd8595 ("[PATCH V2 2/2] scsi: implement .cleanup_rq callback") > url: https://github.com/0day-ci/linux/commits/Ming-Lei/blk-mq-add-callback-of-cleanup_rq/20190720-133431 > > > in testcase: blktests > with following parameters: > > disk: 1SSD > test: block-group1 > > > > on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > > +---------------------------------------------------------------------------------------------------------------+------------+------------+ > | | bd222ca85f | ae86a1c553 | > +---------------------------------------------------------------------------------------------------------------+------------+------------+ > | boot_successes | 0 | 0 | > | boot_failures | 11 | 14 | > | BUG:kernel_reboot-without-warning_in_test_stage | 11 | 1 | > | BUG:kernel_NULL_pointer_dereference,address | 0 | 4 | > | Oops:#[##] | 0 | 4 | > | RIP:scsi_queue_rq | 0 | 4 | > | Kernel_panic-not_syncing:Fatal_exception | 0 | 4 | > | invoked_oom-killer:gfp_mask=0x | 0 | 9 | > | Mem-Info | 0 | 9 | > | page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_RETRY_MAYFAIL),nodemask=(null),cpuset=/,mems_allowed= | 0 | 2 | > +---------------------------------------------------------------------------------------------------------------+------------+------------+ > > > If you fix the issue, kindly add following tag > Reported-by: kernel test robot > > > [ 140.974865] BUG: kernel NULL pointer dereference, address: 000000000000001c Yeah, I know this issue, and it has been fixed in either V3 or V4. Thanks, Ming