Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3239037lqo; Wed, 15 May 2024 04:07:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5c9SRED+2qvi0CRFZanZPadne80VdjUdl90dMVCF1okCcEUtl9ahXxhuT6t6D/HObr+a/qjj8WpfYs+FwuvX/12CEZz1huSvL5hSF1w== X-Google-Smtp-Source: AGHT+IG2S3ItWfbgFBfO9D7r3pHpomWZfMYyfOQOeJ1NcSyj/3GiWV5jug7lX0y9gQA48NHAdtJP X-Received: by 2002:a05:6102:944:b0:47d:8f9c:f9a1 with SMTP id ada2fe7eead31-48077e9c22bmr13636429137.31.1715771244735; Wed, 15 May 2024 04:07:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715771244; cv=pass; d=google.com; s=arc-20160816; b=DO63CA7yXxZfbL/Fk1zrElDJA+GhqQFAYQcbKdHkxwm2Rlx1IxK9qKhi7oBdQZs2TY gHRZQ5GAK88hsorFS1MnWBPA+wYq8yWE20Z0nlQqK/l9tskMPlaCL6qBeGHlXeeTY0i0 ZZupRm540o337Bq3u9umgnoAa1iXejaP2/p4yh7qlUzI3Okkl7o6ELF4B8crkkr/ngoK YD9QWZr8BBuimLg3tjikaORcYa7oGEVdW4pK4fPZxorRHOwWLGUxJ1r65GWI+LqY8LTY 0Sm3P55qGCDoDhDSzhekSEygeXfiiO1953bBscQYE+Rwelr4DDnnl7rZYIMswlCVNnmD hInw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=oJr7jlg5jB3SBir4bgBQq2VpwLZZi0IXP/bcgXAIkyk=; fh=J0r++mkDFLHen1/c2iVu0K39As0zGHKnNYFBMR2vfAk=; b=I1V/ZRMgXwtIXvqGVh0rxW41Y3FCIz+qufRzEKXuAK6bS8upfZOV6pUemdaARvHRbX 7Fw77sZ/T7GwnsqA9coqzBfNoZu+kuR/WRsFl5ATDtNxxKbi46JIGb5FxMJl/7THqD7H 7fU9jaBjhlTpjocTIefXsSbEB2rxa3aY4tKJcMdRcHeM2ff+PpoNozQufJAFbOrnEjrx m0hpnj574yDdmc3d7a74rWgmcH0VvYIFvpJor5KEOFrlPnFMpI10wNXUvgkGhmGp67Js 5KG6SUyDddAsHr7gXzyn8JsgVaB1HS3QdhUuhOY8rpG9BeFDSsNnGevXKvdGmlZYbO75 VlQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=i-love.sakura.ne.jp); spf=pass (google.com: domain of linux-kernel+bounces-179786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179786-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ada2fe7eead31-48200a32e6fsi724734137.700.2024.05.15.04.07.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 04:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=i-love.sakura.ne.jp); spf=pass (google.com: domain of linux-kernel+bounces-179786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179786-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7FAC11C21F29 for ; Wed, 15 May 2024 11:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4743664DB; Wed, 15 May 2024 11:06:57 +0000 (UTC) Received: from www262.sakura.ne.jp (www262.sakura.ne.jp [202.181.97.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99E535BAFC; Wed, 15 May 2024 11:06:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.181.97.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715771217; cv=none; b=J9E1cb/aO7UR2RIuTQ3EAxRWm59oE7XMa4tUpYEvX1W9zH5NzEyNBP0A8MQioljF7+xj6hmmSTOdF9MgrWXQPnu/riogwM8VixWniqjWfc8yoi+nrgRrJN5z0pjQIMV7ADGjYSZMnzo9h+JTEtKjyUnW+QfxaDnmq2B4Ll58UtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715771217; c=relaxed/simple; bh=5whSzgE848s25eHm6MbF4welNqlW7UUI4lx7+7DRh2o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KdTxKmhNzFrvJOW34+FAJm9ARccYGpAPc04iD4uf/T+nTRjbjlQUnOukkDnfx2tzGAmiZFcWU6i8dKpLfTPoVKAqW7IGU34EqT/r3N3/FnYcY6b0icwbXw7jKUSiWvNDD8wf8HyGwL63umZPGYREeeps9apIUBC8aRltSQNv/LY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=I-love.SAKURA.ne.jp; spf=pass smtp.mailfrom=I-love.SAKURA.ne.jp; arc=none smtp.client-ip=202.181.97.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=I-love.SAKURA.ne.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=I-love.SAKURA.ne.jp Received: from fsav412.sakura.ne.jp (fsav412.sakura.ne.jp [133.242.250.111]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 44FADZci044451; Wed, 15 May 2024 19:13:35 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav412.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav412.sakura.ne.jp); Wed, 15 May 2024 19:13:35 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav412.sakura.ne.jp) Received: from [192.168.1.6] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 44FADUNw044434 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 May 2024 19:13:35 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Message-ID: <09f1879e-3d38-4d84-b73c-fd1688d07ea4@I-love.SAKURA.ne.jp> Date: Wed, 15 May 2024 19:13:30 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Linux kernel bug] INFO: task hung in blk_mq_get_tag To: Hillf Danton , Sam Sun Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, axboe@kernel.dk, syzkaller-bugs@googlegroups.com, xrivendell7@gmail.com References: <20240514103742.3137-1-hdanton@sina.com> <20240514224117.3191-1-hdanton@sina.com> Content-Language: en-US From: Tetsuo Handa In-Reply-To: <20240514224117.3191-1-hdanton@sina.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024/05/15 7:41, Hillf Danton wrote: > On Tue, 14 May 2024 20:07:34 +0800 Sam Sun >> >> I tried to run >> >> # echo 0 > /proc/sys/kernel/hung_task_all_cpu_backtrace >> >> before running the reproducer, the kernel stops panic. But still, even >> if I terminate the execution of the reproducer, kernel continues >> dumping task hung logs. After setting bung_task_all_cpu_backtrace back >> to 1, it panic immediately during next dump. So I guess it is still a >> task hung instead of general protection fault. > > Given kworker/u10:2:53 blocked for more than 143 seconds, or the subject > line, how could it trigger gpf? Since CONFIG_CMDLINE in the attached config file includes sysctl.kernel.hung_task_all_cpu_backtrace=1 , khungtaskd calls trigger_all_cpu_backtrace() when a hung task is detected. trigger_all_cpu_backtrace() is expected to be safe, but there seems a bug which is triggering a general protection fault.