VDB

CVE-2026-31729

CVE-2026-31729 PUBLISHED

usb: typec: ucsi: validate connector number in ucsi_notify_common()

Reported by linux · Published May 1, 2026

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.

Affected products

VendorProductVersions
LinuxLinuxbdc62f2bae8fb0e8e99574de5232f0a3c54a27df, bdc62f2bae8fb0e8e99574de5232f0a3c54a27df, bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
LinuxLinux5.5, 0, 6.12.81
linuxlinux_kernel5.5, 5.5, 5.5
LinuxLinux*, *, *

Timeline

  • May 1, 2026 CVE Published
  • May 7, 2026 CVE Updated
  • May 18, 2026 EPSS Score (26 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (120 in total, the first dated here)
  • Jul 28, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (114 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31729
vulnetix vdb fixes CVE-2026-31729

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31729/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›