platform/chrome: cros_ec_ishtp: Fix UAF after unbinding driver
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 26a14267aff218c60b89007fdb44ca392ba6122c · < 24a2062257bbdfc831de5ed21c27b04b5bdf2437| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
platform/chrome: cros_ec_ishtp: Fix UAF after unbinding driver
After unbinding the driver, another kthread `cros_ec_console_log_work` is still accessing the device, resulting an UAF and crash.
The driver doesn't unregister the EC device in .remove() which should shutdown sub-devices synchronously. Fix it.
From the CVE record · Linux
The Linux kernel cros_ec_ishtp driver can leave a console logging thread accessing the device after the driver is unbound, causing a use-after-free and crash. The input does not specify how an attacker could trigger the unbind, or whether authentication or user interaction is required.
Engineers running Linux kernels with the cros_ec_ishtp driver should check their affected versions; none are specified in the input.