CVE-2026-31729: usb: typec: ucsi: validate connector number in ucsi_notify_common()

Published May 1, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

The connector number extracted from CCI via UCSICCICONNECTOR() is a 7-bit field (0-127) that is used to index into the connector array in ucsiconnectorchange(). 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 ucsiconnectorchange().

Add a bounds check in ucsinotifycommon(), the central point where CCI is parsed after arriving from hardware, so that bogus connector numbers are rejected before they propagate further.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=5.5<6.12.81
Linux Linux kernel>=6.13<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6

Event History

May 1, 2026
CVE Published
via MITRE·02:14 PM
Data Sourced
via MITRE·02:14 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What systems are exposed to this issue?

Systems using the Linux kernel UCSI USB Type-C subsystem are exposed when a UCSI device can supply connector-change information. The issue arises because the device-reported connector number can exceed the number of connector-array entries allocated by the kernel.

2

What would an attacker or faulty device need to do?

The device must report a bogus, out-of-range connector number in the CCI notification. That value can then reach ucsi_connector_change() and be used as an array index unless the bounds-checking fix is present.

3

Is physical or local access required?

The CVSS vector lists local attack vector and low privileges, with no user interaction required. The provided description specifically identifies a malicious or malfunctioning UCSI device as the source of the malformed connector number.

4

What mitigation is available?

A patch is available that validates the connector number in ucsi_notify_common() and rejects invalid values before they reach downstream connector handling. No alternative mitigation is provided in the available data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203