Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27250881rwd; Mon, 3 Jul 2023 23:50:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ51Ty+9oc71bqryfBe+QYYwNGlUVt1Cd05dsyp+T2ao0eXweUh2F5Xey1XJe0vGFCTZhUUe X-Received: by 2002:a05:6808:202:b0:394:45ad:3ea7 with SMTP id l2-20020a056808020200b0039445ad3ea7mr12357841oie.5.1688453414458; Mon, 03 Jul 2023 23:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688453414; cv=none; d=google.com; s=arc-20160816; b=aQkaClKpiO6h2r9QFQqY+DwnGi/bBmovY20XJNU171G4Q3oBr0JfOzaPn2oblKe0r0 x2tbglgFL3+FABAwJYL077sO+zceplvjDev8ErgGFwC9/0vUeOMFNq80BK5hFxSpR57r kW9p2Z/ER1NzOLPNWD/6KFSagoU6sVSn7CtB1yOnVwhrpfwiRheT8QLVLG+VQkyZ5BOK hIEqhYeS/BVaCX7T+YxXTH+CperSSrGsnliKqSHG3gq/ZyRQcmEBgUs7nB+yw2pbJNnf sDD8OJbuVP5h/ccUUTb8X3e0PxC+Gq8Uhn7CDsHz8DJIPl8acyMC73zSJdSfvVPOapdo TQYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OoFCtKuTSPhSPNBZDhXAtLKd3nt4rPb0vHlBaDPuDvY=; fh=RPoQ1J3L7eoWiZyyYVDEUuU25SwC/O8zKqdP+RxbUjc=; b=PZg8hPvdTnr1maNW+3aZnGR5urxBQKwF4wIVln+QVSH6vwRfPpYmK182t/cPrzUcVe 3CbNgcGDhVUMNbWpfjTICksp4YLAnDhE+Fh5K3bZlYpMw8CX4B0G17kcrFVTxg8PCX7c 9y2ZgKAlmsZ5vP66t5U1Bt0lrXG3L0J0n76WVNQDywdbYnN09aUoH1U4RwBwfuTAx0gA DoV3WvmFVa9AyqAi+QCd/esR2TlNBKC4FL2prK9EAyhzY/EWRjv+m6gDx2jBrJKcimnE 1poOAwmsRalgd3ryfQiD8NITqGPsub0MYeVXeI8PPhRQsHgFo6Fdi9My7Bl8SDOOy3el 5LRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CiF0+pTU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r20-20020a6560d4000000b0054fd642ae84si19793165pgv.561.2023.07.03.23.50.05; Mon, 03 Jul 2023 23:50:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CiF0+pTU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230421AbjGDGsM (ORCPT + 59 others); Tue, 4 Jul 2023 02:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbjGDGsC (ORCPT ); Tue, 4 Jul 2023 02:48:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B52410CA; Mon, 3 Jul 2023 23:47:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B81416116D; Tue, 4 Jul 2023 06:47:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D424C433C8; Tue, 4 Jul 2023 06:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1688453254; bh=NKrgqMucYEDaZ3CZ4vWlOu9Bpv3mE+2DG7gfJNFcPwY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CiF0+pTUEjiABNYtUnUCtbcuLin2yOxkmmIszTzS6elUqzFrs2i1PkNechNBDjFov KQk640h3FVDpDJZ4wIKqSd/vRyJnvTluls3jYVb1/rDGlC/KYjRJm04xemR0vaxuuG qT4pbWxAM57tdXt6/gqrnGsVfN7GBGBdQh+ybd0A= Date: Tue, 4 Jul 2023 07:47:31 +0100 From: Greg Kroah-Hartman To: Enrico Mioso Cc: Jan Engelhardt , linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Kalle Valo , Oleksij Rempel , Maciej =?utf-8?Q?=C5=BBenczykowski?= , Neil Armstrong , Mauro Carvalho Chehab , Andrzej Pietrasiewicz , Jacopo Mondi , =?utf-8?Q?=C5=81ukasz?= Stelmach , Laurent Pinchart , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, Ilja Van Sprundel , Joseph Tartaro Subject: Re: [PATCH] USB: disable all RNDIS protocol drivers Message-ID: <2023070430-fragment-remember-2fdd@gregkh> References: <20221123124620.1387499-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Jul 03, 2023 at 11:11:57PM +0200, Enrico Mioso wrote: > Hi all!! > > I think the rndis_host USB driver might emit a warning in the dmesg, but disabling the driver wouldn't be a good idea. > The TP-Link MR6400 V1 LTE modem and also some ZTE modems integrated in routers do use this protocol. > > We may also distinguish between these cases and devices you might plug in - as they pose different risk levels. Again, you have to fully trust the other side of an RNDIS connection, any hints on how to have the kernel determine that? thanks, greg k-h