Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp365202lqh; Thu, 28 Mar 2024 04:45:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsy8ysC6G/n5PWsATlrvrs1LhZJxi7+3cqDuT4Di3bUPAt/FBC60xl6W4ClEZhtErxuDizxBsZpDGUZc9Wupmh0TM8cyvdONV71zLMcA== X-Google-Smtp-Source: AGHT+IEpMadjbGkURgfUJSB3TCaETmHpwwDrkp/2yGRaOfTbZ0irWL1JVwGmstpkXZ9TkoVHgxbV X-Received: by 2002:a05:6a21:616:b0:1a3:72d6:641e with SMTP id ll22-20020a056a21061600b001a372d6641emr2588652pzb.20.1711626327532; Thu, 28 Mar 2024 04:45:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711626327; cv=pass; d=google.com; s=arc-20160816; b=onGmefUqo6hOLGUkxWuS9MxE3r13TBgyMz97hQoVBJ7KUUvOOui3YlWC1c4nLuZzEV frF+JHxe8xMXm4OMTtZUh39YDVdkGhTjm+EUoh/WmT3VZW9lMgXHwgnif981CSEqtqUl p2sYPKnCiBMIJlGSpUeznpPKSzVa6egKNfBHtEoz9/omDSsxDuNNRo2n0/pJ7egl36C5 L7eKZdY/zTbU8PXAj/AKXeXsPpSf96xz9t34wLJ629E1eBsuy4y7W8DC6c69AhJg5mKs Bq+qPoC2lX9ARwN8qrNr95aj+8B2x9OIQQkKyJf8OUXK9bxBbUuMCxulvrqMVeZ5wmNT Rrxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=sWdWCgyZ6xlfuvIzR+ofSNpFmValQUTb1NvuAPBYTns=; fh=QfT6HxWvpwX/d2/Bb19dTsXRf3Vv/i8YD/QoZs9TNys=; b=okF8kQEb1t3zJFsFXznFt7HoB/vp8fhUidoflag8q9yY3/Oas1FU6WXDHAKunYuoCn wE6v2JRPcLUuc/yf2jyXcMr5dqftSgXzB+XCtFTC9iixDZ099lYkshaq760euvPbUKb1 lWwBzFJ/NH+WlgjSeavKNLODtDca5dEWGVWWpR/fB2WhDNS7o64jx+ckZ9b7rin3eVTw i8iKKbFjC9FiV9SIHQmiJCel7rcsy+kt16LIA/quRnlLLcBwJF8rETNz7zEJoaTCf+T3 YQ+nyTtDK0/Y/z4YNWlJdcL35h2dVBPzzkFUyIPIyNW3iWrHqbaxr8HaipL7wGiWIMeZ IcGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=dT5uxZjg; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-5450-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5450-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id kr16-20020a056a004b5000b006e795688a84si1365257pfb.261.2024.03.28.04.45.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 04:45:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5450-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=dT5uxZjg; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-5450-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5450-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 905BB2953E2 for ; Thu, 28 Mar 2024 11:45:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D99A7D06B; Thu, 28 Mar 2024 11:45:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="dT5uxZjg" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 AE6BB2D792; Thu, 28 Mar 2024 11:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711626322; cv=none; b=L9KQcxLbaCnxymrUYEQpLMfaIeXYgRHVM2vWaMKONKAU4eLsOIlRQ+mlfZKZvcZ5C1FiA36tdtgwvEQuhHr4FIwE16AVjITEcOLfzUcsbjbW2H+EAr97/RDKLH9zom8GwVF07VsJ7AS7+8+d/n629i4ITAM85OASKP5Fg2CpODI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711626322; c=relaxed/simple; bh=B/NLA0JqUu9nGEsxqIfEeqxUghyu4idtZeiguQk7wxc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=mD/mJV1EHa3wnaPjMin7c6f4z15qJYUlbqlTzPG9TiLnFE8NA5iIvPs9h4dgoMED2RKpj/tloC8i7uNWxboqgizUWhv5iyJxWDXdwPvIuouq1a7i1+LHpbjf6pOImShfS/HnfJJ/at2KeOMvpg8hrRPX89TlBEyKZX83bj3rubA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=dT5uxZjg; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=sWdWCgyZ6xlfuvIzR+ofSNpFmValQUTb1NvuAPBYTns=; t=1711626320; x=1712835920; b=dT5uxZjgz8i09sSqkEHIY9ZnZFnyW/x53aF4teYBjL1wSa7 nuITPAcVfDj9g891BCdodZgryXfJnlqAUxYc5FKTo0NvECT3T/0wC4VlV2e8KBDj1+JrY+JHec7SI do5gT6iCOxBvwra1NUwJZVOFhGtH1fNsJCsQhBqkhEuJmeI9EHvf+la5oMgLvx+IGT+w2Oq5cSJka Hu1MYQE0cFJRspevDkB9QkuaV4cXVRVOlHwonUQ+kqt8av5R2p2L69/DXHWlh5pB+WNL2ac7LWgUW a47N1j51p2GnB1l3LpCdX3XrSqKZDG2uvcqaLMQSzXJPSzJ0sgnfBXNFccHnX4bQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rpoBz-00000000vii-2O2d; Thu, 28 Mar 2024 12:45:11 +0100 Message-ID: <550cc81a3dffd07ec1235dc32fd7bbde22d9bf57.camel@sipsolutions.net> Subject: Re: [syzbot] [wireless?] WARNING in kcov_remote_start (3) From: Johannes Berg To: syzbot , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Cc: Andrey Konovalov , Dmitry Vyukov , Aleksandr Nogikh Date: Thu, 28 Mar 2024 12:45:10 +0100 In-Reply-To: <0000000000007b02500614b66e31@google.com> References: <0000000000007b02500614b66e31@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2024-03-28 at 04:00 -0700, syzbot wrote: >=20 > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 2400 at kernel/kcov.c:860 kcov_remote_start+0x549/0x= 7e0 kernel/kcov.c:860 This is /* * Check that kcov_remote_start() is not called twice in background * threads nor called by user tasks (with enabled kcov). */ mode =3D READ_ONCE(t->kcov_mode); if (WARN_ON(in_task() && kcov_mode_enabled(mode))) { local_unlock_irqrestore(&kcov_percpu_data.lock, flags); return; } but I have no idea what that even means? > Workqueue: events_unbound cfg80211_wiphy_work > RIP: 0010:kcov_remote_start+0x549/0x7e0 kernel/kcov.c:860 ... > Call Trace: > > kcov_remote_start_common include/linux/kcov.h:48 [inline] > ieee80211_iface_work+0x21f/0xf10 net/mac80211/iface.c:1654 > cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 > process_one_work kernel/workqueue.c:3218 [inline] > process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299 > worker_thread+0x86d/0xd70 kernel/workqueue.c:3380 It's a worker thread. Was this not intended to be called in threads? johannes