CVE-2026-139026

media: cx231xx: preserve I2C transfer length

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel media driver for cx231xx incorrectly truncates I2C transfer lengths from 16‑bit to 8‑bit. A read larger than 255 bytes becomes a zero‑length request, which USB interprets as an OUT control transfer and triggers a direction warning. The bug ultimately causes the kernel to return an error for oversized transfers, potentially disrupting device operation. This flaw does not provide direct code execution or data disclosure but can deny service to devices that rely on the driver.

Affected Systems

All Linux kernel releases that include the media: cx231xx driver and no patch have been impacted. The bug appears in the driver code that handles I2C transfers for cx231xx USB devices; any system with that driver at an unpatched state may experience the issue.

Risk and Exploitability

No CVSS score or EPSS data is publicly available, and the vulnerability is not listed in CISA’s KEV catalog. The flaw is a local reliability issue that can be triggered by large I2C reads from a device controlled by the cx231xx driver. Because it relies on specific hardware interaction, exploitability is limited to systems with the affected USB drivers and is not known to be remotely reachable; nevertheless, the bug can interrupt device operation once triggered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix for cx231xx I2C transfer length truncation.
  • If an upgrade is not immediately possible, avoid initiating I2C reads larger than 255 bytes on devices using the cx231xx driver to prevent zero‑length requests.
  • Monitor system logs for usb_submit_urb() direction warnings from cx231xx devices and consider disabling or removing the affected devices until a patch is applied.

Generated by OpenCVE AI on November 30, 2026 at 18:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-197
Type Values Removed Values Added
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.
Title media: cx231xx: preserve I2C transfer length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:27 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM