Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's cxusb media driver can lead to the use of an uninitialized variable. This issue arises in the 'cxusb_i2c_xfer' function, where the driver fails to properly initialize a variable before it is used. The problem occurs when the 'usb_bulk_msg' write operation does not succeed, yet the read operation is expected to retrieve data. As a result, the variable 'i' remains uninitialized, potentially leading to undefined behavior.
Exploitation of this vulnerability causes the 'cxusb_i2c_xfer' function to read an uninitialized variable, which can lead to unpredictable behavior in the driver.
The vulnerability can be reproduced by invoking the 'dvb_usb_generic_rw' function with a write length of 1. If the 'usb_bulk_msg' write operation fails, the corresponding read operation is skipped, causing the variable 'i' in 'cxusb_i2c_xfer' to remain uninitialized. This sequence can be triggered by manipulating the USB bulk message write process to fail while still indicating a read length of 1.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.