[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025071131-granular-twelve-ba5f@gregkh>
Date: Fri, 11 Jul 2025 13:08:51 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: nicolas.bouchinet@....cyber.gouv.fr
Cc: Luc Bonnafoux <luc.bonnafoux@....gouv.fr>,
Alan Stern <stern@...land.harvard.edu>,
Kannappan R <r.kannappan@...el.com>,
Sabyrzhan Tasbolatov <snovitoll@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Stefan Eichenberger <stefan.eichenberger@...adex.com>,
Thomas Gleixner <tglx@...utronix.de>,
Pawel Laszczak <pawell@...ence.com>, Ma Ke <make_ruc2021@....com>,
Jeff Johnson <jeff.johnson@....qualcomm.com>,
Luc Bonnafoux <luc.bonnafoux@....cyber.gouv.fr>,
Nicolas Bouchinet <nicolas.bouchinet@....gouv.fr>,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [RFC PATCH v2 0/4] Support for usb authentication
On Fri, Jul 11, 2025 at 10:41:21AM +0200, nicolas.bouchinet@....cyber.gouv.fr wrote:
> We have been working on the implementation of the USB authentication
> protocol in the kernel.
>
> You can find our work here https://github.com/ANSSI-FR/usb_authentication.
>
> It is still work in progress but we would like to start discussions
> about the implementation design and its possible integration to the
> Linux kernel.
>
> Best regards,
>
> Nicolas and Luc
>
> ---
> USB peripheral authentication
> =============================
>
> USB peripherals are an important attack vector in personal computers and
> pose a risk to the cyber security of companies and organizations.
>
> The USB foundation has published a standard to allow the authentication
> of USB peripherals ([1] and [2]). It defines a mechanism for the host to
> request credentials and issue an authentication challenge to USB-2 or
> USB-3 peripherals, either upon connection or later during the use of the
> peripheral.
>
> We currently envision the following use cases for USB authentication:
>
> - company networks where computers and peripherals can be privately
> controlled and administered;
> - USB cleaning or decontamination stations;
> - individuals who want to prevent unauthorized device plug-in into their
> machine.
>
> The implementation of this feature will obviously necessitate efforts
> from both the kernel community and peripherals vendors. We believe that
> providing an implementation of the host side of the protocol in the
> Linux kernel will encourage constructors to include this feature in
> their devices. On the other hand, we are working on implementing
> reference code for embedded devices, notably for Zephyr OS.
What about Linux as a device (i.e. the USB gadget system?)
If we have support for that here, then we can test both sides at the
same time on the same machine, making all of this much easier to
validate it works. Have you considered doing that work first instead of
doing it in zephyr in a totally different source tree where it makes it
very hard, if not impossible, for us to test this code ourselves?
thanks,
greg k-h
Powered by blists - more mailing lists