Linux 5.18 Xen USB Driver To Harden Against Malicious Hosts

Written by Michael Larabel in Hardware on 27 March 2022 at 06:17 AM EDT. 3 Comments
HARDWARE
The many USB and Thunderbolt feature patches have landed into the in-development Linux 5.18 kernel.

While there are many USB/Thunderbolt changes this cycle, there isn't much that is particularly notable besides continued work on the USB DWC3 driver, XHCI debug cable fixes, a Richtek rt1719 power delivery driver, and other routine updates.

One interesting bit is the Xen USB driver being hardened against potentially malicious hosts. The Xen pvUSB driver was mainlined in Linux 5.17 after being out-of-tree for more than one decade.

But it turns out this new Xen USB driver was missing some verification/sanitization of data around I/O length, interrupt storms, and other missing safeguards. With Linux 5.18 this xen_hcd driver is now hardened against malicious backends/hosts from infiltrating the kernel through this driver's missing checks/safeguards.

The full list of USB/Thunderbolt changes for Linux 5.18 can be found via Greg KH's pull request that was already merged to mainline.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week