USB: disable all RNDIS protocol drivers

The Microsoft RNDIS protocol is, as designed, insecure and vulnerable on
any system that uses it with untrusted hosts or devices.  Because the
protocol is impossible to make secure, just disable all rndis drivers to
prevent anyone from using them again.

Windows only needed this for XP and newer systems, Windows systems older
than that can use the normal USB class protocols instead, which do not
have these problems.

Android has had this disabled for many years so there should not be any
real systems that still need this.

Cc: "David S. Miller" <>
Cc: Eric Dumazet <>
Cc: Jakub Kicinski <>
Cc: Paolo Abeni <>
Cc: Kalle Valo <>
Cc: Oleksij Rempel <>
Cc: "Maciej ┼╗enczykowski" <>
Cc: Neil Armstrong <>
Cc: Mauro Carvalho Chehab <>
Cc: Andrzej Pietrasiewicz <>
Cc: Jacopo Mondi <>
Cc: "Łukasz Stelmach" <>
Cc: Laurent Pinchart <>
Reported-by: Ilja Van Sprundel <>
Reported-by: Joseph Tartaro <>
Signed-off-by: Greg Kroah-Hartman <>
3 files changed