From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail115-63.sinamail.sina.com.cn (mail115-63.sinamail.sina.com.cn [218.30.115.63]) (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 209F11E4113 for ; Wed, 30 Oct 2024 10:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.63 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730285946; cv=none; b=XZhjIl+GKBCeNmD2mDDk1AF4P3/pzKxIeNsa58j8f7EHeFu8W+T6wyit85ZyJhShgrkfqcwI3GPJMhsdIAk1Uufak5EsjrgbK3iaCbqIVAOwKo1K3lNtvRjAU31D5nNXl+hhoSBqdr2WVG9y/27XQ4Gu2uw2cmx9qw/ym4S2EIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730285946; c=relaxed/simple; bh=qwousLz4gtVaVB/ltIftQWHhUEQ7sSTHXP0urXXShIQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dA5KXkthfVI9q+7nNeI6AAKwXVzxQqJlEn2L9Qz1qqZCOKcU5RI7jqUgLDvGCzmEPIfCVTCnvGT1hwMaRwnjmzQ7PRfclvDloBC1vhuRSyXG5OhC3dFHTNgmpzYzxXeGRQMIIYbtJpBE1Z76ObX62VswGXb8oS65oJcQBjQqOoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=218.30.115.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([113.118.66.137]) by sina.com (10.185.250.22) with ESMTP id 6722116700004DE5; Wed, 30 Oct 2024 18:58:52 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 125247602654 X-SMAIL-UIID: F0D0C9360ECA4881BB85015C380F264C-20241030-185852-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [kernfs?] INFO: task hung in do_coredump (3) Date: Wed, 30 Oct 2024 18:58:39 +0800 Message-Id: <20241030105839.2547-1-hdanton@sina.com> In-Reply-To: <67200ed8.050a0220.11b624.04b5.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Mon, 28 Oct 2024 15:23:20 -0700 > syzbot has found a reproducer for the following issue on: > > HEAD commit: 819837584309 Linux 6.12-rc5 > git tree: upstream > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=171b4687980000 #syz test upstream master --- x/fs/coredump.c +++ y/fs/coredump.c @@ -416,7 +416,7 @@ static int coredump_wait(int exit_code, struct core_thread *ptr; wait_for_completion_state(&core_state->startup, - TASK_UNINTERRUPTIBLE|TASK_FREEZABLE); + TASK_IDLE|TASK_FREEZABLE); /* * Wait for all the threads to become inactive, so that * all the thread context (extended register state, like --