CVE-2026-53028

usb: typec: Fix error pointer dereference

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

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

usb: typec: Fix error pointer dereference

The variable tps->partner is checked for an error pointer and then if it is, it sends an error message but does not return and then immediately dereferenced a few lines below:

tps->partner = typec_register_partner(tps->port, &desc); if (IS_ERR(tps->partner)) dev_warn(tps->dev, "%s: failed to register partnet\n", __func__);

if (desc.identity) { typec_partner_set_identity(tps->partner); cd321x->cur_partner_identity = st.partner_identity; }

Add early return and fix spelling mistake in error message.

Detected by Smatch: drivers/usb/typec/tipd/core.c:827 cd321x_update_work() error: 'tps->partner' dereferencing possible ERR_PTR()

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 to before 19951118fb22b5ad512379ee64510fe0e2c40eb3Affected
  • 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 to before 9e31082f92c913d74fefb4e60cd0284e605ba3a3Affected
  • 82432bbfb9e83b7e81d04660fe129b99a29b2ac2 to before f2529d08fcb429ea01bb87c326342f41483f8b2fAffected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.