Vigil@nce: Noyau Linux, buffer overflow of uvcvideo
November 2008 by Vigil@nce
An attacker can create an overflow in the UVC driver in order to create a denial of service or to execute code.
Consequences: user access/rights, denial of service of computer
Provenance: physical access
Means of attack: no proof of concept, no attack
Ability of attacker: expert (4/4)
Confidence: confirmed by the editor (5/5)
Diffusion of the vulnerable configuration: medium (2/3)
Creation date: 03/11/2008
The UVC (USB Video Class) driver is used to manage video devices with USB.
The uvc_parse_format() function of the drivers/media/video/uvc/uvc_driver.c file uses the same code to handle VS_FORMAT_FRAME_BASED and VS_FORMAT_UNCOMPRESSED formats.
However, the VS_FORMAT_FRAME_BASED format uses 28 bytes whereas VS_FORMAT_UNCOMPRESSED uses 27 bytes. An overflow of one byte can thus occur.
An attacker can thus invite the victim to connect a malicious video device in order to execute code on his computer.
Identifiers: BID-30514, CVE-2008-3496, MDVSA-2008:223, SUSE-SR:2008:018, VIGILANCE-VUL-8214