USB systems may have some serious security flaws - especially on Linux

(Image credit: Honeywell)

Academics have developed a new tool that allowed them to discover 26 previously unidentified vulnerabilities in the USB driver stack used by many popular operating systems including Linux, macOS, Windows and FreeBSD.

Purdue University's Hui Peng and the Swiss Federal Institute of Technology Lausanne's Mathias Payer created a new tool called USBFuzz which they provided further details on in a paper titled “USBFuzz: A Framework for Fuzzing USB Drivers by Device Emulation”, that reads:

“We present USBFuzz, a portable, flexible, and modular framework for fuzz testing USB drivers. At its core, USBFuzz uses a software-emulated USB device to provide random device data to drivers (when they perform IO operations).”

The tool is used for fuzzing which involves deliberately placing or injecting garbled data into a specific application or program. If the software fails to properly handle the unexpected data, developers can then identity potential security weaknesses and address them before users are put at risk.

USBFuzz

After developing USBFuzz, the researchers tested the tool on nine recent versions of the Linux kernel (v4.14.81, v4.15,v4.16, v4.17, v4.18.19, v4.19, v4.19.1, v4.19.2, and v4.20-rc2), FreeBSD12, macOS 10.15 and both Windows 8 and 10.

Following their tests, they discovered one bug in FreeBSD, three in macOS and four in Windows 8 and Windows 10. However, of the 26 new bugs the researchers found, 18 were found in Linux. Sixteen of the bugs were high-severity memory bugs in a number of Linux subsystems (USB core, USB sound and net-work), one bug was found in the Linux USB host controller driver and the last bug was discovered in a USB camera driver.

The researchers have since reported these bugs to the Linux kernel team and they also submitted their ideas for patches to make things a bit easier for kernel developers. Of the 18 bugs USBFuzz found in Linux, 11 of them have received a patch since the researchers submitted their initial reports last year. Additional patches are expected to be released in the near future for the seven remaining issues.

The researchers are also planning to release USBFuzz on GitHub as an open source project so that others can use their tool for fuzzing.

Via ZDNet

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Security
Hacker silhouette working on a laptop with North Korean flag on the background
North Korea unveils new military unit targeting AI attacks
An image of network security icons for a network encircling a digital blue earth.
US government warns agencies to make sure their backups are safe from NAKIVO security issue
Laptop computer displaying logo of WordPress, a free and open-source content management system (CMS)
This top WordPress plugin could be hiding a worrying security flaw, so be on your guard
Computer Hacked, System Error, Virus, Cyber attack, Malware Concept. Danger Symbol
Veeam urges users to patch security issues which could allow backup hacks
UK Prime Minister Sir Kier Starmer
The UK releases timeline for migration to post-quantum cryptography
Representational image depecting cybersecurity protection
Cisco smart licensing system sees critical security flaws exploited
Latest in News
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Sunday, March 23 (game #385)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Sunday, March 23 (game #651)
Google Pixel 9 Pro Fold main display opened
Apple is rumored to be prioritizing battery life on the foldable iPhone – which could also feature a liquid metal hinge for added durability
Google Pixel 9
The Google Pixel 10 just showed up in Android code – and may come with a useful speed boost
L-mount alliance
Sirui joins L-Mount Alliance to deliver its superb budget lenses for Leica, DJI, Sigma and Panasonic cameras