Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp53463lqf; Thu, 25 Apr 2024 21:59:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAzajO5yu9TK9wCsL2a8RtGCB7B3tuG1QbofPobRD6+FQGszkGnuEi+J/YtNNgW4+GkN6HPTopfBNP3NRPWk6vQA1GyrGcuukrNi/Fkg== X-Google-Smtp-Source: AGHT+IGbLRLejrjTgSZJ5vAYa+q7MAMV8PxmhClw+/CeQMy52JOkXtC7cQ9axTX9uikTbkCJuiPo X-Received: by 2002:a17:907:9407:b0:a58:73c4:5d45 with SMTP id dk7-20020a170907940700b00a5873c45d45mr1323188ejc.0.1714107547444; Thu, 25 Apr 2024 21:59:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714107547; cv=pass; d=google.com; s=arc-20160816; b=XcO/RPm39QH2Q5HXMf4KtIgGLSPQ5dBFff3BsavReXMvqbGZ6HhMVmKwLeEFSNJLk+ EsYkYtSRtSUipTcg+mYXB3vwGF19OaKso0hkh4/rFNRNu+6GZKnDX/IY/AbwLptHyAMT z3Tx4J5QijmkjlJyKWHKk58GqX4M0eytcbPaTo1ukv5ufR+2zuGZ6LyGGs8N4WNL+gr9 KTMqtZmM1xSpVDtB3VlAfSHplSqYA2GzZPQOI2+oV97ssHuIIZ4ZpmdeVWBQn+f+VBdh o3iHZqncoOBT1eCJxCr/nKmjpT6AAaIItR3NQaB3lCxxIM+Vt7hQ0EUDCOx9fyFDqp3V Ivag== 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:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=tDXildwDfCwvonYNpYwdiOgTjppsyDotvHdVYgaKyuo=; fh=oRv100GAQ6s1uHDZh6tTF3nfqSFAN+wkibu/OUAW97E=; b=KAEe9BmFezxI7SjHAQiLa/lw7k1xFxkHzddtb69H4PqZaWdPjh2KH1o7SXxhe199AY mcit1yHmrCHvLzVIDNRL01jrOiGNmfDFsPCHVca2mKljYUmFbvi+yQATlRTx/BEY4bdo lSjW309vc6acm3QCI0de7HIiUgA0OZ925fUkpVQGhFRek8Gh+SJf9oXgozs1nGhlVQaA cGzyizNpEQN1rbXTvplI7RT3AKTECwTl4MQaExDQzByoG4dRmfIer2pAV3eGRT/CcS8Z xfTNCa6C4Fd0aMFWtZkbAq4Ug8NNAKMx4lZ/Ju6lHxHLpsGbQGfoGIyVbMcRO14M5GoM rV/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WzsaTIjd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6914-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6914-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t1-20020a170906a10100b00a51b9000041si11118272ejy.436.2024.04.25.21.59.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 21:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6914-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=@kernel.org header.s=k20201202 header.b=WzsaTIjd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6914-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6914-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0AA461F22AC0 for ; Fri, 26 Apr 2024 04:59:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CA3D13A24A; Fri, 26 Apr 2024 04:59:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WzsaTIjd" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 41DBC13A248; Fri, 26 Apr 2024 04:59:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714107542; cv=none; b=J9OHDOCfs9D1u1g/bl51wLnI2ReEhQccglYHhhRToBlLT45uMPBUR2sNM3ObZahL6P7yHsb9jxAViRUvzX9oFJ1j1kjJkvQVd/rqwMJ83mVLBOtUbKgYXd5k/XvurJaUS3FHaddPABSc4DOO+FdOCnmjykPMqsWW1Kch7f+6MKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714107542; c=relaxed/simple; bh=5Ymgj7dGlmkWAAtbJ2XFFjc7REuiKwuyHSrZtJ96KFs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=CrOk1Ay3rLlIBTH1KsE3qXnx/by4AuLDlzralm5/X59C+xjVlblDQrx0tSEOo0NHPootDSYkjwXPnekBAkJcZTsBL9e3WpMXGKlW5IClysEfyVzZm8a4/G7zKjo4ycgmm1tnO82d1uBiM+Py24lxRNgz6IfFm4SiX8EUU40uCF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WzsaTIjd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 377C4C2BD11; Fri, 26 Apr 2024 04:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714107541; bh=5Ymgj7dGlmkWAAtbJ2XFFjc7REuiKwuyHSrZtJ96KFs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WzsaTIjdJGw8U8smgREwvDcRlknOL9ZSN1WEjIEZIxLBYi6m0olUMv2Emu7DqZAH1 eojBAXE0lu9HgcP1Z+RH8MDu3NFb0udiR9ljIuDk/jxSapzGkK+l4bV/G3vTKgKCOd kVOp0K6rJ+QW/4VvXxgGt5QwTIgnbaXqV/NfM/xU2pcTMzPluzH/95ciSo2xBp1y4Y x94WiIwYsirR16xxjYMGvRleJ9UE5TmFApmROcJh9dY3JrCPR/JNrw/4QRiPH3t/Ef wcDGzNB8zaUi6yWA1PvIc38nAb0MXYNWrZiQVXpQNuOSlF96LYbF3pPO4E9IqfkZfi dwLnI8zt7An9g== From: Kalle Valo To: Christian Lamparter Cc: Nikita Zhandarovich , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, lvc-project@linuxtesting.org, syzbot+0ae4804973be759fa420@syzkaller.appspotmail.com Subject: Re: [PATCH v2] wifi: carl9170: add a proper sanity check for endpoints References: <20240422183355.3785-1-n.zhandarovich@fintech.ru> Date: Fri, 26 Apr 2024 07:58:58 +0300 In-Reply-To: (Christian Lamparter's message of "Thu, 25 Apr 2024 22:37:04 +0200") Message-ID: <8734r8sorx.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Christian Lamparter writes: > On 4/22/24 8:33 PM, Nikita Zhandarovich wrote: >> Syzkaller reports [1] hitting a warning which is caused by presence >> of a wrong endpoint type at the URB sumbitting stage. While there >> was a check for a specific 4th endpoint, since it can switch types >> between bulk and interrupt, other endpoints are trusted implicitly. >> Similar warning is triggered in a couple of other syzbot issues [2]. >> Fix the issue by doing a comprehensive check of all endpoints >> taking into account difference between high- and full-speed >> configuration. >> This patch has not been tested on real hardware. > > Oh, I've tested the original patch on real hardware ;). You can remove that line. BTW I can remove that line, no need to resend because of this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches