Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1620082pxb; Mon, 13 Sep 2021 01:31:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIH8kIQ3r/Kz/1aanWT50zHQXbSilzup9a2aO8k60I5CyhB0salGAMbSNB7ENDoPP16hoz X-Received: by 2002:a92:b705:: with SMTP id k5mr4326048ili.224.1631521910794; Mon, 13 Sep 2021 01:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631521910; cv=none; d=google.com; s=arc-20160816; b=dDNVHYrsL30zufpUttsfwdYkSuY0W47ZjiVD2LZ791qIElmNaIEq5Qnm7d8PpEwKS5 4BFknEqmjaK/X/zIUvI8l6eL77Y+cWbQ2a16SnIvsIeLzm4ju2k+S0gFLuBvd4mud/S7 KZ4I0zrocHAagIyqiR4GnuBxKKTN5HRrlx46Lr+s7ChpGM/65ehw0mNpxKg0pcPRN4vC 9Hnl1Lk84Qx8C+U+d+kDtLpN1/HO8YBEW5zAestY0HgrQgP5Kao9bk9ZZETLKjXiQXHz li0wKojGes0YeulLPXB63SykIGIeFTQrNJ0hQ+UxYmdFDRPxZqF/sMHNdiFfeDJyNp+8 K0mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=S04yNFgZ4hxBAhctv/zD4ywMbFHZufB8ODvyMoyYBUs=; b=DcOlsuC/YvqkIJMwXCqbfZ/gDGiLN5IfRo8du34pBqxGYM8ViQAicKnb8Aj/8UZFLB bGgyR15fTbgf0aTAVqwCTewezw8vDQgrYDoqy1vQzNMDBo7cVBMSfjK5UBpnxorZbIr7 0+54DtIwR8r5X7lUCPVxGKc774kRIymWVrtfink5RFVswIC1V+uHm5YuiLb/t7ySw+ia Lman+Qwa86m2hvX7JJQgqxazylm8wv3UDQ3g1KsHFOl464Rtz6J/9xx3Gc/MxcZxtrgU 5fk4ujmFgp0dA30m8mLJcIpSCWvnodDkuk9Gv9qirFvM9zonxQVqCx7mtKEnQ6P5MfkH FABg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SSfu2QX7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si4757408ilm.87.2021.09.13.01.31.38; Mon, 13 Sep 2021 01:31:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SSfu2QX7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237996AbhIMIcE (ORCPT + 99 others); Mon, 13 Sep 2021 04:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237811AbhIMIcC (ORCPT ); Mon, 13 Sep 2021 04:32:02 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 059C2C061760; Mon, 13 Sep 2021 01:30:47 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id t19so19197086ejr.8; Mon, 13 Sep 2021 01:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=S04yNFgZ4hxBAhctv/zD4ywMbFHZufB8ODvyMoyYBUs=; b=SSfu2QX7uPQFkLNNvYenowTcZkH/mds0SwrzE25hxOI6RojTHP0gx3m/GVFRvGn/cx a2yA4FoBB6tnGr1r9LbSSsEw1sbThjaQb1qWDlSc8pzFLd0wwgip3Mo2QS5orTdo+UD/ H1IEZ6qFBNRbuI4+UW/ByscyoBNB8lHEFdJhfeL6fbzfhT0ftdYMv0HObUwTy+ZXDp+g xl4Mh9F/w3BU1M5syOPgl/nt87pjnsnfM3jHgBntJXq9cQSU8UnPOILpMuhhC52B1Sfx E2MdtCBiToOFF2PigOH8xZZcWahokDJI/5TNMSFZyNFQOUwc+LnIpmojzl8xZbXIhfua ipcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=S04yNFgZ4hxBAhctv/zD4ywMbFHZufB8ODvyMoyYBUs=; b=L4m9Iiuz1o7tv7ykKY86pccVypF97zWEDrYMf8xls+sdnfSnxf4tZq8sO1JEgfOK96 TJYcaVsNYjeS8zB0ESbgnvH6EJW2wbIT6n8RMTn3UwxWTu+EjbtCMvwKFtNulkcBckdB tDX7j3gpKVsZ/HKzpPdliYU+J57LxPaXdtMEHtrSjs5DrMWxXEB9DHJJKJZXhqLWbIpr K/ZM9ETYimTHkEMi9/O9Ib4sHb6VfBbO+dlPWIzRQyBSC5Dwq5lpOs3KIFhDJUmiq09A qqjJM+xRJOPhbtv3hdFPQL4dio3gOxVwPAf+6fWcAl4aA71gGqOp0OhPeL02sA2Tv3nH WugA== X-Gm-Message-State: AOAM5303ivpHkvoqmYouloMeiC0p19nC0dMl7ovBsFZLV7ykj6lkkcod xUSvCBciOVhFbjkjPlBM1D8wbtsg5dc= X-Received: by 2002:a17:906:1d41:: with SMTP id o1mr11671160ejh.232.1631521845117; Mon, 13 Sep 2021 01:30:45 -0700 (PDT) Received: from [192.168.8.197] ([85.255.232.220]) by smtp.gmail.com with ESMTPSA id t14sm3115615ejf.24.2021.09.13.01.30.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Sep 2021 01:30:44 -0700 (PDT) Subject: Re: INFO: task hung in io_uring_cancel_generic To: Hao Sun , Jens Axboe Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Pavel Begunkov Message-ID: <7faa04f8-cd98-7d8a-2e54-e84e1fe742f7@gmail.com> Date: Mon, 13 Sep 2021 09:30:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/13/21 3:26 AM, Hao Sun wrote: > Hi > > Healer found a C reproducer for this crash ("INFO: task hung in > io_ring_exit_work"). > > HEAD commit: 4b93c544e90e-thunderbolt: test: split up test cases > git tree: upstream > console output: > https://drive.google.com/file/d/1NswMU2yMRTc8-EqbZcVvcJejV92cuZIk/view?usp=sharing > kernel config: https://drive.google.com/file/d/1c0u2EeRDhRO-ZCxr9MP2VvAtJd6kfg-p/view?usp=sharing > C reproducer: https://drive.google.com/file/d/170wk5_T8mYDaAtDcrdVi2UU9_dW1894s/view?usp=sharing > Syzlang reproducer: > https://drive.google.com/file/d/1eo-jAS9lncm4i-1kaCBkexrjpQHXboBq/view?usp=sharing > > If you fix this issue, please add the following tag to the commit: > Reported-by: Hao Sun I don't see the repro using io_uring at all. Can it be because of the delay before the warning shows itself? 120 secs, this appeared after 143. [...] -- Pavel Begunkov