Re: [PATCH] USB: disable all RNDIS protocol drivers

From: Oliver Neukum
Date: Wed Jul 12 2023 - 05:23:51 EST




On 04.07.23 08:47, Greg Kroah-Hartman wrote:
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?

Greg,

it is a network protocol. So this statement is kind of odd.
Are you saying that there are RNDIS messages that cannot be verified
for some reason, that still cannot be disclosed?

Regards
Oliver