{"id":"CVE-2026-139026","summary":"media: cx231xx: preserve I2C transfer length","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx231xx: preserve I2C transfer length\n\nThe I2C core stores message lengths in u16, but cx231xx truncates them to\nu8 when populating cx231xx_i2c_xfer_data. A 0x700-byte read therefore\nbecomes a zero-length request. USB treats zero-length control transfers as\nOUT regardless of bRequestType, so the IN control pipe trips the\nusb_submit_urb() direction warning.\n\nUse u16 for buf_size, matching both i2c_msg.len and\nVENDOR_REQUEST_IN.wLength. Oversized transfers then reach the existing\nURB_MAX_CTRL_SIZE check and return -EINVAL.","modified":"2026-12-01T21:02:35.884310719Z","published":"2026-11-30T13:27:11.043Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139026.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/013ecc2e23c0dddb0d45dfff15b467997899cfa2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66f938eb5246f62cacc46ef3418af78651b0eaf5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/876ba0c13671407f7bd48791b84d5013a21188b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a19c9502a69bbd42c18816b09cbefdeb4cb68066"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af77a46d2303eeb6536701e76f5996ce53bd7972"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af8382230b821b50fd01920043e54618b497d726"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb4d9bc83e524f33c9bfcb8a4aa6478b17f2c8ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d923ec5bf89bc15d44f2f8e533a8d702dfe889e0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139026.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139026"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e0d3bafd02586cfde286c320f56906fd9fa8d256"},{"fixed":"d923ec5bf89bc15d44f2f8e533a8d702dfe889e0"},{"fixed":"013ecc2e23c0dddb0d45dfff15b467997899cfa2"},{"fixed":"bb4d9bc83e524f33c9bfcb8a4aa6478b17f2c8ef"},{"fixed":"66f938eb5246f62cacc46ef3418af78651b0eaf5"},{"fixed":"af8382230b821b50fd01920043e54618b497d726"},{"fixed":"876ba0c13671407f7bd48791b84d5013a21188b0"},{"fixed":"af77a46d2303eeb6536701e76f5996ce53bd7972"},{"fixed":"a19c9502a69bbd42c18816b09cbefdeb4cb68066"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139026.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.30"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139026.json"}}],"schema_version":"1.9.2"}