CVE-2026-139044: media: go7007: bound EZ-USB I2C transfers to the usb_buf size
In the Linux kernel, the following vulnerability has been resolved:
media: go7007: bound EZ-USB I2C transfers to the usbbuf size
go7007usbi2cmasterxfer() copies msgs[i].len bytes into go->usbbuf, a 16-byte buffer embedded in struct go7007, without any length check. The adapter declares no transfer limits, so an SMBus block transfer issued through /dev/i2c-N can write up to 34 bytes into it and corrupt the struct fields that follow the buffer.
Bound the transfer size with i2cadapterquirks so the I2C core rejects oversized messages before they reach the driver.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set I2C adapter quirks to reject transfers larger than the 16-byte usb_buf before they reach the driver.
go7007 EZ-USB I2C adapter i2c_adapter_quirks = limit transfers to 16 bytes