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

usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()

cd321x_update_work() passes a stack-allocated typec_partner_desc to
typec_register_partner() after initializing only usb_pd, accessory and
identity.

typec_register_partner() copies attach and deattach from the descriptor
into the partner. With those fields left unset, garbage function pointers
may be stored and later invoked from typec_partner_link_device() when a USB
device is linked to the port. Uninitialized pd_revision and usb_capability
similarly leak stack data through partner sysfs.

Zero-initialize the descriptor so optional callbacks remain NULL and the
remaining fields are zero.
Published: 2026-10-18
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local Kernel Code Execution
Action: Immediate Patch
AI Analysis

Impact

An uninitialized kernel data structure, typec_partner_desc, was passed to typec_register_partner without fully initializing its fields. This left function pointer members and other callbacks containing garbage stack data. When a USB device is later linked to the Type‑C port, the driver may invoke these uninitialized pointers, potentially executing arbitrary kernel code or leaking sensitive stack information through sysfs. The flaw thus enables a local attacker to gain kernel‑level execution or info‑leak capabilities.

Affected Systems

All Linux kernel builds that contain the cd321x driver before the patch – i.e. any release that did not include the commit that zero‑initializes typec_partner_desc – are susceptible. The issue was fixed in the kernel by ensuring all descriptor fields are set to zero before registration.

Risk and Exploitability

Based on the description, it is inferred that the flaw is triggered only when a USB device is physically connected to the system, indicating a local attack vector that requires physical or trusted USB access. The CVSS score is 6.8. The EPSS score indicates a low exploitation probability of less than 1% and the vulnerability is not listed in the CISA KEV catalog, indicating no documented exploits yet, but the severity of the bug warrants caution.

Generated by OpenCVE AI on October 23, 2026 at 21:58 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that zero‑initializes typec_partner_desc (commits 5414144e, 75dc6cb3, or 88c7e458) by upgrading to a kernel version that includes the fix
  • Rebuild and install the kernel with the updated driver if using a custom build
  • If immediate kernel replacement is not possible, disable or restrict USB Type‑C device support by removing the related driver modules or applying udev rules that prevent untrusted device connections

Generated by OpenCVE AI on October 23, 2026 at 21:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-665

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-665

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work() cd321x_update_work() passes a stack-allocated typec_partner_desc to typec_register_partner() after initializing only usb_pd, accessory and identity. typec_register_partner() copies attach and deattach from the descriptor into the partner. With those fields left unset, garbage function pointers may be stored and later invoked from typec_partner_link_device() when a USB device is linked to the port. Uninitialized pd_revision and usb_capability similarly leak stack data through partner sysfs. Zero-initialize the descriptor so optional callbacks remain NULL and the remaining fields are zero.
Title usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:25:12.754Z

Reserved: 2026-09-25T10:25:14.368Z

Link: CVE-2026-98759

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:29.700

Modified: 2026-10-19T10:19:40.017

Link: CVE-2026-98759

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98759 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T22:00:28Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer