usb: typec: class: Fix NULL pointer access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.266.14.56.15In the Linux kernel, the following vulnerability has been resolved:
usb: typec: class: Fix NULL pointer access
Concurrent calls to typec_partner_unlink_device can lead to a NULL pointer dereference. This patch adds a mutex to protect USB device pointers and prevent this issue. The same mutex protects both the device pointers and the partner device registration.
From the CVE record · Linux
Concurrent calls to typec_partner_unlink_device in the Linux kernel USB Type-C class can cause a NULL pointer dereference. The input does not specify whether triggering this requires network or local access, authentication, or user interaction.
Anyone running the Linux kernel should check whether their version includes the fix; affected versions are not specified.