{"id":"CVE-2026-31729","aliases":["CVE-2026-31729"],"related":[],"kind":"vulnerability","state":"published","title":"usb: typec: ucsi: validate connector number in ucsi_notify_common()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: validate connector number in ucsi_notify_common()\n\nThe connector number extracted from CCI via UCSI_CCI_CONNECTOR() is a\n7-bit field (0-127) that is used to index into the connector array in\nucsi_connector_change(). However, the array is only allocated for the\nnumber of connectors reported by the device (typically 2-4 entries).\n\nA malicious or malfunctioning device could report an out-of-range\nconnector number in the CCI, causing an out-of-bounds array access in\nucsi_connector_change().\n\nAdd a bounds check in ucsi_notify_common(), the central point where CCI\nis parsed after arriving from hardware, so that bogus connector numbers\nare rejected before they propagate further.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: validate connector number in ucsi_notify_common()\n\nThe connector number extracted from CCI via UCSI_CCI_CONNECTOR() is a\n7-bit field (0-127) that is used to index into the connector array in\nucsi_connector_change(). However, the array is only allocated for the\nnumber of connectors reported by the device (typically 2-4 entries).\n\nA malicious or malfunctioning device could report an out-of-range\nconnector number in the CCI, causing an out-of-bounds array access in\nucsi_connector_change().\n\nAdd a bounds check in ucsi_notify_common(), the central point where CCI\nis parsed after arriving from hardware, so that bogus connector numbers\nare rejected before they propagate further.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: typec: ucsi: validar número de conector en ucsi_notify_common()\n\nEl número de conector extraído de CCI a través de UCSI_CCI_CONNECTOR() es un campo de 7 bits (0-127) que se utiliza para indexar en el array de conectores en ucsi_connector_change(). Sin embargo, el array solo se asigna para el número de conectores reportados por el dispositivo (típicamente 2-4 entradas).\n\nUn dispositivo malicioso o que funciona mal podría reportar un número de conector fuera de rango en el CCI, causando un acceso a array fuera de límites en ucsi_connector_change().\n\nAñadir una comprobación de límites en ucsi_notify_common(), el punto central donde se analiza el CCI después de llegar del hardware, para que los números de conector falsos sean rechazados antes de que se propaguen más.","source":"nvd"}],"published":"2026-05-01T14:14:28.868Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"git","introduced":"bdc62f2bae8fb0e8e99574de5232f0a3c54a27df","fixed":"f6dcbf2b024d55549959402f1db6c614e51d52cb","status":"affected"},{"type":"git","introduced":"bdc62f2bae8fb0e8e99574de5232f0a3c54a27df","fixed":"f4e608fe12b7ac6a4a57176ab0296bb5a110a078","status":"affected"},{"type":"git","introduced":"bdc62f2bae8fb0e8e99574de5232f0a3c54a27df","fixed":"98429e9ec89a5e3a204112dfaa2dbe6ca28493a0","status":"affected"},{"type":"git","introduced":"bdc62f2bae8fb0e8e99574de5232f0a3c54a27df","fixed":"d2d8c17ac01a1b1f638ea5d340a884ccc5015186","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"6.12.81","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"6.12.81"},{"status":"affected","introduced":"6.13","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f6dcbf2b024d55549959402f1db6c614e51d52cb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4e608fe12b7ac6a4a57176ab0296bb5a110a078","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98429e9ec89a5e3a204112dfaa2dbe6ca28493a0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2d8c17ac01a1b1f638ea5d340a884ccc5015186","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:24:39.973Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31729","url":"https://www.cve.org/CVERecord?id=CVE-2026-31729","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:23.764Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31729","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31729","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.355Z","epss":{"score":0.00134,"percentile":0.03125,"date":"2026-12-01T12:00:22.000Z"}}