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

USB: serial: io_ti: fix heap overflow in build_i2c_fw_hdr()

build_i2c_fw_hdr() allocates a fixed-size buffer of
(16*1024 - 512) + sizeof(struct ti_i2c_firmware_rec) bytes, then
copies le16_to_cpu(img_header->Length) bytes into it without
validating that Length fits within the available space after the
firmware record header.

img_header->Length is a __le16 from the firmware file and can be
up to 65535. check_fw_sanity() validates the total firmware size
but not img_header->Length specifically.

Fix by rejecting images where img_header->Length exceeds the
available destination space.
Published: 2026-06-25
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap overflow exists in the USB serial io_ti driver when it constructs firmware headers. The function allocates a fixed-size buffer and then copies a length field from the firmware image without ensuring the length fits within the remaining space. If an attacker supplies firmware where the length exceeds the allowed area, the copy will overwrite adjacent heap memory. This memory corruption can be exploited to inject code or modify kernel data structures, potentially leading to remote execution of arbitrary code or privilege escalation if the vulnerable kernel processes the crafted firmware.

Affected Systems

The issue affects all Linux kernel builds that implement the io_ti USB serial driver before the patch that hashes the firmware header length check is applied. The vulnerability is relevant to generic Linux distributions and any system that uses the kernel version containing the vulnerable driver. Exact version numbers are not specified in the data, so all pre‑patch kernel releases are considered at risk.

Risk and Exploitability

Because the flaw occurs in kernel space, exploitation can allow arbitrary code execution with kernel privileges. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, but the CVSS score is not reported either. The usual attack vector would be a malicious USB device delivering a crafted firmware image to the host. Successful exploitation would require that the host accepts and processes the firmware before the kernel patch is applied, making it a serious risk for systems exposed to untrusted USB devices.

Generated by OpenCVE AI on June 25, 2026 at 10:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that rejects firmware images where the header length exceeds the available buffer space.
  • Reboot the system to load the updated kernel and ensure the patch is active.
  • Restrict USB device usage to trusted sources and consider disabling the io_ti driver on systems that do not require it.
  • Verify that the firmware update mechanism enforces the same length validation to prevent replay of malicious images.

Generated by OpenCVE AI on June 25, 2026 at 10:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_ti: fix heap overflow in build_i2c_fw_hdr() build_i2c_fw_hdr() allocates a fixed-size buffer of (16*1024 - 512) + sizeof(struct ti_i2c_firmware_rec) bytes, then copies le16_to_cpu(img_header->Length) bytes into it without validating that Length fits within the available space after the firmware record header. img_header->Length is a __le16 from the firmware file and can be up to 65535. check_fw_sanity() validates the total firmware size but not img_header->Length specifically. Fix by rejecting images where img_header->Length exceeds the available destination space.
Title USB: serial: io_ti: fix heap overflow in build_i2c_fw_hdr()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-25T08:39:05.673Z

Reserved: 2026-06-09T07:44:35.390Z

Link: CVE-2026-53195

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T11:00:11Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow