CVE-2026-31729

In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: validate connector number in ucsi_notify_common() The connector number extracted from CCI via UCSI_CCI_CONNECTOR() is a 7-bit field (0-127) that is used to index into the connector array in ucsi_connector_change(). However, the array is only allocated for the number of connectors reported by the device (typically 2-4 entries). A malicious or malfunctioning device could report an out-of-range connector number in the CCI, causing an out-of-bounds array access in ucsi_connector_change(). Add a bounds check in ucsi_notify_common(), the central point where CCI is parsed after arriving from hardware, so that bogus connector numbers are rejected before they propagate further.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: typec: ucsi: validar número de conector en ucsi_notify_common() El 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). Un 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(). Añ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.

07 May 2026, 16:02

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://git.kernel.org/stable/c/98429e9ec89a5e3a204112dfaa2dbe6ca28493a0 - () https://git.kernel.org/stable/c/98429e9ec89a5e3a204112dfaa2dbe6ca28493a0 - Patch
References () https://git.kernel.org/stable/c/d2d8c17ac01a1b1f638ea5d340a884ccc5015186 - () https://git.kernel.org/stable/c/d2d8c17ac01a1b1f638ea5d340a884ccc5015186 - Patch
References () https://git.kernel.org/stable/c/f4e608fe12b7ac6a4a57176ab0296bb5a110a078 - () https://git.kernel.org/stable/c/f4e608fe12b7ac6a4a57176ab0296bb5a110a078 - Patch
References () https://git.kernel.org/stable/c/f6dcbf2b024d55549959402f1db6c614e51d52cb - () https://git.kernel.org/stable/c/f6dcbf2b024d55549959402f1db6c614e51d52cb - Patch
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
CWE CWE-129

01 May 2026, 15:24

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-01 15:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-31729

Mitre link : CVE-2026-31729

CVE.ORG link : CVE-2026-31729


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-129

Improper Validation of Array Index