platform/chrome: cros_ec_typec: Init mutex in Thunderbolt registration
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.18.307.0.77.1In the Linux kernel, the following vulnerability has been resolved:
platform/chrome: cros_ec_typec: Init mutex in Thunderbolt registration
cros_typec_register_thunderbolt() missed initializing the `adata->lock` mutex. This leads to a NULL dereference when the mutex is later acquired (e.g. in cros_typec_altmode_work()).
Initialize the mutex in cros_typec_register_thunderbolt() to fix the issue.
From the CVE record · Linux
The ChromeOS Type-C Thunderbolt registration code in the Linux kernel fails to initialize a mutex, causing a NULL dereference when the mutex is later acquired. The input does not establish whether an attacker can trigger this, or whether access or user interaction is required.
Teams running Linux kernels that include the affected cros_ec_typec code should check their systems; affected versions were not provided.