CVE Database›Document archive›CVE-2025-37986

CVE-2025-37986

kernel: usb: typec: class: Invalidate USB device pointers on partner unregistration

Loading…

Severity

Moderate

Red Hat Product Security

4.1

CVSS 3.1

Review impact separately from score.

Published · May 20, 2025

Updated · June 30, 2026

Description

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

usb: typec: class: Invalidate USB device pointers on partner unregistration

To avoid using invalid USB device pointers after a Type-C partner disconnects, this patch clears the pointers upon partner unregistration. This ensures a clean state for future connections.

Statement

A privileged local user with the ability to trigger repeated USB Type-C device connections and disconnections could potentially cause use-after-free access to a stale USB device pointer in the kernel. This bug is reachable only from privileged contexts, such as root or processes managing USB devices (e.g. udev or USB daemons).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE not specified