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

CVE-2026-53196
MEDIUM 6.8

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 19 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_ti: fix heap overflow in get_manuf_info() get_manuf_info() reads le16_to_cpu(rom_desc->Size) bytes from the device I2C EEPROM into a buffer allocated with kmalloc_obj(), which is sizeof(struct edge_ti_manuf_descriptor) = 10 bytes. The Size field comes from the device and is only validated (in check_i2c_image()) to make sure the descriptor fits within TI_MAX_I2C_SIZE (16384 bytes), not against the destination buffer size. A malicious USB device can therefore set Size to any value up to 16377, causing a heap overflow of up to 16367 bytes when plugged into a host running this driver. valid_csum() is called after read_rom() and also iterates buffer[0..Size-1], compounding the out-of-bounds access. Fix by rejecting descriptors with unexpected length before calling read_rom(). [ johan: amend commit message; also check for short descriptors ]

Faiblesses (CWE)

  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat-SADP
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e168db91442b94e64fa82a7dd297983d48ea5cc0 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 561edb021486e6723d841926aa4b48097da06190 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cfd634f6dfd40c49a84f9bddc2867a80e2e2623a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d92f17af7097d10bdeddf26f66f34b354104b277 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b849f30d1a9e66aae6b715aaef66e427390cb081 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f96cf7bf9fbf15d7fcf0c91fec47ba8a010369ea
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