Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad and Kernel 5f73aa2cf8bef4a39baa1591c3144ede4788826e.
In the Linux kernel, the following vulnerability has been resolved: Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()" The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsi_unregister_connectors()") introduced a regression that caused NULL dereference at reading the power supply sysfs. It's a stale sysfs entry that should have been removed but remains with NULL ops. The commit changed the error handling to skip the entries after a NULL con->wq, and this leaves the power device unreleased. For addressing the regression, the straight revert is applied here. Further code improvements can be done from the scratch again.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.19, >=87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb <3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad, >=87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb <5f73aa2cf8bef4a39baa1591c3144ede4788826e | 3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad, 5f73aa2cf8bef4a39baa1591c3144ede4788826e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket