Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp117145lqe; Tue, 26 Mar 2024 23:57:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFNgBrGcU6qj3R92QsVRXMv61UkQm6iupXXcVVqs5jpTjlneZVS/cQAyrxiVOAqQLaJboq7oyRhWUbPRuGVQDS7LNiI+v9H5d3FUuOgg== X-Google-Smtp-Source: AGHT+IHTcuiILNmXHSPQMaSTJOpzlx7kAMSsAhdOU6j0O5NTcegi+uvWfkpStacCQjiV3pvLr0zf X-Received: by 2002:a17:906:5951:b0:a4d:f8e5:575 with SMTP id g17-20020a170906595100b00a4df8e50575mr2245347ejr.53.1711522627631; Tue, 26 Mar 2024 23:57:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711522627; cv=pass; d=google.com; s=arc-20160816; b=bluuVG2sdcsR11Qc28VM7brfbdaLzCXucYBgcxGqPHJDmV3NLFJk3miM6YYDi77Um6 0B+RuUYT7p8gxCOL5+pP5KL3VgkYpKWE3nrJVHQlzOztyvq8WRmXl3pKGRfQlutd2cJ4 lF/eMsnXU99zBhSpXV2dwf8vanlqHF0sje6SWCOpgenOdqpjAZf2+0oAVR7r0FAVc9D5 2BMxMD9LJS99ymI9ShGGHvdoOhRr5dIF8mKxd9cvinXc1VEWQiOkgJ5wjPFkxR2OBCBW EcQKTtXbTkgT9pp9I6uAXZJLToj4w7PDmgYhcZv8gu8QV/ksqVAL4+rfSvl7yUf57JFR KSFA== 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:dkim-signature; bh=dQ4YoloDRvU/8LmYkI9FlzLpSDI9DN//jYVVrIuY1jc=; fh=rEOKWQRQzP7yXvCzpzEdpLHMT/w0KQ7oBV8ry+jMhYw=; b=dcoS7CiSK8gQ8f4CZbAzHAi01UtTcmWb7ZSBpX5H7pQgwmv1ChAAjBv1h5e53pafX+ 13gFFZD+26yUZZGifv0jRHTqflyOa4pZXyXAIo0iG9QYgt5kH+Dim+5pujhgrzjqbIVV A5xp+S1hwwIP2+ZEDSJzm8A+EKK63avYbEnNy57G2eF5mSYjQ2vgwIps+fv2yxZg/I1z o3aacGRrFOnDNyfUAIqwB/6kcqMjt5n3/rnCeg6b59d6wnchWEsPbjSuMlNID+KBo0O7 tovqSxKXw1fPKPsE05HYGXGYLCT+2czuCgQinF1+wHQ2p1V8sA9VItY2KUtEWWo2AYpL Ee+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=WSR1h4l0; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-wireless+bounces-5315-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5315-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j23-20020a170906255700b00a4669ed3b1fsi4173718ejb.1039.2024.03.26.23.57.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 23:57:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5315-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=WSR1h4l0; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-wireless+bounces-5315-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5315-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 20B691F2795E for ; Wed, 27 Mar 2024 06:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7B7723765; Wed, 27 Mar 2024 06:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="WSR1h4l0" X-Original-To: linux-wireless@vger.kernel.org Received: from forward500a.mail.yandex.net (forward500a.mail.yandex.net [178.154.239.80]) (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 448431DA22 for ; Wed, 27 Mar 2024 06:56:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711522622; cv=none; b=HUMuzjjZaBCAxYjYHyMI3kqPLeXoYBnbsVfQ+IT36KwMnVvCV0kN2a7EIRhvbHwkvMdqEo2eu+7Zz9Z958pDfR2cEUC0Zzth+bjBuEDMMVVj0jL8NjkUUeJZ6rasv6n/H73PGFlQ+pLsyirazCvb2jJklcQck8ZGrgIvyay3Z4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711522622; c=relaxed/simple; bh=ZE0+gcHENToIas+kvoZ2Rp65h6NcjfZHlFy9xEHHhfU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P0V8lfgWheyLNm12jknJzIasXd2BXT/x8BbLIsfmIyPJAu90jo9A+fhl70aLMcB3YIIgzf3CzsJhhwEXhZPyxJqtprmUvzlesY7b02h2KguTDDU+acK3Oz8E2yVAqijM2NfTLM7GCsuO615rMgfNpG0WPt4GIh+uqXOSWZA89V8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=WSR1h4l0; arc=none smtp.client-ip=178.154.239.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Received: from mail-nwsmtp-smtp-production-main-55.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-55.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0d:230c:0:640:f8e:0]) by forward500a.mail.yandex.net (Yandex) with ESMTPS id 7B5626162F; Wed, 27 Mar 2024 09:56:49 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-55.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id luFgQU4n7Ko0-b9UeVAbS; Wed, 27 Mar 2024 09:56:48 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1711522608; bh=dQ4YoloDRvU/8LmYkI9FlzLpSDI9DN//jYVVrIuY1jc=; h=From:In-Reply-To:Cc:Date:References:To:Subject:Message-ID; b=WSR1h4l0KdTWzSgKd1ufa4Ahf1/MaZg+l+yXBuIlsAazT/QNRKryWZD4u1gnSbPgk 5F6meKDFtUyMsmCWBMT3SPBJ2R7puL2nyf0NHiFGaOqA6Sg9deI+rdOve2Og4+NVBk OwQvoAbZlIsax2bLsL2FsZZcvS9mVlU54BA2L5tw= Authentication-Results: mail-nwsmtp-smtp-production-main-55.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <69d64ce4-d613-466f-a902-78883a2725b0@yandex.ru> Date: Wed, 27 Mar 2024 09:56:47 +0300 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: mac80211: don't use rate mask for scanning To: Johannes Berg , linux-wireless@vger.kernel.org Cc: Johannes Berg , syzbot+fdc5123366fb9c3fdc6d@syzkaller.appspotmail.com, "lvc-project@linuxtesting.org" References: <20240326220854.9594cbb418ca.I7f86c0ba1f98cf7e27c2bacf6c2d417200ecea5c@changeid> Content-Language: en-US From: Dmitry Antipov In-Reply-To: <20240326220854.9594cbb418ca.I7f86c0ba1f98cf7e27c2bacf6c2d417200ecea5c@changeid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/27/24 00:08, Johannes Berg wrote: > From: Johannes Berg > > The rate mask is intended for use during operation, and > can be set to only have masks for the currently active > band. As such, it cannot be used for scanning which can > be on other bands as well. > > Simply ignore the rate masks during scanning to avoid > warnings from incorrect settings. > > Reported-by: syzbot+fdc5123366fb9c3fdc6d@syzkaller.appspotmail.com > Closes: https://syzkaller.appspot.com/bug?extid=fdc5123366fb9c3fdc6d > Co-developed-by: Dmitry Antipov > Signed-off-by: Dmitry Antipov > Signed-off-by: Johannes Berg Tested-by: Dmitry Antipov