Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp132184rdb; Wed, 21 Feb 2024 20:58:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXyR2H8SA+PAXRQ+Jg0YjfSaapQhvAabeDidrNv61k2vaYAREKOaJ3RKuOeKHotkilnw5MYkaLSmx5ZGXTRPaloWpQq43W/Vmc9cxmfZw== X-Google-Smtp-Source: AGHT+IHf++IfovKLFfy+DReX7e81aYT0vsxC3m44LIIYlRFCvljHYY2HAoSfCQt2+3gEJHITebtK X-Received: by 2002:a17:90a:72c6:b0:299:4fa7:71e5 with SMTP id l6-20020a17090a72c600b002994fa771e5mr11722236pjk.8.1708577928538; Wed, 21 Feb 2024 20:58:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708577928; cv=pass; d=google.com; s=arc-20160816; b=SIIOt7rpMtA8+VtHDoS+Rs9WQQKVKuRoRbYqLSAOv7jhrETh9LuBxEnymk+NAGeMQ+ rp99cBfrXnba1W/B++kz3fMfXH8r60DIUeYPzjzheTELV10bJLr2wiuUi2JA87EbGJLy EuLlffklbZqFIu0YzpQVLfvIlClSCFXddZWupCa/VqkJSt2nGlHF31Qb/GdMhS8vIC8S V3FWrusA6UW8ZDM4c1f9v6m4MEBuMJDQAhG9AiZaECScj1F/gFch8lkIIYpc/CEWZ8HW XCDH8GlbLdrBrW5yhCu34hbAs6MayKsZdaim6m19rDt0Tscc7wVXaoYam21JREJgWoLO PciQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=TXdGdXeWHRjxucB3C4kYBwMtmL5d78W/YFEuJPsNaLQ=; fh=LEnrXDlxlJe4042xR0wwZ9pTuQpXH19IZXUj18VPRT0=; b=07s9StpaxQH/fyCMG63g9+cxMBtugMqZhqYKMfjeMYaMABEhI/eBbJ4eYReGck3wZQ xYXcTjDpS+4iS3S5PGk/8k5ggOKW2giU/1GwC/asD4JEpyoSXrVQe57cbQl/SImejedy O4YXjkShz7uz/SNjfpat2auxvJ5yHogi5L67D/U+/YbNFuPbHuaEk+kwFhWPNRvC1OwZ 7sCKHYDJOG4RDIwMdj83Lpj0KzwhqFEMhzLBGO5TznTSVLin+SGJzSLTxappUS8tL49e tEsaq24uT10NolRwhsxWy2xibOB6bYpBOKOgxW0vp/t7CvrxFygmb/NsoLgJo9uYIo/H Vl3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-75917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75917-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id nl13-20020a17090b384d00b0029927c58570si9883236pjb.12.2024.02.21.20.58.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 20:58:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-75917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75917-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2C912284C30 for ; Thu, 22 Feb 2024 04:58:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45F8B4C8A; Thu, 22 Feb 2024 04:58:43 +0000 (UTC) Received: from mail115-95.sinamail.sina.com.cn (mail115-95.sinamail.sina.com.cn [218.30.115.95]) (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 3828E7462 for ; Thu, 22 Feb 2024 04:58:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708577922; cv=none; b=TQm7cWhm5W4A9WmfkG2qoFixC/4TwKtYZAiY253jcWf4M8Yh57OrtdlmT/ICoLaPkuFrVodL4KR7JdlinwNafW6dK2BxNyIky5eV5IIODsfPEar7Bm32uprIHoWL4YGT1CwVICJx9ebKTA0bPi2++X0Xt6cUor2GZKF2v67e+Q8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708577922; c=relaxed/simple; bh=PL+A7RzxZSOSUnkECAJUAkk9WznoRE+scfa4iDvANrY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SVuH/378t/ZGV4EVkLCiOZv9yrHOMkbiUO760riEoj1V5YFyZ5kqULgF5jV00LVnUil5mX4jFcqTylC3xfrM/EdeMf4jXND3V3trV6RrduAXjLddRY0Nulg71oyb35jgmX0OcYQfCvjsV01QYv8PCg5yJ8El4MGF+RR80sGAd8I= 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.95 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.71.174]) by sina.com (172.16.235.24) with ESMTP id 65D6D47000007333; Thu, 22 Feb 2024 12:58:27 +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: 21221045089447 X-SMAIL-UIID: EA7355BF4BE74D2CA281A1BA99AEDEF3-20240222-125827-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [media?] INFO: task hung in cec_claim_log_addrs Date: Thu, 22 Feb 2024 12:58:15 +0800 Message-Id: <20240222045815.101-1-hdanton@sina.com> In-Reply-To: <0000000000006d96200611de3986@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 Tue, 20 Feb 2024 22:13:24 -0800 > HEAD commit: 83d49ede4b18 Merge branch 'for-next/core' into for-kernelci > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11ddc734180000 #syz test https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci --- x/drivers/media/cec/core/cec-adap.c +++ y/drivers/media/cec/core/cec-adap.c @@ -1592,8 +1592,6 @@ static void cec_claim_log_addrs(struct c if (WARN_ON(adap->is_configuring || adap->is_configured)) return; - init_completion(&adap->config_completion); - /* Ready to kick off the thread */ adap->is_configuring = true; adap->kthread_config = kthread_run(cec_config_thread_func, adap, --- x/drivers/media/cec/core/cec-core.c +++ y/drivers/media/cec/core/cec-core.c @@ -284,6 +284,7 @@ struct cec_adapter *cec_allocate_adapter mutex_init(&adap->lock); INIT_LIST_HEAD(&adap->transmit_queue); INIT_LIST_HEAD(&adap->wait_queue); + init_completion(&adap->config_completion); init_waitqueue_head(&adap->kthread_waitq); /* adap->devnode initialization */ --