media: go7007: bound EZ-USB I2C transfers to the usb_buf size
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
media: go7007: bound EZ-USB I2C transfers to the usb_buf size
go7007_usb_i2c_master_xfer() copies msgs[i].len bytes into go->usb_buf, 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 i2c_adapter_quirks so the I2C core rejects oversized messages before they reach the driver.
| Product | Versions |
|---|---|
| Linux Linux | 7955f03d18d14d18188f94581a4ea336c94b1e2d to before 40419e7be1dfcf6f00233a2c94144fb7fed4d848 Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before cbaec6495e132d077e85c3aacaaf7f13ee37741d Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before 352510af428a29b51c37b8bfe4f3610eb1685a42 Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before 5396bd025884030a6d5db3993cbbb05b67d74773 Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before 027740b8c75bc34710a624ffefbbcd3b18ab54a4 Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before d208c267148f61a041a1927fec5f48c793e5d975 Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before 37630129efa1f356d5266476bbeadcb929790d3a Affected7955f03d18d14d18188f94581a4ea336c94b1e2d to before 816c4628b23e8c3d925978433f4dd1a13620c01b Affected |
| Linux Linux | 3.17 Affectedbefore 3.17 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/40419e7be1dfcf6f00233a2c94144fb7fed4d848
- https://git.kernel.org/stable/c/cbaec6495e132d077e85c3aacaaf7f13ee37741d
- https://git.kernel.org/stable/c/352510af428a29b51c37b8bfe4f3610eb1685a42
- https://git.kernel.org/stable/c/5396bd025884030a6d5db3993cbbb05b67d74773
- https://git.kernel.org/stable/c/027740b8c75bc34710a624ffefbbcd3b18ab54a4
- https://git.kernel.org/stable/c/d208c267148f61a041a1927fec5f48c793e5d975
- https://git.kernel.org/stable/c/37630129efa1f356d5266476bbeadcb929790d3a
- https://git.kernel.org/stable/c/816c4628b23e8c3d925978433f4dd1a13620c01b
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.