media: cx231xx: preserve I2C transfer length

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

media: cx231xx: preserve I2C transfer length

The I2C core stores message lengths in u16, but cx231xx truncates them to u8 when populating cx231xx_i2c_xfer_data. A 0x700-byte read therefore becomes a zero-length request. USB treats zero-length control transfers as OUT regardless of bRequestType, so the IN control pipe trips the usb_submit_urb() direction warning.

Use u16 for buf_size, matching both i2c_msg.len and VENDOR_REQUEST_IN.wLength. Oversized transfers then reach the existing URB_MAX_CTRL_SIZE check and return -EINVAL.

ProductVersions
Linux Linuxe0d3bafd02586cfde286c320f56906fd9fa8d256 to before d923ec5bf89bc15d44f2f8e533a8d702dfe889e0 Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before 013ecc2e23c0dddb0d45dfff15b467997899cfa2 Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before bb4d9bc83e524f33c9bfcb8a4aa6478b17f2c8ef Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before 66f938eb5246f62cacc46ef3418af78651b0eaf5 Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before af8382230b821b50fd01920043e54618b497d726 Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before 876ba0c13671407f7bd48791b84d5013a21188b0 Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before af77a46d2303eeb6536701e76f5996ce53bd7972 Affectede0d3bafd02586cfde286c320f56906fd9fa8d256 to before a19c9502a69bbd42c18816b09cbefdeb4cb68066 Affected
Linux Linux2.6.30 Affectedbefore 2.6.30 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

Weaknesses

The record names no weakness.

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.