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

CVE-2026-53195
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3e187152f44d76d7633a3855ffd0099e1588b82a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b7faf660eefa2047ebc2959ff76da2b6eae2e9e3 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2fd64bf0ad66ab5de0c73524591d879427ba5aba ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4cb722747ed25971f35cc47ce5c0e79d7f717713 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 130d6567eb148040eed1b73e1414ad6c27d22bd5 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 294692d3296eee3391c348d7ea6401916d27806c
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD