CVE-2026-53195

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

State
Published
Severity
Not scored
Published
Jun 25, 2026
Updated
Jun 25, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3e187152f44d76d7633a3855ffd0099e1588b82aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b7faf660eefa2047ebc2959ff76da2b6eae2e9e3Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2fd64bf0ad66ab5de0c73524591d879427ba5abaAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4cb722747ed25971f35cc47ce5c0e79d7f717713Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 130d6567eb148040eed1b73e1414ad6c27d22bd5Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 294692d3296eee3391c348d7ea6401916d27806cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5a79b634ee58786ca627268daefa7744f2af2e14Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0fd2b00b2d3d05e3eaa13342b3dfb0fa85c226aeAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

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.